TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Amsterdammed on July 21, 2016, 10:33:25 AM

Title: remove tag from lock
Post by: Amsterdammed on July 21, 2016, 10:33:25 AM
Hello there,

can i remove whole tags form blocks with lisp? Not only set the value to empty string.

Thanks Bernd
Title: Re: remove tag from lock
Post by: ronjonp on July 21, 2016, 10:59:52 AM
vla-put-TagString ?
Title: Re: remove tag from lock
Post by: CincyJeff on July 21, 2016, 12:06:14 PM
If you want to delete an attribute definition from a block you can. You just need to get the attribute object and delete it. The change will affect the block definition but not any previously inserted instances. You'll need to perform an attsync or similar method to update all instances to the new definition.