Issue
How to use AutoCAD layout in TGML Graphic
Product Line
TAC Vista
Environment
- Vista 5.1.9 and earlier versions of Vista 5
- TGML Graphic
- AutoCAD
Cause
Sometimes it is necessary to use the AutoCAD layout in TGML graphic, for example, to use the plant layout as a background. The official support for importing AutoCAD files was removed early in the life of TGML. It can’t be guaranteed that EVERY file will import without a problem, so it is an unsupported feature.
Resolution
The following steps need to be followed:
- Open the drawing in AutoCAD
- Save as .DXF
- Open TGML Editor
- File Open the .DXF
- A screen should pop up saying converting DXF to SVG followed by converting SVG to TGML
It is recommended to use the "Create path" command in the Object window in TGML for the converted graphic. Because the response speed of the computer will be very slow if used without this action.
Note: Line widths and text will be in disorder because they are not imported along with the object.
If the DXF file fails to import, here are some steps to try:
- Move every object in AutoCAD to a single layer
- Delete all unused layers in AutoCAD
- "Explode" complex objects in AutoCAD