TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: mbrandt5 on January 28, 2020, 11:14:36 AM

Title: Reset Block retaining custom properties
Post by: mbrandt5 on January 28, 2020, 11:14:36 AM
Hey all

Is anyone aware of a code that retains all custom properties of a dynamic block, resets block and then updates the custom properties to the state of the block prior to the Reset block?
Title: Re: Reset Block retaining custom properties
Post by: ronjonp on January 28, 2020, 12:00:01 PM
Maybe I'm not understanding the question but resetting then restoring equals no change?
Title: Re: Reset Block retaining custom properties
Post by: mbrandt5 on February 03, 2020, 01:32:39 PM
Please be advised that the Custom property angle which is 90 prior to the "RESETBLOCK" command is 0 after.  I could be mistaken on what is occurring, though after alterations to a dynamic block are made, I believe those changes are not reflected unless the block is reset.  With the being the case, I am looking for a way to get/store the custom property values then set them after a resetblock command is executed. While I am aware how this code would be written, figured someone may have already wrote it and would be willing to share said code.

Title: Re: Reset Block retaining custom properties
Post by: HasanCAD on February 04, 2020, 07:07:16 AM
Right click on selected block the choose Reset Block
Title: Re: Reset Block retaining custom properties
Post by: mbrandt5 on February 11, 2020, 10:25:55 AM
What is the difference, not sure I understand your suggestion.