Hello everyone
I have the block references (not dynamic)
And i try to rotate them. So I use this ,code:
But it does not work. What is wrong here?
Hello everyone
I have the block references (not dynamic)
Sorry for late answer.
The node CoordinateSystem.Rotate just rotate the Coordinate system in the Dynamo Workspace, it doesn’t rotate the block reference. If you want to rotate the Block Reference when insert you can use the node BlockReference.Create and then add a rotate to the block. For example from a bearing along an alignment, like this
If you want to rotate existing block references, use the node in Civil 3D Toolkit “ObjectExtension.SetParameterValueByName”
Thank you so much, I will check it soon
yeah, it works. i`m so appreciate
Starting in Civil 3D 2025.1, you can use the Object.SetRotation
node to set the rotation of block references.
That is so good!!
I will start check all our company script and replace a bunch of nodes