Although it may sound impossible, you can draw multicolored lines/polylines in GstarCAD.
functionality can be used for this. Use the MLSTYLE command to define a new multiline style and define (element properties) two line elements, both with the offset equal to 0. Set different colors to them (e.g. green and red). Use different , e.g. DASHED and DASHED2 (you may need to Load them first) – for real-life applications you will probably need to define your own . Save the new style.
Now use the command to draw a polyline using this new – it has alternating green/red colors! You can use the same approach to define even three or more colors.
As GstarCAD allows defining complex containing text, you can even make () with embedded text in a different color than the line (e.g. line in a BYLAYER color and text always in blue). For you need to define one complex containing text and almost no lines (e.g. only dots) plus an appropriate dashed with spaces for the text
.
Join our discord community!
Connect with CAD experts, share technical insights, and get real-time support from the global community.
Join Discord Server