Hi Team,
Could someone please help me in setting Schematic Root while running Hierarchical - Main Line Layout Task on a Schematic Layer using ArcObjects .NET.
Below is the code I am using to run this Layout Task. However, I did not find how and where to set the Schematic Root.
pSchLayer.StartEditSchematicDiagram(true);
ISchematicAlgoMainLineTree pSchAlgoMainLnTree = new SchematicAlgoMainLineTreeClass();
pSchAlgoMainLnTree.Direction = esriSchematicAlgoDirection.esriSchematicAlgoLeftRight;
pSchAlgoMainLnTree.AbsoluteParameters = true;
pSchAlgoMainLnTree.Execute(pSchLayer, null);
pSchLayer.StopEditSchematicDiagram();
Thanks in advance!
With Regards,
Vara Prasad
Solved! Go to Solution.
ISchematicInMemoryFeatureNodeFlags interface has to be used to set the Root Node and End Node.
ISchematicInMemoryFeatureNodeFlags interface has to be used to set the Root Node and End Node.