API Help
Eplan.EplApi.DataModel Namespace / Function Class / SetPlanningSegment Method
Eplan.EplApi.DataModel.Planning.PlanningSegment which will be assigned to function, or null to remove planning object from function.
If true and this is main function then article reference from planning object is written to function as main article.

In This Topic
    SetPlanningSegment Method (Function)
    In This Topic
    Syntax

    Parameters

    pPlanningSegment
    Eplan.EplApi.DataModel.Planning.PlanningSegment which will be assigned to function, or null to remove planning object from function.
    bWriteArticleRefToFunction
    If true and this is main function then article reference from planning object is written to function as main article.
    Exceptions
    ExceptionDescription
    Thrown when implementation of requested interface isn't found.
    Thrown when object of type Eplan.EplApi.DataModel.Planning.StructureSegment is being assigned to function.
    See Also