EXPORT(BYCONFIG) Command
- Last UpdatedOct 30, 2025
- 1 minute read
The EXPORT(BYCONFIG) command supports the export of pictures using export config sets.
EXPORTBYCONFIG <ELEMENT> <TYPE> <CONFIGSET> <FILEPATH> <OVER>
<ELEMENT> is a reference to a Draw database element, such as CE for the current element or the name preceded by "/" for a specific named element.
The given element must correspond to a valid picture. For example, specifying a SHEE exports the entire sheet. Specifying a VIEW exports the SHEE containing the VIEW.
<TYPE> is one of:
-
/DXF export to AutoCAD DXF file.
-
/DWG export to AutoCAD DWG file.
-
/DGN export to Microstation DGN file.
-
/PDF export to a PDF file.
-
/IMAGE export the drawing to an image format depending on the settings specified in the config set.
-
/SVG export to an SVG vector image file.
-
/PLT export to an AVEVA plot file.
<CONFIGSET> is the name of a config set which defines the settings for export, as defined in the backstage export dialog. This must be enclosed in single quotes.
<FILEPATH> is the file path to which the exported drawing is saved. This must be preceded by a "/" character.
<OVERWRITE> when specified, any existing file at the provided file path is overwritten. If a file exists and OVER(WRITE) is not specified, export fails.
Example: EXPORT CE /DXF 'AVEVA' /C:\tmp\out.dxf OVER
The example exports the current element in DXF format using the default AVEVA config set.
Note:
If you are exporting a picture using the Draw functionality in Model, the full EXPORTBYCONFIG command must be used.
Example: EXPORTBYCONFIG CE /DXF 'AVEVA' /C:\tmp\out.dxf OVER