- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
Please I am looking for a Lisp/VLisp routine to create a Block (without graphic) but with 2 attributes ATT1, ATT2
coming from a "special" classic text with a separator (".") - A few samples :
Text = "COD.123" --> ATT1 = "COD" , ATT2 = "123"
Text = "XY" --> ATT1 = "XY" , ATT2 = ""
Text = "XY." --> ATT1 = "XY" , ATT2 = ""
Text = ".MN" --> ATT1 = "" , ATT2 = "MN"
etc
The Block (created into the routine with ENTMAKE if possible - Attributes on Layer ZERO)
will inserted at the justification point of the "special" text on the current layer.
OR I can use my own Block with the 2 attributes ATT1 & ATT2, SO the routine wil be "easier" !
Please at the beginning of the routine something like :
(setq separator ".") to be able to use it with an other separator !
I hope I am clear !? Please see the DWG ...
Thanks in advance, The Health, Bye, Patrice
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks
Patrice BRAUD
Solved! Go to Solution.