ROTATE 3D command

Greetings to all. I’m trying to execute the ROTATE 3D command through the Document.SendCommand node and I’m unable to complete the command. I wanted to enter the object through a list and the rotation angle.

look at

What type of object do you want to rotate?
I’m not at my computer right now but I remember that I had issues with rotate 3D when I tried to rotate 3D solids


i need to rotate a pressure fitting “tee” as shown in the image and i can’t apply the rotate 3d command with dynamo.

In my project I did like this
I had solids from a exported structure and when during the export two Block references for the manhole also where created. So I read the station and offset for first and second manhole and took these coordinates to calculate the rotation angle.


Very good. How did you select the object? Was it manual or automatic?

1 Like

I had to select one object manually.
In this project we had propertysets added to solids, block references and 3D polylines that where put on a layer unique for that specific group so by selecting the solid I could get the property Layer to filter out all objects on that layer.

Very interesting. In my project I have several connections that need to be rotated. Would you have any tips for selecting these parts automatically or by searching for the description of each part?

Do they have any similarities or any Property sets attached to them to filterout them? Any files that you might be able to share?

They are named in sequence Pressure Fitting (1), Pressure Fitting (2)… and I have the list of angles that each one should rotate. Is there any way of automatically selecting these Pressure Fittings by part name in the script and executing the Rotate 3D in Sequence command?

Sure!
The list of rotation angles, where is that located?
In a excel or on the objects?

The object, are they actual pressure fits or are they solids?

The list of angles is in Excel, and the parts are Pressure Fittings, the idea would be to select these parts by name (if possible) and run the rotate 3D command for each part following the angles in the list.

Btw, to be able to do this is Dynamo using the Rotate3d command, have you tried to do it manually in C3D? Is it possible?
Then, could you upload a sample file with Objects and excel file with angles/names?