Creating a Parameter-Driven Directional Connector for a Revit Fitting Family

Creating a Parameter-Driven Directional Connector for a Revit Fitting Family

aryan4WGLU
Participant Participant
989 Views
5 Replies
Message 1 of 6

Creating a Parameter-Driven Directional Connector for a Revit Fitting Family

aryan4WGLU
Participant
Participant

Hello All,

 

I'm currently working on a Revit Family project, specifically a fitting, and I've encountered some challenges that I hope this community can help with. My aim is to make the direction of the fitting's Connector controllable via family parameters. Ideally, I'd like to introduce two parameters, AngleX and AngleY, that would determine the Connector's orientation in relation to the X and Y axes respectively. Furthermore, it is crucial for these angles to operate independently of each other.

 

The primary obstacle I'm grappling with is how to define a parameter-driven angle between a 3D object (like an extrusion) and a plane, or even between two extrusions. While I've had some success manually adjusting the angle by selecting the object and altering the angle value, I've not had the same luck when trying to manipulate it via the family parameters (refer to the attached screenshot for clarification).

 

Attached is the family file that I'm currently working with, in case it provides better insight into my issue.

I would greatly appreciate any guidance or advice from those who've tackled similar problems or have expertise in this area.

 

Thank you in advance!

0 Likes
990 Views
5 Replies
Replies (5)
Message 2 of 6

iainsavage
Mentor
Mentor

I think I solved a similar request a couple of years ago but I can't fully recall the details.

If I recall correctly you need to use a nested family, align it to a reference line in the host family, apply the connector(s) to a face in the nested family then control the rotation of the reference line.

 

0 Likes
Message 3 of 6

RLY_15
Advisor
Advisor

It might be good research to open and dissect duct elbow / pipe elbow families for reference. There's some slightly less intuitive constraints you'll need to apply to reference lines (you're trying to lock one endpoint into a reference plane intersection).

 

 

0 Likes
Message 4 of 6

aryan4WGLU
Participant
Participant
I've tried nested families without any luck. Could you please explain this more?
0 Likes
Message 5 of 6

aryan4WGLU
Participant
Participant
I looked up the things you mentioned, but all the angles are on the same plane. What I'm interested is having parametric angles on different planes (top and left). Could you please explain your ideas a bit more?
0 Likes
Message 6 of 6

iainsavage
Mentor
Mentor

In this post @fabiosato explains how to create a family which rotates in any direction:

https://forums.autodesk.com/t5/revit-mep-forum/in-dire-need-of-help-rotating-a-component-freely-in-3...

Then you should be able to use the resultant family to host a connector which therefore also rotates?

 

This is the other post that I was referring to earlier:

https://forums.autodesk.com/t5/revit-mep-forum/how-to-rotate-pipe-connectors-correctly-in-a-revit-fa...

 

There's also this:

https://forums.autodesk.com/t5/revit-mep-forum/rotating-a-nested-family-which-hosts-a-pipe-connector...

 

Hope these links might help you.