DWG reference model plug-in configuration settings

Tekla Structures
Modified: 12 Dec 2022
2025
Tekla Structures

DWG reference model plug-in configuration settings

The settings in the DWG reference model plug-in configuration file dwgplugin.config are described below.

Note:

The advanced settings in dwgplugin.config do not normally need to be changed, but in some scenarios, things like very large radius arcs can end up with the generated straight line segments not small enough for the user's needs, and adjusting these settings can help. The dwgplugin.config file is located in the ..\bin\plugins\referenceplugins\dwg\ folder, and you might need administrator rights to access the file.

Example of the configuration file:

<?xml version="1.0" encoding="UTF-8"?>
<tsplugin version="1" inproc="false" extensions=".dwg|.dxf">
  <hostenv>
  </hostenv>
  <configuration>
  </configuration>
  <settings>
    <acistesselation>15</acistesselation> <!-- degrees -->
    <largecircledelimiter>10000</largecircledelimiter> <!-- in dwg units -->
    <linesinlargecircle>256</linesinlargecircle>
    <linesinsmallcircle>32</linesinsmallcircle>
    <externalGUID>spatialHash</externalGUID>
    <!-- Single shapes larger than this will be excluded. Units are in model units. Set to 0 to disable. -->
    <maximumsize>1000000</maximumsize>
  </settings>
</tsplugin>

The settings used in the configuration file are described below:

Setting Description
acistessellation This setting may or may not do anything depending on the plug-in version - in earlier versions it configures the tessellation density of the solids.
largecircledelimiter Defines the radius of a circle that is then considered to be a large circle w.r.t. the parameters LinesInSmallCircle and LinesInLargeCircle. A circle radius that is equal to or greater than this value will be treated as a large circle. This value is in dwg units.
LinesInSmallCircle Sets the number of tessellation lines in the circle (with a 'small' radius) that an arc represents. This is then used when tessellating the arc into straight line segments. Valid range is 3 to 10000.
LinesInLargeCircle Sets the number of tessellation lines in the circle (with a 'large' radius) that an arc represents. This is then used when tessellating the arc into straight line segments. Valid range is 3 to 10000.
externalGUID Configures the style of the id attached to parts. This parameter should not be changed.
maximumsize Single shapes larger than the value you specify will be excluded. Units are in model units. Set to 0 to disable.
Was this helpful?
Previous
Next