API Help
Eplan.EplApi.DataModel.Planning Namespace / PlanningSegment Class / AddLocalTemplate Method
Function definition from which a local template is created.

In This Topic
    AddLocalTemplate Method
    In This Topic
    Add new local template based on function definition.
    Syntax

    Parameters

    pFunctionDefinition
    Function definition from which a local template is created.

    Return Value

    Returns new template created based on passed function definition.
    Exceptions
    ExceptionDescription
    Thrown if parameter is null.
    Thrown when SegmentTemplate is assigned.
    Remarks
    If SegmentTemplate is assigned then local template are taken from specification and can't be changed.
    See Also