Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Move Rotation point in Revit Mep API

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
nitinjambhale
836 Views, 2 Replies

Move Rotation point in Revit Mep API

Hi friends,

Any Idea how to move Rotation point to another location for a family with Revit Mep API. (C#)

 

Thanks,

Nitin J.

2 REPLIES 2
Message 2 of 3
Joe.Ye
in reply to: nitinjambhale

Hi Nitin,

I don't think Revit API can change the rotation point users can see when start the rotate command.
Instead, when you want to rotate a family instance you can just calling ElementTransformUtils.RotateElement() or RotateElements() method.
You can decide the rotation axis's position.


Joe Ye
Contractor
Developer Technical Services
Autodesk Developer Network
Message 3 of 3
nitinjambhale
in reply to: Joe.Ye

Thank you for the reply.

i just carried away with the manual process and not had thought of this.

 

Thank you.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community