Parameters |
Description |
TYPE |
Type of task that the action is to perform: |
PROJECTNAME |
Project name with complete file path. |
IMPORTFILE |
File path and name. Meaning of this parameter for the values of the TYPE parameter: |
SOURCEPATH |
Directory containing the DXF / DWG files. Only applies for the value DXFDWGFILES of the TYPE parameter. |
DESTINATIONPATH |
Target directory in which the imported projects and macros are saved. Only applies for the value DXFDWGFILES of the TYPE parameter. |
IMPORTSCHEME |
Name of the DXF / DWG import scheme (only name without full file path) (optional). Default value: most recently used scheme. If this parameter is not available or empty (""), then the most recently used scheme is used. Only applies to the following values of the TYPE parameter: |
PAGENAME |
Name of the page in which the CAD drawing is to be inserted. Only applies to the values DXFPAGE and DWGPAGE of the TYPE parameter. |
XSCALE |
Scaling in X direction (optional). Default value: |
YSCALE |
Scaling in Y direction (optional). Default value: |
XOFFSET |
Moving in X direction (optional). Default value: |
YOFFSET |
Moving in Y direction (optional). Default value: |
Import EPJ project:
import /TYPE:PXFPROJECT /IMPORTFILE:C:\Projects\DEMO_D.epj /PROJECTNAME:C:\Projects\EPLAN\Imported_DEMO_D.elk
Import DXF / DWG drawings into macros:
import /TYPE:DXFDWGFILES /PROJECTNAME:C:\Projects\EPLAN_Sample_Project.elk /SOURCEPATH:C:\Projects\DXF_DWG /DESTINATIONPATH:D:\Macros
Insert DXF / DWG drawing in a page:
import /TYPE:DWGPAGE /PROJECTNAME:C:\Projects\EPLAN\EPLAN_Sample_Project.elk /PAGENAME:=EB3+ET1/2 /IMPORTFILE:C:\Projects\EPLAN\DXF_DWG\pline_1.dwg /XSCALE:0.5 /YSCALE:0.5 /XOFFSET:100.0 /YOFFSET:100.0