Eplan Platform API
Eplan.EplApi.HEServices Namespace / PrePlanningService Class / ImportSegmentDefinitions Method
Project to which segment definitions are exported. Can't be null.
Full file name of source file. Can't be null or empty.

In This Topic
    ImportSegmentDefinitions Method
    In This Topic
    Imports segment definitions from file to project.
    Syntax
    public bool ImportSegmentDefinitions( 
       Project pProject,
       string strFileName
    )
    public:
    bool ImportSegmentDefinitions( 
       Project^ pProject,
       String^ strFileName
    ) 

    Parameters

    pProject
    Project to which segment definitions are exported. Can't be null.
    strFileName
    Full file name of source file. Can't be null or empty.

    Return Value

    Returns true if import is successful.
    Exceptions
    ExceptionDescription
    Thrown when parameter pProject is a null value.
    Thrown when strFileName of null or empty.
    See Also