Change Block Properties Table option with autolisp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We have a dynamic block that uses a block properties table to change the position of the block in predefined locations (i.e. Top Left, Top Right, etc)
Image below shows the table (header "Location") and how it appears in the properties table.
We're want to quick change locations of multiple blocks at once, rather than having to change individual blocks.
You can't highlight multiple blocks and alter in the properties tables. Something you can do with visibility settings but have gone the BPT routine due to regen time issues when using visibility settings.
We started with a crude lisp routine to try proof of concept but quickly hit a problem. We can change the 'Location' value to 'Top Left' in a selected block but the position doesn't alter to suit the change. [image below still positioning the block at Top Right despite the 'Location' value appearing as 'Top Left']
crude lisp routine used -
;------
;------------
Can you please provide assistance? Not sure if there's a function required to refresh / regen the block whilst running the autolisp routine.
Thanks in advance
Mark