DRAW Reference Manual
Plot and Drawing Output
:
LIEXEC Command
: Configuration Files
Configuration Files
It is possible to control the format of the output using
configuration datasets
. The configuration dataset controls how the database information is to be mapped into the exported file.
•
Controls how DRAW graphics are to be grouped as Blocks or Group definitions.
•
Allows database attribute information to be exported from DRAW as AutoCAD Block or MicroStation Group attributes.
•
Enables database elements to be assigned to layers or levels.
The export application can be executed using the LIEXEC command.
Note:
When mappings of annotations to layers/levels are not controlled by the configuration, they are translated directly from DRAW Visual Layers.
LIEXEC only supports configurations defined in a .mac file. To load a configuration called ‘default_dxf’ from the folder specified in the environment variable %MyConfigFolder%, it is necessary to run the corresponding file as a macro:
$M”%MyConfigFolder%/default_dxf.mac”
Once loaded, multiple LIEXEC commands can use the configuration, without having to run the macro again.
The convention is that the configuration name is the same as the filename, but without the file type, and the filename should match the pattern *dxf.mac for DXF and DWG exports, and *dgn*.mac for DGN exports. For example: test_dxf.mac would be named test_dxf and is specified on the command line as 'test_dxf'
Note:
The .pmldat configuration files (as used by the Draft UI) cannot be used with LIEXEC directly. They can be loaded and used with the DRAW UI export, or converted to .mac files. Refer to
Converting .pmldat Files for use with LIEXEC
for further information.
A configuration file is made up of a series of switches and rules. The configuration options contain the BLOCK and SWITCH syntax, and control the content of the file produced. The options available are different for AutoCAD and Microstation.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.