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: 

Finding the orientation of welded outlets of a pipe?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
350 Views, 1 Reply

Finding the orientation of welded outlets of a pipe?

Hi

 

The pipe is having many grooved/welded branches/outlets as shown below.

 

orientation.JPG

 

I have determine the orientation of the grooved/welded branches/outlets whether it's pointing to down/UP, Top/Bottom, using Revit API.

 

Please can anyone suggest me how to achieve this?

1 REPLY 1
Message 2 of 2
jeremytammik
in reply to: Anonymous

Dear Anusha.mp,

 

Each of the branches or outlets is connected to the duct.

 

Navigate to the corresponding Connection object, e.g. via the FamilyElement > MEPSystem > ConnectionManager properties.

 

From that, you can determine the connection orientation:

 

http://thebuildingcoder.typepad.com/blog/2010/03/connector-orientation.html

 

http://thebuildingcoder.typepad.com/blog/2010/11/connector-direction-and-createairhandler.html

 

http://thebuildingcoder.typepad.com/blog/2012/05/connector-orientation.html

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

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

Post to forums  

Rail Community


Autodesk Design & Make Report