Hello,
I have made lots of dynamic blocks with parameters, like length, width and height.. i trying to make a cabinet with a lot of dynamic blocks.
my Question is: ---> How can i get my parameters in vba?
I want to change the block with a vba.code.
I am new with vba and i don't know how i can get my variables or parameters ( don't know the differents) in vba..
So i am looking for a code.
I have made a code to insert the block into autocad.
Sorry if my english is bad.
I hope somebody can help me.
Thanks
Solved! Go to Solution.
Solved by kasperwuyts. Go to Solution.
Dynamic blocks have a property in VBA called GetDynamicBlockProperties, which returns an array of the parameters of the block. You have to type in this property yourself completely, but you will see VBA recognises it when it adds the caps.
http://help.autodesk.com/view/ACD/2015/ENU/?guid=GUID-16C8768B-2533-45FF-9CFF-FF864AC78202