Polyline text

mszayet -  
 Le Korrigan -
how to convert text into a polyline in AutoCAD.
I tried express<text<explode text, but it doesn't provide a good solution because it creates sharp angles.
best regards

1 answer

  1. Le Korrigan
     
    Hello Mszayet.

    I believe it is impossible to do it automatically. I recently attended a month-long training on Autocad with an extremely skilled instructor (specialized in Autocad for 25 years, author of tutorials and training booklets for Gr.Eta.). I had this need for text made of polylines... After research, it turns out that it is necessary to go through the creation of shapes rather than converting the texts.

    Instead of working manually, if the volume of text is significant and you have Excel, I recommend having scripts written.

    Step 1: Define the necessary manipulations (in script) to draw each letter of the alphabet from the origin (0,0,0).
    Step 2: Define the offsets to consider based on the drawing scale of your letters, their respective positions in the word or phrase, the orientation of the text, etc.
    Step 3: Create the Excel document that will automatically formulate the corresponding script for the text you need based on an entry in Excel.
    Step 4: Copy and save the script output by Excel in a "notepad" under Windows (.txt). Then save it again, but this time with the ".scr" extension (which corresponds to Autocad scripts).
    Step 5: In Autocad, ribbon "Manage" > "Run script" > Indicate the ".scr" document. And that's it!

    The advantage of doing this with polylines rather than ordinary lines is that you can define and vary the thickness of the stroke through the script. When you have a lot of text to form, this is very useful.

    Good luck, and feel free to ask for clarification if needed.
    0