Eplan Platform API
EPLAN API / User Guide / API DataModel / API Pre-planning / StructureSegment
In This Topic
    StructureSegment
    In This Topic

    The  StructureSegment  class represents structure segment objects. They are used to represent a part of the project structure.

    C#
    Copy Code
    SegmentDefinition oSegmentDefinition = m_oTestProject.GetSegmentDefinition("Eplan.Base.StructureNode");
    StructureSegment oStructureSegment = StructureSegment.Create(m_oTestProject.SegmentDefinitions[0]) as StructureSegment;
    oStructureSegment.Name = "test1b";
    

     

     In the GUI, they are visible in Pre-planning navigator: