top of page

GstarCAD Tips & Tricks - 24: Make a multicolored line entity or with embedded text

How to make a multicolored line entity or with embedded text in GstarCAD ?


Although it may sound impossible, you can draw multicolored lines/polylines in GstarCAD.


MLINE 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 linetypes, e.g. DASHED and DASHED2 (you may need to Load them first) - for real-life applications you will probably need to define your own linetypes. Save the new Mline style.



Now use the MLINE command to draw a polyline using this new mlstyle - it has alternating green/red colors! You can use the same approach to define even three or more colors.