Author Topic: remove tag from lock  (Read 1001 times)

0 Members and 1 Guest are viewing this topic.

Amsterdammed

  • Guest
remove tag from lock
« 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

ronjonp

  • Needs a day job
  • Posts: 7527
Re: remove tag from lock
« Reply #1 on: July 21, 2016, 10:59:52 AM »
vla-put-TagString ?

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

CincyJeff

  • Newt
  • Posts: 89
Re: remove tag from lock
« Reply #2 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.