Angles, PI, Inconsistent Units

Angles, PI, Inconsistent Units

LyleHardin
Advisor Advisor
2,042 Views
4 Replies
Message 1 of 5

Angles, PI, Inconsistent Units

LyleHardin
Advisor
Advisor

I'm trying to find the volume of sweeping a triangle along an arc. Simple math, not so simple in Revit for me.

I need to get the length of the arc to multiply by the area of the triangle (which I have).

I'm having a number of issues. 

  • Getting the Angle of the arc to Radians
  • Using PI in a formula
  • Inconsistent units

I'm stumped on putting the variables together in my Parameters so they report the volume for me.

Right now, I just need L for the Arc Length.  

Length = (Radius * Angle in radians)

It's getting the Angle in Radians that is stumping me. Can someone give me a clue? Even then, I'll probably get the Inconsistent Units warning.

 

 

 

 

0 Likes
Accepted solutions (2)
2,043 Views
4 Replies
Replies (4)
Message 2 of 5

LyleHardin
Advisor
Advisor
Accepted solution

Got it figured out. It comes down to units. I ended up making new variables as 'numbers' instead of 'length', 'area', 'volume' etc. Then when doing calculations I made sure to cancel out the units by multiplying or dividing by 1' or by 1 rad (for 1 radian). I love Revit, but really hate this unit policing we must do.

 

0 Likes
Message 3 of 5

ToanDN
Consultant
Consultant
Accepted solution

ToanDN_0-1625679923352.png

 

Message 4 of 5

LyleHardin
Advisor
Advisor

Ah! That answers the pi thing. Thanks, as it was still stumping me.

0 Likes
Message 5 of 5

NurulHusnaKamil
Community Visitor
Community Visitor

NurulHusnaKamil_1-1751426126884.png

hi i wanted to find the formula for angle..so i need to change the radian to angle by = angle (in radians) * (180/π). Tried to change to revit pi which is pi() and also divided by 1 unit, but it still give me inconsistent units. What do i need to change? i also tried Angle_radian/1 but still same problem. Inconsistent units.

 

 

0 Likes