Goal amount for this year: 2500 USD, Received: 1869 USD (75%)

# Thread: atan entered as a fraction value i Revit

1. ## atan entered as a fraction value i Revit

I don't know if this is common knowledge, but........-Did y'all know that you can enter an atan value as is in a slope parameter?

Example:
I need my roof to have a slope of 5%, or 1/20.
The correct value in degrees is 2,86º, but i don't need to calculate it, i can just enter this formula:
=1/20
-and Revit will calculate the inverse tangens of that fraction!
Works with decimal frations as well, in this case "=0.05" OR just plain =5% Really nifty, if you ask me.

https://knowledge.autodesk.com/suppo...pe%20parameter  Reply With Quote

2. You can type in any formula that you want as long as you type in the = first. I created a fun little calculator (keys don't work...just type = and your equation when someone complained that Revit doesn't have a calculator.  Reply With Quote

3. Originally Posted by MPwuzhere You can type in any formula that you want as long as you type in the = first.
Yeah, i try to teach this to all my colleagues, when i see them reach for their calculator.
For this peticular example i was surprised that i didn't have to type "=atan(a/b)", since that's the correct formula in the family editor. Instead it's enough to just type "=a/b", and Revit assumes the atan, since the parameter type is slope.
ordinary numbers are interpreted as angles, so "7" will be interpreted as 7º  Reply With Quote

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•