I have a bracket for a speaker that has 3 different pin positions for its tilt. For each pin position, the bracket has a maximum and minimum tilt threshold. For pin position 2 and 3, the formula works fine. For pin position 1, if i type an angle that goes beyond its limit, initially, it looks like Revit has recognised the formula. However, when apply is clicked, it doesn't recognise it and it applies the angle that it can't do. I have checked the formula and it appears to be exactly how it needs to be. Can anyone help? Or is this Revit just being unhelpful.
Solved! Go to Solution.
Solved by ToanDN. Go to Solution.
ToanDN, Hi! Your solution appears to work with your constraint parameters and more simplistic formula. Thankyou.
I would still like to know why Revit was unable to function correctly with the formula that I had initially used on one type out of the 3 within that family. Would you be able to explain why, or is it an unknown?
The formula functions perfectly ok based on the conditions you have set for position 1...Above is what you wrote...look closely at the formula you have (Highlighted in yellow) is there anything which relates to as upper limit of 15 degrees in it?
So what is wrong is you typed something but had something else in mind
Something else which doesn't tally between your family and Toan's family is
YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION
Forgot to add the GIF to previous post... @ToanDN 's family flexed (not sure this is how it should work or is it)
YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION
@rosPNXGN wrote:
I have a bracket for a speaker that has 3 different pin positions for its tilt. For each pin position, the bracket has a maximum and minimum tilt threshold. For pin position 2 and 3, the formula works fine. For pin position 1, if i type an angle that goes beyond its limit, initially, it looks like Revit has recognised the formula. However, when apply is clicked, it doesn't recognise it and it applies the angle that it can't do. I have checked the formula and it appears to be exactly how it needs to be. Can anyone help? Or is this Revit just being unhelpful.
My general approach is always breaking a complex issue into smaller trunks to solve it. So, instead of diving into fixing your original multi-level nesting condition formula, I broke it into parts:
- 3 pin locations = 3 family types: it is just my understand of how 'pin' works for this type of equipment
- each location has a fixed set of upper and lower limits, so they are also type parameters
- with the above, the final formula is dead simple, no more nesting
As for your original formula, it does appear correct reading it in linear form. If you want to get to the bottom of it, break it into tree form and you may find where the problem lies. I did not do that because it was a moot point for me.
Can't find what you're looking for? Ask the community or share your knowledge.