Reading and editing Block Properties Table using VBA

Reading and editing Block Properties Table using VBA

Anonymous
Not applicable
1,368 Views
3 Replies
Message 1 of 4

Reading and editing Block Properties Table using VBA

Anonymous
Not applicable

I've got a block with a properties table like the one in the image below. How do I read/edit the active option using VBA?

 

Sem título.png

Capture.JPG

 

0 Likes
1,369 Views
3 Replies
Replies (3)
Message 2 of 4

GilesPhillips
Collaborator
Collaborator

Have a look at the GetDynamicProperties method for the block reference object - this will assign an array containing dyamic properties that can be edited. 

ACad, MEP, Revit, 3DS Max
0 Likes
Message 3 of 4

Anonymous
Not applicable

I tried that and wrote the entire array to excel. It doesn't show up

0 Likes
Message 4 of 4

Ed__Jobe
Mentor
Mentor

Post your code if you want help with it. It could be that either the array is not getting populated or you are not writing it to xl properly.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes