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