Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

query component rotation

4 ANTWORTEN 4
GELÖST
Antworten
Nachricht 1 von 5
kgatzke
304 Aufrufe, 4 Antworten

query component rotation

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.

4 ANTWORTEN 4
Nachricht 2 von 5
L.Maas
als Antwort auf: kgatzke

You could use Dynamo for this. However you would have to look into to which axes it would be rotated

 

Concept:

Get Rotation.png

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Nachricht 3 von 5
kgatzke
als Antwort auf: L.Maas

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.

Nachricht 4 von 5
L.Maas
als Antwort auf: kgatzke

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

EESignature

Please mention Revit version, especially when uploading Revit files.

Nachricht 5 von 5
kgatzke
als Antwort auf: L.Maas

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.

In Foren veröffentlichen  

Autodesk Design & Make Report