civil3D geometry in dynamo

Hello all,
As suggested by @jacob.small i’m now endeavouring the world of Civil3D so i can find where openings are placed in a STEP file, which i can later use in Revit to adjust our concrete model accordingly.

The thing i ran into is that when i get the objects in my block references, the position in Dynamo shows them all at the same place:


Can someone point me in the right direction how to handle this?
I assume this is caused by the original block insertion point

Ok i realized I was pulling the block geometry, not the blockreference. So the position is simply 0,0,0.

When i get the position of the blockreference and translate the block geometry, it sort of works… but… The rotation of the element is lost:

You should transform the geometry to the Coordinatesystem of the BlockReference. not to the position.
The CoordinateSystem also includes the rotation.

2 Likes

Thanks!
This works :slight_smile:

i’ll keep the thread open slightly longer since what I’m doing is a work in progress… for followup questions etc. Will click Accept Solution when I’m done :slight_smile:

1 Like