- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I currently have a Macro (below) for exploding all the Blocks within a DWG that I would like to improve but cannot see how to do it.
Original macro
^C^C_QSAVE;BURST;all;;BURST;all;;BURST;all;;BURST;all;;BURST;all;;
I am looking for coding the following workflow:
- prompt for user window selection (defining a 2point rect area). extra kudos if being able to get a "Select Objects By Window" in the Command Prompt
- get all blocks within that 2point rect area selection
- run BURST command on them
- loop between steps 2 and 3 until no more blocks exist to explode. again, having the confirmation that no more blocks exist to explode on the Command prompt would be great
My thoughts are that re-selecting the blocks within a 2point rect area will address the problem of nested blocks.
I am a a newbie to LISP and VBA and have been looking at functions such as the SSGET and using selection sets but am unable to get the syntax in a way that works.
Using this line in the Macro does not seem to be working as when I try to run it it only brings up the last command run.
And the other question is how can I call the selection into the BURST command repeatedly?
Many thanks in advance
J
Manchester, UK
Solved! Go to Solution.