I don't know if I am being stupid but I seriously can't find any information on configuring the DWG/DXF export from E3D Draw?
Does anyone know where this is controlled? Because its not exporting the correct linetypes/lineweights for Views. The layers set at the sheet level are fine but there's an issue with the export of the representation rules etc.
E3D Draw will probably have a GUI for that in the near future as for PDMS Draft.
For the time being you need to use the Command Line.
In there you could type something like:
I would like to export from E3D to dxf/dwg but in AutoCad I need to have layers names as same as Zones names in PDMS. It was possible in Draft with dra-dxf-full.
I think it must be possible to setup configurable dxf/dwg file but currently I don’t know what shall be switched on and what off.
Mike
$* $Id: full_dxf.mac,v 1.4 2000/11/08 14:35:43 mjt Exp $
$* Should correspond to UI 'full' configuration (PDMSUI/dflts/dra-dxf-full.pmldat)
dlicon /full_dxf
switch USELAYERRULES 'ON'
switch LAYERDEFAA 'PipeLayer|Yellow,CONTINUOUS'
switch PrimitiveThickness 'ON'
switch ViewNumberPrefix 'ON'
switch LayerZone 'ON'
switch LayerSite 'ON'
switch LayerBack 'ON'
switch LayerOlay 'ON'
switch LayerNote 'ON'
switch LayerLaye 'ON'
switch FontMapping 'ON'
switch LinetypeMapping 'ON'
switch ColourMapping 'ON'
switch IncludeZCoordinates 'OFF'
switch GraphicsOnlyDXF 'OFF'
switch EntityAcDbMarkers 'ON'
switch NestedBlocks 'ON'
switch BlockBack 'ON'
switch BlockOlay 'ON'
switch BlockSymb 'ON'
switch BlockFill 'ON'
switch BlockGraphicFile 'ON'
switch GroupDims 'ON'
switch GroupNote 'ON'
switch GroupVnot 'ON'
switch GroupFrame 'ON'
switch GroupGlab 'ON'
switch GroupSlab 'ON'
switch GroupBlocks 'OFF'
switch FontFilePath 'OFF'
switch IncludeDXFHeaderEntities 'OFF'
switch HeaderFileName '%PDMSEXE%/draft_dxf_li.dxf'
switch OutputFileName '%PDMSUSER%/output.dxf'
switch IgnoreBlockRules 'OFF'
switch IgnoreOODErrs 'OFF'
switch ScaleFactor '1.0'
block all hvac, include name
block all rest, include name
block all pipe, include name
block all equi, include name
block all stru, include name
LAYER all PIPE, 'PipeLayer'
Can you explain it in more details? you mean that we can export from the command line? i copied your line but nothing happens... i really would appreciate your clarify.
Does anyone have the "graphics_dxf.mac" that E3D is suppose to include (minimum data in the DXF)? My installation only has the "full_dxf.mac" and the "default_dxf.mac" files.
I then do
LIEXEC /Draft_DXF_LI 'DXFOUTR12' CONFIGDATA 'graphics_dxf' OUTPUTFILENAME 'c:\temp\TEST.DXF' with the output below
Rule 1 : SWITCH USELAYERRULES OFF
Rule 2 : SWITCH PRIMITIVETHICKNESS OFF
Rule 3 : SWITCH VIEWNUMBERPREFIX OFF
Rule 4 : SWITCH LAYERZONE OFF
Rule 5 : SWITCH LAYERSITE OFF
Rule 6 : SWITCH LAYERBACK OFF
Rule 7 : SWITCH LAYEROLAY OFF
Rule 8 : SWITCH LAYERNOTE OFF
Rule 9 : SWITCH LAYERLAYE OFF
Rule 10 : SWITCH FONTMAPPING ON
Rule 11 : SWITCH LINETYPEMAPPING ON
Rule 12 : SWITCH COLOURMAPPING ON
Rule 13 : SWITCH INCLUDEZCOORDINATES OFF
Rule 14 : SWITCH GRAPHICSONLYDXF ON
Rule 15 : SWITCH ENTITYACDBMARKERS OFF
Rule 16 : SWITCH NESTEDBLOCKS OFF
Rule 17 : SWITCH BLOCKBACK OFF
Rule 18 : SWITCH BLOCKOLAY OFF
Rule 19 : SWITCH BLOCKSYMB OFF
Rule 20 : SWITCH BLOCKFILL OFF
Rule 21 : SWITCH BLOCKGRAPHICFILE OFF
Rule 22 : SWITCH GROUPDIMS OFF
Rule 23 : SWITCH GROUPNOTE OFF
Rule 24 : SWITCH GROUPVNOT OFF
Rule 25 : SWITCH GROUPFRAME OFF
Rule 26 : SWITCH GROUPGLAB OFF
Rule 27 : SWITCH GROUPSLAB OFF
Rule 28 : SWITCH GROUPBLOCKS OFF
Rule 29 : SWITCH FONTFILEPATH OFF
Rule 30 : SWITCH INCLUDEDXFHEADERENTITIES OFF
Rule 31 : SWITCH IGNOREBLOCKRULES ON
Then an Error pops up with details as follows:
Error in the application.
Object reference not set to an instance of an object.
Severe serialization error occurred, operation aborted
Okay, I just needed to add the following two lines
switch HeaderFileName '%AVEVA_DESIGN_EXE%/draft_dxf_li.dxf'
switch OutputFileName '%AVEVA_DESIGN_USER%/output.dxf'
And it now runs. But, I still have INSERTs in the ENTITY Section of the DXF that I don't want. I've tried running it with SWITCH IGNOREBLOCKRULES OFF and I still get BLOCKs.
Grrrhr. E3D is beginning to bug me.
Oh as an extra "Feature", the LIEXEC command now shows a progress bar just like the PLOT command. AEVEA says this progress bar can not be turned off. How nice.