Author Topic: Dynamic block modification  (Read 1739 times)

0 Members and 1 Guest are viewing this topic.

zero.half

  • Mosquito
  • Posts: 7
Dynamic block modification
« on: October 31, 2020, 06:19:16 PM »
Hello,

I'm wondering if such action with dynamic blocks is safe:
Let's say I have a dynamic block definition and two references in the drawing. Both references have modified parameters (in different ways), so there are two additional anonymous definitions in block table. Suppose I want to modify a circle in one of those references. Apart from visibility state, this circle is not a part of any parameter action. I find proper anonymous definition, change the radius and call RecordGraphicsModified.

I tried it and it looks fine. However I have a gut feeling that it may be risky in the long run to have anonymous block definition changed manually.
Has anyone tried similar stuff? Is it good/bad idea to mess with it? I'd be grateful for some hint.

Jeff H

  • Needs a day job
  • Posts: 6150
Re: Dynamic block modification
« Reply #1 on: November 02, 2020, 12:41:12 PM »
Have you tried saving drawing. closing, & reopening.
I bet if you edit the block through block editor it will probably revert back.

I don't know if I would trust that unless you removed it from the dynamic block definition and made it its own block.



zero.half

  • Mosquito
  • Posts: 7
Re: Dynamic block modification
« Reply #2 on: November 03, 2020, 03:42:24 PM »
Thanks for suggestions! Saving, reopening or regenall don't revert this change, but You're right - block editor brings it back to the original.
« Last Edit: November 03, 2020, 03:53:03 PM by zero.half »