Hello,
I have a workbench that converts GIS data to an AutoCAD Map 3D object data file. In this workbench, I’m creating new layers that don’t exist in the template file being used, and would like to set their default lineweight of these new layers to “Default” or “ByLayer”.
I am able to successfully define an “autocad_lineweight” attribute in the workbench and set it equal to -3 or -1 and the GIS line features that are translated receive the correct lineweight value.
However, the layers themselves do not. The layer default lineweight appears to be controlled by the “Default Lineweight” parameter in the writer feature type. Unfortunately, there doesn’t appear to an option to select -3 or -1.

Additionally, attempting to set that parameter to the previously defined attribute leads to a failure w/the following messages (xyz is the path & file name of the output):
- AutoCAD Writer: An error occurred for dataset ‘xyz’ in function RealDWGWriter::checkToCreateDynamicObjectDataTable. Unknown exception thrown. Aborting method
- AutoCAD Writer: An error occurred for dataset 'xyz', in function RealDWGWriter::createDynamicLayer. Unknown exception thrown. Aborting method
Am i missing something or is there really no way to set the layer default lineweight to “Default” or “ByLayer”?
