DWG DIM

Last modified by Linus Karlsson on 2018/09/03 15:02

The default selection of dimension lines can also be customized in Standard Admin by using variables DWGDIMELEV/DWGDIMPLAN and DWGDIMELEVPLACING/DWGDIMPLANPLACING. These variables are made up of numbers where each dimension lines is represented by a number as follows:

  • Opening size and location within elevation = 1
  • Wall size and gap = 2
  • Opening size and location within walls = 8
  • Total = 16

For setting the default selection of dimension lines, set variable DWGDIMELEV/DWGDIMPLAN to the sum of selected dimension lines, for example if you want dimension lines “Opening size and location within elevation”, “Wall size and gap”, and “Opening size and location within walls” to be selected as default, set variable DWGDIMELEV to 1 + 2 + 8 = 11. Set the placing order between the dimension lines by setting variable DWGDIMELEVPLACING/DWGDIMPLANPLACING to a semicolon separated string with the order of the dimension line numbers. For example, if you want the following order for your dimension lines Opening size and location within elevation, Wall size and gap and Opening size and location within walls the variable DWGDIMELEVPLACING should be set to 1;2;8

This variable will be added under Variables in Standard Admin. AutoCAD needs to be refreshed before the change will affect your drawings.

VariableShort descriptionTypeExample calueDefault value
DWGDIMELEVSelection - elevation0A number 
DWGDIMELEVPLACINGPlacing - elevation0A string of numbers 
DWGDIMPLANSelection - plan0A number 
DWGDIMPLANPLACINGPlacing - plan0A string of numbers