Eplan Platform API
EPLAN API / API Reference / Actions / export3d
In This Topic
    export3d
    In This Topic
    Action to export installation spaces in STEP format.
    

    Parameter Description

    TYPE

    Type of task to be performed by the action:
    STEPINSTALLATIONSPACES: Export installation spaces to STEP format. 
    

    PROJECTNAME

    Project name with full path (optional).
    If not entered, the selected project is used when the action is called from GUI (like from a script or ribbon bar). 
    If called from the windows command line, the PROJECTNAME must be set or the ProjectAction must be used first (see also "ProjectAction"), otherwise an exception is thrown (see also "System.ArgumentException").
    

    INSTALLATIONSPACENAME

    Name of the InstallationSpace to be exported. This parameter is only effective
    with the STEPINSTALLATIONSPACES value of the TYPE parameter.
    

    INSTALLATIONSPACENAMEn

    Names of the InstallationSpaces to be exported (optional), where n is a number e.g. /INSTALLATIONSPACENAME1:BR1 /INSTALLATIONSPACENAME2:BR2 /INSTALLATIONSPACENAME:BR3 etc. 
    These parameters are only effective with the STEPINSTALLATIONSPACES value of the TYPE parameter.
    

    STRUCTURE

    Structure indetifier of the InstallationSpace to be exported (optional). 
    This parameter is only effective with the STEPINSTALLATIONSPACES value of the TYPE parameter.
    

    STRUCTUREn

    Structure indetifiers of the InstallationSpaces to be exported (optional), where n is a number e.g. /INSTALLATIONSPACENAME1:BR1 /STRUCTURE1:=EB3+ET1 /INSTALLATIONSPACENAME2:BR2 /STRUCTURE2:=EB3+ET2 etc. 
    These parameters are only effective with the STEPINSTALLATIONSPACES value of the TYPE parameter.
    

    DESTINATIONPATH

    Target directory. Relevance of this parameter.
    For STEPINSTALLATIONSPACES: Directory where the step files are stored. If this directory does not exist yet, it is created.
    

    EXPORTSCHEME

    Scheme for STEPINSTALLATIONSPACES export (optional). If this parameter does not exist or is empty (""), the most
    recently used STEPINSTALLATIONSPACES export scheme is taken. This parameter is only effective with the STEPINSTALLATIONSPACES value of the
    TYPE parameter.
    

    SEPARATEFILES

    Relevance of this parameter.
    For STEPINSTALLATIONSPACES: 
    If 1 then each first level child will be exported in separate file. 
    If 0 then names of files are generated from properties INSTALLATIONSPACE_FULLNAME. 
    If true then property FUNC_FULLNAME is added at the end of file name.
    

    Remarks
    If passed INSTALLATIONSPACENAME is not unique in project and STRUCTURE parameter was not specified action will export all InstallationSpaces with the same INSTALLATIONSPACENAME.
    When an error occurs during an export operation, a "BaseException" is thrown.
    

    Example
    Export a installation spaces BR1 and BR2 to STEP.
    
    export3d /TYPE:STEPINSTALLATIONSPACES /PROJECTNAME:C:\Projects\EPLAN\EPLAN_Sample_Project.elk /INSTALLATIONSPACENAME1:BR1 /INSTALLATIONSPACENAME2:BR2 /DESTINATIONPATH:C:\temp\step_export
                    
    Export a installation spaces BR1 and BR2 to STEP with specified structure identifiers.
    
    export3d /TYPE:STEPINSTALLATIONSPACES /PROJECTNAME:C:\Projects\EPLAN\EPLAN_Sample_Project.elk /INSTALLATIONSPACENAME1:BR1 /STRUCTURE1:=EB3+ET1 /INSTALLATIONSPACENAME2:BR2 /STRUCTURE2:=EB3+ET2 /DESTINATIONPATH:C:\temp\step_export