- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
Please I am looking for a Lisp/VLisp routine to split 1 attribute to 3 others attribute of the same Block !?
The text is delimited by a "." but sometimes it could be an other delimiter, so please I need into the routine :
( setq delimiter "." )
And a few other variables like :
( setq AttToSplit "COD" )
( setq Att1 "COD1" Att2 "COD2" Att3 "COD3" )
The routine is asking for ONE Block to retrieve the Block Name with the attribute to split ...
And then a classic AutoCAD selection ...
And the routine will try to split the "main" attribute (AttToSplit) to 3 others attributes (Att1 / Att2 / Att3)
without updating / erasing the "main" attribute and the other attributes !
ATTENTION : The Block can be classic or dynamic !
See the DWG joined with the Block "BATT6" before and after ...
Please look at this topic :
where I asked for something very similar with Text.Text to Attributes ...
Thanks again to @ВeekeeCZ & @Sea-Haven for the work on the previous routine !
I hope that I am clear !?
The Health, Bye, Patrice (The Old French EE Froggy)
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.