- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi guys,
Been trying to create a routine to change the text width on ALL regular single line text (not mtext, although I wouldn't mind) and attributes.
So far I got it to work on both, but I just can't get it to work on plain text inside all blocks.
My knowledge of (auto)lisp is still a bit limited but usually I manage. Not in the least thanks to this forum, but I'm stuck on selecting & changing text entities inside/belonging to blocks.
My guess is that while working thru the selection set with blocks, to change the attributes, I 'need' to select some type of text entities belonging to that block as well, but I have no clue on how to get to the entity data.
Any routine to do just that, will be appreciated. I'll manage to implement it into the rest of my code. Only found one that will do so on a selected block, but I've been unable to translate that to work with an entire selection set containing blocks. [ím using: (setq ss (ssget "X" '((0 . "INSERT")))) if I need a different selection set, let me know]
I'm using preset values stored inside an .ini file, so there's no need to ask for user input. (setq ssw "1.0") will do.
Note: Usually I try to avoid using VL. As I know even less about it as AutoLISP.
Solved! Go to Solution.