Message 1 of 6
Dynamic Block with Parametric constraints update geometry within command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am placing a dynamic block with parametric constraints and setting some values by code which in turn should modify the block dimensions. I am using these geometric dimensions in later code to modify some other geometry.
The problem is that the block does not update until I exit the command. I have searched everywhere and apparently one should call AnonymousBlockTableRecord abtr.UpdateAnonymousBlocks and set the current document doc.TransactionManager.QueueForGraphicsFlush();
But this doesn't work. Please help me force Autocad to update this dynamic block, so I can read it's new geometry and act upon it without exiting the command.