Dynamic block arrays
Unfortunately Autodesk has some work on creating equations and variables inside the block editor so you could do some what ifs and such.
You could try and create visibilities to handle different scenarios that you are trying to accomplish - but this can get into a management issue of your block and size constraints and manual operations to select the correct visibility.
You could get into creating a separate dynamic block of the array in question and inserting it as a nested block. If these are small blocks that will be inserted multiple times, this may not be a suitable option. Nested dynamic blocks work best on large dynamic blocks that are inserted 10 times or less into a drawing.
There are a couple approaches that I feel should be taken or at least looked at:
Event:
One is creating an event that will watch for changes in your dynamic block and then change the array parameters in question. This is not best suited for real time changes and you would see the changes after you are completed.
- This would require creating a list of all the potential blocks to watch and what you want to do with it
- Creating a standard, so the list can be appended by the Cad manager - not hard coded
Jig:
Another is using what is called creating a jig - using dot net. You can set up using a jig to see real time activity. As you make changes to the dynamic block you can see the array changes in real time. From the user and the interaction with dynamic block, this might be the best approach.
- The best approach here would be to create a command that will allow you to insert the dynamic blocks - this can be set up to handle all of your dynamic blocks and put the parameters right on the screen next to the block as you position it.
- Create another command that would allow the changes and see them real time.
- This would require creating a list of all the potential blocks so you know which blocks have the arrays to manipulate
- Creating a standard, so the list can be appended by the Cad manager - not hard coded
Dynamic blocks have brought some power of parametric's to the AutoCad user but still has some limitations. When you combine it with dot net, the power increases 10 fold and allows you to do so much more.
Let me know what you think or feel free to contact me.
Patrick K. Johnson
Labels: blog, Dynamic Blocks
Share it: Del.icio.us | Digg | Reddit | Yahoo | Google
| 0 Comments

