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.

As GstarCAD allows defining complex linetypes containing text, you can even make linetypes (mlines) with embedded text in a different color than the line (e.g. line in a BYLAYER color and text always in blue). For this you need to define one complex linetype containing text and almost no lines (e.g. only dots) plus an appropriate dashed linetype with spaces for the text

.


Discover more from Gstarsoft's Blog

Subscribe to get the latest posts sent to your email.

  • GstarCAD Blog

    www.gstarcad.net

    Related Posts

    What Is a DWG File? An Easy Guide for CAD Beginners

    You have learned what CAD is and tried drawing a few lines, adding dimensions or working with layers. Now where does that drawing go when you save it? In many…

    What’s New in GstarRender: AI Architectural Visualization from Concept to Video

    GstarRender’s latest update gives architects and designers more ways to turn early ideas into compelling design presentations. The new GstarRender V3 model in Explore combines design elements from multiple references;…

    Leave a Reply

    Don't Miss out

    What Is a DWG File? An Easy Guide for CAD Beginners

    • October 30, 2026
    What Is a DWG File? An Easy Guide for CAD Beginners

    What’s New in GstarRender: AI Architectural Visualization from Concept to Video

    • October 29, 2026
    What’s New in GstarRender: AI Architectural Visualization from Concept to Video

    GstarCAD Deep Dive: What’s New in Batch Plotting for 2027?

    • October 20, 2026
    GstarCAD Deep Dive: What’s New in Batch Plotting for 2027?

    Old Factory Renovation with AI Rendering: Reimagine Industrial Buildings with GstarRender

    • October 15, 2026
    Old Factory Renovation with AI Rendering: Reimagine Industrial Buildings with GstarRender

    GstarCAD Deep Dive: What Really Happens Inside a CAD Block?

    • September 29, 2026
    GstarCAD Deep Dive: What Really Happens Inside a CAD Block?

    GstarCAD Deep Dive: How Multiple Top-Level Windows Change Multi-Drawing Workflows

    • September 23, 2026
    GstarCAD Deep Dive: How Multiple Top-Level Windows Change Multi-Drawing Workflows

    Discover more from Gstarsoft's Blog

    Subscribe now to keep reading and get access to the full archive.

    Continue reading