3D Drawing Preparation in Autocad

In order to prepare a 3D drawing follow the steps below:

  1. Create the required attributes in Autocad
  1. In Autocad type ATTDEF, the following form will open
_images/example.3d_autocad_drawing_preparation_1.png
  1. Check the Invisible mode and uncheck the Lock position mode
  2. Uncheck the Specify on-screen and leave the coordinates X:0, Y:0, Z:0
  3. In the Tag textbox, type the name of the attribute (e.g. EXTERNAL.REFERENCE.3D.DRAWING.TAG)
  4. Press OK button
  5. Repeat steps a – e for each attribute to be created
  1. Create blocks with attributes
  1. In Autocad type BLOCK, the following form will open
_images/example.3d_autocad_drawing_preparation_2.png
  1. Type the block name (preferred to be the object component unique ID)
  2. Click on Select objects
  3. Select the attributes created in step 1
  4. Select the object required
  5. Press OK button
  1. Fill out the attributes values. The value will be filled with the unique identifier that will be used by NEXUS IC
  2. Repeat steps 1 – 3 for each object in the Autocad drawing

The above steps could be time consuming, therefore an AUTOLISP (one of the Autocad scripting languages) has been developed to automate the attribute and block creation as well as the attributes value population. You will need to download the AUTOLISP file from here.

This file can be used to automatically do the steps for creating a 3D drawing using Autocad. The steps to use the AUTOLISP are as follow:

  1. Open the drawing in Autocad
  2. Go to the Manage tab and click on Load Application
  3. Select the “NEXUS_REF.lsp” file
  4. Press the Load button
  5. Press the Close button
_images/example.3d_Drawing_Setup_in_Autocad.png
  1. In the command line type the following command: (NEXUS_REF)

In order to use this AUTOLISP, it is required that each object in the drawing to be on a separate layer. These layers should be named as the external reference name (e.g. Leg_B1). The script will do the following:

  1. Create attribute with the name “EXTERNAL.REFERENCE.3D.DRAWING.TAG”
  2. Create a block for one object, setting the block name to be the same as the object’s layer name
  3. Populate the attribute value with the object’s layer name
  4. Loop on all the objects and repeat steps 1 - 3

You can download a sample 3D drawing from here.

This sample Autocad drawing can be used in conjunction with the Autoslip file for further clarification.