API Help
Eplan.EplApi.EServices Namespace / SubProjectsCollection Class / FileOff Method

In This Topic
    FileOff Method
    In This Topic
    Creates subproject, i.e. file it off from the project.
    Syntax
    public void FileOff( 
       SubProject pSubProject
    )
    public:
    void FileOff( 
       SubProject^ pSubProject
    ) 

    Parameters

    pSubProject
    Exceptions
    ExceptionDescription
    Thrown if subproject is in incorrect state and export is not possible.
    Thrown when parameter is null.
    Remarks
    Subproject can be exported only if SubProject.IsFileOffPossible is true. After calling this method source Project object becomes invalid. Valid Project object can be obtained using ProjectManager::CurrentProject or ProjectManager::OpenedProjects property.
    See Also