Google Gemini says I should be able to get a reference to a Trace Network using the following code.
TraceNetwork traceNetwork = gdb.OpenDataset<TraceNetwork>("MyNetwork");
(see below)
I don't see "TraceNetwork" as a valid definition for a geodatabase object when I try this. Am I missing something, or is there another way to do this?
Thx,
Ed
Solved! Go to Solution.
Hi,
Every AI agent warns: "The AI can be wrong, so double-check the answers." No matter what AI agent/model do you use, results with ArcGIS Pro API usually too far from reality. Ask the AI not to fantasize if it doesn't know. Sometimes it helps. Tune Copilot with custom instructions to get more accurate results.
Check primary sources as ArcGIS Pro API reference, ArcGIS Pro SDK community samples and other content supplied by Esri.
And check your previous question in ArcGIS Pro SDK Community. One of copilot AI models could be Gemini, so practically no matter what you ask Copilot or Gemini results are the same: No TraceNetwork object in ArcGIS Pro SDK:
Hi,
Every AI agent warns: "The AI can be wrong, so double-check the answers." No matter what AI agent/model do you use, results with ArcGIS Pro API usually too far from reality. Ask the AI not to fantasize if it doesn't know. Sometimes it helps. Tune Copilot with custom instructions to get more accurate results.
Check primary sources as ArcGIS Pro API reference, ArcGIS Pro SDK community samples and other content supplied by Esri.
And check your previous question in ArcGIS Pro SDK Community. One of copilot AI models could be Gemini, so practically no matter what you ask Copilot or Gemini results are the same: No TraceNetwork object in ArcGIS Pro SDK: