API Help
Eplan.EplApi.HEServices Namespace / PrePlanningService Class / ImportSegmentTemplates Method
Project to which segment template are imported. Can't be null.
Full file name of source file. Can't be null or empty.

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

    Parameters

    pProject
    Project to which segment template are imported. 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