Hi @Japhy.
Thanks again for digging into this.
Here is my summary of the purpose of the tool and the desired functionality:
Line colour to Lineweight conversion tool: purpose of the tool and hoped-for functionality
Background:
Lineweight is one of the key aspects of how technical drawings communicate.
As far as I know Autocad has always allowed users to control line weight by line colour, using a ācolour dependant plot style tableā, also known as a āCTBā file. This harks back to the days of hand drafting, where different weight pens would often be colour coded for ease of identification. Colour dependant plot styles arenāt the only way to control lineweights in AutoCad, but they have the advantage of allowing the user to immediately āseeā what lineweight any given line or set of lines is going to print at without consulting the properties panel.
The Purpose of the Tool
In my view facilitating more seamless compatibility between Rhino and AutoCad is key to enabling/encouraging the wider adoption of Rhino in built environment professions. AutoCad, AutoCadLT and other AutoCad family software is still widely used in built environment, and .dwg files remain a common ā often still the default - format for the exchange of drawings between different consultants.
The absence of a ācolour dependant plot styleā functionality in Rhino is one of the compatibility issues anyone seeking to replace AutoCad with Rhino, or work between AutoCad and Rhino, is likely to encounter. This is an issue at both the import and export ends of the workflow in Rhino:
When importing an AutoCad file where a CTB standard has been used into Rhino, the lineweight information is effectively lost. In order to gain control of lineweights for printing I will need to (i) manually reassign lineweights to the imported linework, and (ii) change the colours of the linework to avoid printing a drawing with a load of lurid line colours! This can be a relatively time-consuming process.
At the export end of things, when exporting a .dwg from Rhino, there may be the expectation that the .dwg will conform to a CTB standard. This currently necessitates manually (i) stripping lineweights assigned to linework by layer or by object and (ii) (re)assigning line colours to linework, either in Rhino or in AutoCad.
Desired Functionality of the Tool
The tool should enable efficient conversion between line colour and lineweight and, in the other direction, conversion between lineweight and line colour.
The tool needs to allow customisation of the āplot styleā i.e. customisation of the lineweights assigned to different colours and vice versa.