Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.
Hello,
I am making a parametric industrial bookshelf, which is produced in 2030 mm, 3030 mm and so on in length.
I want to make it round down or up like for example:
Length is above 2500 and it rounds to 3030 and if under, it rounds to 2030.
I have tried following formula, but can't get it to work:
IF (Length<2500, IF true, Length = 2030, IF false, Length = 3030)
IF (Length<2500, Length = 2030)
IF (Length <2500, Length = 2030) IF (Length <2500, Length = 3030)
Any help is appreciated!
Best Regards,
CL
Solved! Go to Solution.
Solved by FuldenYilmaz. Go to Solution.
Solved by MetalFingerz. Go to Solution.
Hi @cklLJAHD ,
The IF condition follows this structure :
IF(<condition>, <result if condition is true>, <result if condition is false>)
So for your issue, it would look like this :
IF(Length < 2500, 2030, 3030)
Because your condition is "Length < 2500", if the Length is actually inferior 2500 then the Length parameter should be 2030 otherwise, it would be 3030.
EDIT :
Forgot to note that you should use a second parameter for your test as you cannot self reference one. So you need to have :
- Length for your input
- LengthCondition (or name it whatever you want) for the formula
It's the LengthCondition that should be the label of the dimension in your object.
For the process, You should use some sub-parameters, yes no parameters. You can control the links. Or you can send the family I try to write the formula.
https://help.autodesk.com/view/RVT/2020/ENU/?guid=GUID-A0FA7A2C-9C1D-40F3-A808-73CD0A4A3F20
If the explanation and links above help, please close the case as answered, if the problem still persists, I expect you to share more details with me.
I wish you good work.
Best regards,
Fulden Yılmaz MSc. Architect - BIM Consultant
It simply states that: 'There is circular chain of references among formulas'.
I have edited the post to include the files.
I have attached the files, since I am not entirely sure what to do since this is the first time using several formulas.
I wrote and uploaded, I hope it is okey.
Let me know if you have more questions on this topic, otherwise please accept as a solution so that others can benefit from this information.
Best regards,
Fulden Yılmaz MSc. Architect - BIM Consultant
@cklLJAHD wrote:It simply states that: 'There is circular chain of references among formulas'.
I have edited the post to include the files.
You need to follow @MetalFingerz post more closely, as that is the solution.
Can't find what you're looking for? Ask the community or share your knowledge.