Dynamo for Civil 3D 2025.1 Release

Hm, maybe I didn’t read the question very well. The Block.Objects returns the objects from the Definition (also from a dynamic block definition, but does not respect visibility states).

It does not read geometry from the Block Reference. But it is possible to transform the Block Definition contents to the location, scale and rotation of the Block Reference, with two extra nodes:

Which is the desired result. With Dynamic Blocks it reads all the geometry, not only the ones that are visible in a visibility state.

1 Like

Thank you all for your quick response. The graph proposed seems to extract Dynamo geometries from Blocks and transform them according to each BlockReference coordinate system. Unfortunately, the graph below did not consider dynamic heights, because it is BlockReference (not Block) that has unique heights. These 76 block references (girders) have all different heights, so I’d like these extracted Dynamo geometries to have different heights.

Do you mean elevations of the Block Reference, or an attribute value with the height?

Do you have an example drawing perhaps?

I meant a Dynamic block with variable dimension, not just display properties but constraints with associated stretchable shape handles as well. In this user’s case the dimension has to vary so pulling the block’s objects won’t help.

Think they need the specific dynamic block to get that, but I am not sure how to access it in 2025.1.

1 Like

Dynamic block with variable dimension, not just display properties but constraints with associated stretchable shape handles as well

Yes, this is exactly what I meant. Each BlockRef’s height changes according to values in CSV. Below is the dataset for reference. 241113_Sample.zip

For now, I can do with Object.Explode >> Object.Geometry.

1 Like

Hi,
Is it now possible to add targets of corridors from xref without phyton?

It’s been terrible for 1 year with no change for users.

1 Like

Hi @v.v.khu,

Can you give some more info about what you’re referring to? Happy to chat via direct message if you’d like.

1 Like