TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Dave M on January 20, 2021, 01:19:11 PM
-
Wondering if anyone has written a routine to convert a dtext or string to individual letters while keeping the letter spacing?
Thanks
-
Wondering if anyone has written a routine to convert a DTEXT/s or string to individual letters while keeping the letter spacing?
Thanks
When you need help :opps:
You must give us 10-12 examples of strings, for testing.
Do you not learn at school, how to make exercise/s ?>
-
Don't remember the spacing but do remember a lisp to explode the words.
-
Wondering if anyone has written a routine to convert a DTEXT/s or string to individual letters while keeping the letter spacing?
Thanks
When you need help :opps:
You must give us 10-12 examples of strings, for testing.
Do you not learn at school, how to make exercise/s ?>
I want to create line styles with words, but I want the spacing of the letters to remain the same as if they were still part of the text, it doesn't matter what the words are though
-
I'd start with 'Text to Words' at lee-mac.com and modify it to work at the character level.
-
I'd start with 'Text to Words' at lee-mac.com and modify it to work at the character level.
I had forgotten I'd even written that program :uglystupid2:
-
Unfortunately, I don't know how to code. I just thought I would ask if anyone knew of something already written. I will figure something out.
Thanks for the input
-
Dave, how about drawing an arc with a large radius, so it appears to be close to a straight line. Then use the Express Tools ArcAlignedText to add the text, then explode the text. This returns the individual characters as Text objects.
-
The closest example is Seant's Text2geom its not the solution but shows it can be done as it recognises each character individually and recreates them with correct spacing, the most obvious is "AV" showing how it almost overlaps a "I" is skinny, if you could work a number of combos you could create what you want. Its a printing function there may be a guide somewhere that can help "If A before V then".
The text spacing is font dependant if you use Monotext its easy.
Getting a list of characters is easy including space.
Ps text2geom has a new beta version released last week.
-
There is also this http://www.lee-mac.com/curvealignedtext.html
-
There is also this http://www.lee-mac.com/curvealignedtext.html (http://www.lee-mac.com/curvealignedtext.html)
Thanks, that does exactly what I was looking for!
-
The ninja strike again. 8)