For
Using PTW Exported DXF Files as External Reference Drawing
in AutoCAD
There are four types of documents in PTW that can be exported to DXF file format and opened in
AutoCAD. These documents consist of one-line diagrams, TCCs, schedules, and Reports.
Additionally, these PTW documents can be converted into AutoCAD Drawing (DWG) files and
used as an External Reference to be automatically updated in AutoCAD after being exported in
PTW.
PTW has two AutoCAD extension applications, PtwAcad.arx and PtwAcad2005.arx, used for
conversion of PTW generated DXF file to DWG files and XREF. The PtwAcad2005 application is
compatible with AutoCAD 2005 while PtwAcad is compatible with earlier versions of AutoCAD.
Please follow the instructions below to use this enhanced feature of PTW in AutoCAD
environment.
Installation
1. From the AutoCAD command line, type “appload”
2. A ‘Load/Unload Applications’ dialog appears.
3. Select PtwAcad2005 (AutoCAD 2005) or PtwAcad (earlier versions of AutoCAD) from the “bin”
folder of the PTW installed directory
Default PTW installation directory: C:\PTW32\bin\PtwAcad.arx
4. Press the ‘Load’ button on the dialog to load this application. You can also add it to the list of
automatically loaded applications each time you start up AutoCAD.
5. At the command line, you should see the message ‘PtwAcad.arx or PtwAcad2005.arx
successfully loaded’.
6. Exit the dialog.
Other Notes:
Modifying AutoCAD configuration file so that the extensions are loaded automatically
In earlier versions of AutoCAD, the initial application-loading file needed to be edited manually for
automatic loading. The following is a guideline for such a case. Consult the AutoCAD manual for
further information.
Methodology
Assuming you have properly installed the PTW extension application for AutoCAD:
“UpdateXref”
1. The current AutoCAD drawing will be scanned for external references (XREF).
2. Any XREF that is not ‘Up to date’ will be reloaded.
3. ‘Up-to-date’ is defined as an external reference to an AutoCAD drawing (.DWG) that has a
corresponding data exchange format (.DXF) file generated by PTW with an earlier last modified
timestamp.
4. If the .DXF file is older than the .DWG file, the .DWG is recreated from the .DXF file and
reloaded into the AutoCAD drawing XREF.
“DxfToDwg”
1. To create an XREF, a drawing file (.DWG) is referenced by the XREF command in AutoCAD.
2. The DXF files are created in the PTW environment but the .DWG files needed for XREF will be
created in AutoCAD .
3. The AutoCAD extension application supplied by PTW will scan for all .DXF files in a PTW
project directory and convert them into .DWG files.
4. Once converted, the .DWG files can be attached as XREF from within AutoCAD.