Identify face hole and position

Identify face hole and position

jrjimenezUBKUW
Participant Participant
322 Views
3 Replies
Message 1 of 4

Identify face hole and position

jrjimenezUBKUW
Participant
Participant

Hello,

I need to identify in which face are the hole (1- up; 2-front; 3-down; 4-back) and dimensions of position respect another duct (x=640; Y=0 because it’s in the center)

 

 

I have tried with this object in this sub in vb.NET but I didn’t find it:

jrjimenezUBKUW_1-1658301682878.png

 

Someone knows where can I found it?

Thanks a lot

Accepted solutions (2)
323 Views
3 Replies
Replies (3)
Message 2 of 4

jrjimenezUBKUW
Participant
Participant
Accepted solution

I'm sorry, it doesn't send this image....

Imagen1.png

Message 3 of 4

jeremy_tammik
Alumni
Alumni
Accepted solution

You can query each connector for its orientation via its CoordinateSystem property:

  

https://www.revitapidocs.com/2022/cb6d725d-654a-f6f3-fed0-96cc618a42f1.htm

  

It returns a transform. The origin is the connector point, the X and Z vectors lie in the duct face hosting the connector, and Z points in the flow direction, or in the opposite flow direction, whichever.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 4 of 4

jrjimenezUBKUW
Participant
Participant

Hello mr Tammik,

Thank you for your answer, even I don't find the face of the hole but i follow looking for it analyzing the coordinatesystem property.

Thanks a lot.
Juan Ramon Jimenez

0 Likes