API Help
Eplan.EplApi.DataModel.Planning Namespace / SegmentDefinition Class / Create Method
Identifying name of the segment definition. Can't be null or start with 'Eplan.'.
Parent of this new segment definition. Can't be null.

In This Topic
    Create Method (SegmentDefinition)
    In This Topic
    Creates SegmentDefinition object.
    Syntax

    Parameters

    strIdentifyingName
    Identifying name of the segment definition. Can't be null or start with 'Eplan.'.
    pParent
    Parent of this new segment definition. Can't be null.
    Exceptions
    ExceptionDescription
    Thrown if any of parameters is null.
    Thrown if any of parameters is is invalid.
    Thrown when object cannot be created.
    Remarks
    Name of segment definition identifies the segment across the project. It has to be a non-zero string which has to contain a char: '.' and can't start with a digital. User-defined segment definition can't start also with text: 'Eplan.'.
    See Also