Constrain Reference Line to Mid-point of Another

Constrain Reference Line to Mid-point of Another

Anonymous
Not applicable
1,813 Views
5 Replies
Message 1 of 6

Constrain Reference Line to Mid-point of Another

Anonymous
Not applicable

Hi All,

 

We have two steel column members, these are attached to a column at predetermined heights. The longest steel member then extends in height/distance from column via instance parameters. The secondary steel member extends from the column and connects to the first, and here's my issue, the point at which it connects needs to *always* be the middle. 

 

I have created reference lines and constrained these to the instance parameters, and this is working well. I have also constrained the secondary member's end point to the reference line of the first - It sticks but there's no way I am finding to constrain this to the *midpoint*.

 

TL;DR essentially I am looking for the "divide path" functionality in a standard Revit family template, not the adaptive one. Or a work around...

 

Attached, current family for reference.

0 Likes
Accepted solutions (1)
1,814 Views
5 Replies
Replies (5)
Message 2 of 6

martijn_pater
Advisor
Advisor

You should constrain it with dimension parameter (&abc formula), not sure I put in the right values/constrained to the right refplanes there, so your "Fixing Distance" in formula might be "(Fixing Distance -140)".

First draw your refplanes/lines and flex the dimensions to see if it works, as you want. Then add the geometry/sweeps.

half_distance_parameter.png

Message 3 of 6

Anonymous
Not applicable
Accepted solution

The 'Divide path' function in Revit is the equality constraint - it seems to work to just put in a reference plane with the equality constraint forcing the connection to the mid-point.Columns.JPG

Message 4 of 6

ToanDN
Consultant
Consultant

See attached.

 

Annotation 2020-02-06 091158.jpgAnnotation 2020-02-06 091217.jpg

Message 5 of 6

martijn_pater
Advisor
Advisor

Possibly I was overthinking that a little… 😄 Actually did it with equality dimension initially, but then I didn't really like that it doesn't rotate with the component and also the values seemed off (wasn't though… works fine in yours / now, must have constrained to the wrong point or something ... no idea)... Anyway, both work. In case you want to check out the method I used above, see attached as well. Above is a cleaner method parameter-wise though... and easier in case your pythagoras is a little rusty 🙂

0 Likes
Message 6 of 6

Anonymous
Not applicable

Thanks guys!

 

Tim's solution worked, and in hind-sight seems so simple now!

 

0 Likes