Importing CAD Files

AGi32 is able to import CAD-created backgrounds in either DXF or DWG file formats. Three-dimensional surface information (3D Entities) can also be imported into AGi32 for ease in exchange of model information between AGi32 and other modeling programs.

CAD files are imported in layers that were defined when the original drawing was created. The user can import any or all of the layers. If desired, the user can combine all of the drawing entities into one layer and/or all the imported 3D entities into one object.

  1. CAD Viewer: Click the Show/Hide CAD Viewer button to display the CAD Viewer. It is not displayed by default. The CAD Viewer allows users to preview a drawing before importing. The CAD Viewer responds to layer selection while selecting layers to import as well as selecting layers for import mapping.
  2. Layer Selection: By default, all visible ("on" and "thawed") layers are selected; this option is called Smart Select. Alternatively, you may select individual layers (Ctrl-select) or click the Select All Layers button to select all of the layers.
  3. Units and Scaling: If AGi32 cannot absolutely identify the units in the imported CAD file, the current display units will be used, displayed between question marks.
  4. 3D Options: If the file contains 3D-surface information , you have several choices about how to handle these entities.
  5. Blocks: By default, AGi32 explodes all drawing and 3D-entity blocks into their original entity components. You may opt to maintain high- or low-level blocks instead.
  6. Import Text: Text entities are imported by default. To not import text, clear the check box adjacent to Import Text.
  7. Flatten Drawing Entities (recommended): This option allows you to change the Z coordinate of all drawing entities to one consistent value (the default value is 0). This option should only be applied to 2D drawings to avoid stray entities floating above or below the base layer. An alternative Z value for all drawing entities may also be specified.
  8. Group ALL Drawing Entities Into a Single Layer : By default, drawing entities are not grouped into a single layer; instead the original layer stratification is maintained. To group drawing entities into a single composite layer, select Group ALL Drawing Entities Into a Single Layer and specify a layer name.
  9. Click OK to begin the import process.
  10. AGi32 will present a series of progress bars to keep you informed of the import process and AGi32 database updating. At the end of the import process, an import summary is displayed with the tally of successfully (and unsuccessfully) imported drawing and 3D entities. Click OK again to finish the import process.

 

Import Mapping

If the CAD file is set up with meaningful Layers, you can automatically assign surface properties to every surface during the import process based on the CAD Layers (e.g., windows layer, doors layer, etc.). For more on Import Mapping, please see the help topic Importing CAD Files – Concepts.

Advanced Options

 

After Completing the Import Process and BEFORE Adding Anything to the Model

  1. Check Drawing Extents: If nothing appears on the screen, look at the coordinates in the lower left corner of the AGi32 Model Mode screen while moving the cursor around the extents of Model Mode. If the coordinates vary wildly and are large positive and/or negative values, then something was imported that is a long distance from the model/site itself. To locate and delete extraneous entities:
    1. On the main menu bar, click on [Tools > Resolve Extents].
    2. Select “Find Drawing/Object Entities Close to Minimum Extents” and then click “Ok.”
    3. If what appears on the screen is something that does not need to be in the model, delete it and then press the “Plan/Top View” button at the top of the AGi32 dialog.
    4. If nothing is visible, repeat Steps 1a-1c, above until the lower-left corner of the model/site appears. If the model/site appears but clicking the Plan/Top View button still results in nothing being visible, repeat Steps 1a-1c but this time choose the “Find Drawing/Object Entities Close to Maximum Extents” button to locate extraneous entities.
    5. Repeat the process described above until clicking the Plan/Top View button shows the model/site.

  1. Check Scaling: Use the Measure Distance Tool at the top of the AGi32 dialog to measure the distance across an entity with a known dimension (e.g., door, parking space, etc.) and evaluate whether it is the correct size. If it is the correct size, skip to the next step; if not, scrap the import and go back and determine whether the “Units Specified In CAD File” need to be changed or a Scaling Factor needs to be applied when importing the file.
  2. Check Drawing Coordinates: Look at the coordinates in the lower-left corner of the AGi32 Model Mode screen while moving the mouse around the extents of the imported model/site. If any portion of the model/site is located at coordinates outside of approximately +/- 10000 Feet or Meters, it is strongly recommended that the model’s Origin be moved to avoid future problems. To move the Origin:
    1. On the main menu bar, click on [Tools > Translate Origin] to initiate the moving of the Origin.
    2. If the model/site is extremely large, consider moving the Origin to a point in the approximate center of the model/site. If the model is not really large, move the Origin to wherever it makes sense, perhaps somewhere at the southwest corner of what is being evaluated. The goal here is to have everything in the model fall within the +/- 10000-Feet or -Meters coordinate range.
  3. Save the AGI file and move forward with the modeling process.

IMPORTANT NOTES:

 

Preparing DWG File for Import

Importing CAD Files containing 3D Geometry

Scaling Imported CAD Files