Disable Polylines in PDMS export to AutoCAD

 
Parents
  • Hello All,

    PDMS Draft seems to have trouble exporting AutoCAD. Using the configurable DWF/DWG method, PDMS exports drawings as Polylines, which are not consistent. For example, PDMS cannot export arcs as polylines. In this regard, I have been trying to disable Polylines, when exporting from PDMS Draft to AutoCAD. I have tweaked the option switch PrimitiveThickness 'OFF but it does not make any difference, as the polylines still come through.

    Please find below my Configureable DWF/DWG macro.

    Can I get some help please? Many thanks.

    Regards


    $* $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 /export
    switch USELAYERRULES 'ON'
    switch PrimitiveThickness 'OFF'
    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 'ON'
    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 'ON'
    switch HeaderFileName '%PDMSEXE%/draft_dxf_li.dxf'
    switch OutputFileName 'C:/PDMS/Draft/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'

    exit
    $P Loadable Image ConfigData 'full_dxf' - loaded...
Reply
  • Hello All,

    PDMS Draft seems to have trouble exporting AutoCAD. Using the configurable DWF/DWG method, PDMS exports drawings as Polylines, which are not consistent. For example, PDMS cannot export arcs as polylines. In this regard, I have been trying to disable Polylines, when exporting from PDMS Draft to AutoCAD. I have tweaked the option switch PrimitiveThickness 'OFF but it does not make any difference, as the polylines still come through.

    Please find below my Configureable DWF/DWG macro.

    Can I get some help please? Many thanks.

    Regards


    $* $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 /export
    switch USELAYERRULES 'ON'
    switch PrimitiveThickness 'OFF'
    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 'ON'
    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 'ON'
    switch HeaderFileName '%PDMSEXE%/draft_dxf_li.dxf'
    switch OutputFileName 'C:/PDMS/Draft/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'

    exit
    $P Loadable Image ConfigData 'full_dxf' - loaded...
Children
No Data