TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Marc'Antonio Alessi on December 17, 2022, 03:36:37 AM

Title: Reverse ATTSYNC
Post by: Marc'Antonio Alessi on December 17, 2022, 03:36:37 AM
With ATTSYNC you can synchronize the attributes of a Block (INSERT) with its definition (BLOCK),
is it possible to synchronize the attributes of the definition (BLOCK) with the attributes of a Block (INSERT)?
Title: Re: Reverse ATTSYNC
Post by: kdub_nz on December 17, 2022, 04:06:17 PM

Are you referring to something other than redefining the block definition ??

Title: Re: Reverse ATTSYNC
Post by: Marc'Antonio Alessi on December 18, 2022, 03:21:07 AM
Are you referring to something other than redefining the block definition ??
If you use the Attsync command all Inserts will automatically change and will have 2 attributes like the definition,
the block with 1 attribute will not have 2 attributes but will always have one.
I correct myself: the block with 1 attribute will have 2 attributes - the new attrib have the defaoult value.

What I'm trying to do is: select one of the inserted blocks and just update the definition with the selected block's attributes
all other inserted blocks will not change.