Read custom properties from dynamic block


Sometimes you will get a dwg file containing 2d objects. It is up to you to convert it into 3d objects.

In this case I have a Dynamic Block with parameters and attributes in it.

Based on the dynamic parameters I want to compose the 3d object and add the attributes as a property set. I have all the information I need to create the object.

But how do I get it in dynamo?
How do I get the dynamic parameters from the block with dynamo? I can’t find anything about it on the internet. The read-out of the attributes is already successful.

Should this be done with python?


I found the solution.

With BlockReference.DynamicPropertyByName you can read the custom block properties.