Hi all
Started to play with dynamic blocks now got my head around stretch and tables but I'm looking to use the array command
this is what I want to try to achive
I have a dynamic block which has a array command in it so by simply pulling on the arrow the block will array horizontally
giving me multiple items side by side
what I want to do is count the array
example if I insert the block and and array to say 12 items side by side
then I want to get the value 12 placed into a block attribute which is part of the dynamic block
I can then pull this data out of the drawing into spreadsheet so I can then create a purchase list of items
My immediate thought was to divide the the total length by the width of the item to get me a count but I don't know yet how to get this to work in the dynamic block
any ideas for a newbie to dynamic bocks
Solved! Go to Solution.
Solved by ccad2509. Go to Solution.
Adding a field to att will work for your problem.
I add an example but note that it only gives true value with your block unit in milimeters and block scale must 1 too.
In case you will change one of above you must modify att fields value to all conditions.
I only add for a spesific condition your block.
You can easly explore FIELD command and find out.
I hope it is helpful...
It works fine to me.
I tried 2010,2011 and 2012 version of acad.
But it cause probably something else.
Give a shot to attached block...
appologies yes it does work
just have to do a regen for the value to update
thanks for the help
will start playing with this on other arrayed blocks i have
All Fields require a REGEN to update the value.
You may also want to explore this variable:
Please mark any response as "Accept as Solution" if it answers your question.
_____________________________________________________________
Regards, Charles Shade
CSHADEDESIGN | AUTOCAD LT | LT-KB | DYNAMIC BLOCKS
Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘