Is there any way to retrieve the rotation of a component or set the rotation of a selected set of components back to zero, regardless of their current rotation?
I have a lot of components in a project, some of which are rotated in plan but the rotation is not visually distinguishable in plan or 3D views. For reasons that are too complicated to go into the rotation only becomes apparent when certain parameters are invoked. This would be easy enough to do in AutoCAD since Properties identifies the current rotation of any selected entity and said rotation for multiple entities can be set to zero.
Gelöst! Gehe zur Lösung
Gelöst von L.Maas. Gehe zur Lösung
You could use Dynamo for this. However you would have to look into to which axes it would be rotated
Concept:
Louis
Please mention Revit version, especially when uploading Revit files.
Dynamo is fascinating but probably has a learning curve at least as steep as Revit's. Can it extract and manipulate the database of an existing Revit model? All the demo videos I watched appeared to create things and then place them in a Revit model.
In the screenshot of my earlier post I showed a concept Dynamo script for this issue.
I extract rotation information from certain instances placed in the active Revit project. The script only contains a few nodes.
1-Choose a category (Here mechanical equipment).
2-Select all instances placed in the project.
3-From the selected instances get the orientation (a vector).
4-Get the angle between an axis vector (here as an example x an z axis ) and the vector of the element
The result are angles the instances have been rotated.
Dynamo is not that difficult, dynamobim.org has good tutorials to get you started.
Louis
Please mention Revit version, especially when uploading Revit files.
I actually hit upon a simpler solution by adding a temporary extrusion that indicates if the component is rotated and/or flipped but I'm still going to try out Dynamo when I'm not under a deadline.
Thanks
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.