Equation help for Revit family parameters

Equation help for Revit family parameters

bbrumfield
Advocate Advocate
1,494 Views
8 Replies
Message 1 of 9

Equation help for Revit family parameters

bbrumfield
Advocate
Advocate

Hi everyone, I am new to Revit and primarily work with inventor and have hit a road block with this parameter equation. 

=TAN(15°*PI()/180°)*(Depth-1.500), Depth-1.5 = 11.5 in this case answer should be 3.081 the closest I've gotten throwing darts was = (Depth-1.500)*15°*pi()/180° which is returning 3.011

 

Any help would be greatly appreciated.

 

Thanks,

 

Brent F. Brumfield

0 Likes
Accepted solutions (1)
1,495 Views
8 Replies
Replies (8)
Message 2 of 9

ToanDN
Consultant
Consultant

What is Depth?

0 Likes
Message 3 of 9

bbrumfield
Advocate
Advocate

In this case actual depth is 13.500 inches - 1.500 inches = 11.500 inches. The Depth can change the 1.500 dimension and 15 degree angle are constant.

0 Likes
Message 4 of 9

ToanDN
Consultant
Consultant

Sorry I don't get it.  How can Depth varies and you expect the outcome to be a fixed value?  And 13.5-1.5 = 12 btw.

0 Likes
Message 5 of 9

bbrumfield
Advocate
Advocate

Sotshould have been 13

0 Likes
Message 6 of 9

ToanDN
Consultant
Consultant

TAN(15°*PI()/180°)

 

This doesn't make sense.  15d divided by 180d even out the unit.  It is no longer an angle to calculate TAN.

0 Likes
Message 7 of 9

bbrumfield
Advocate
Advocate

The posted equation works with imparts or model states in Inventor. 11.5 would be the base length, 15 degas the angle. However I solved the issue. Parameter B = Depth(any) - 1.500 inches. Parameter Rise = B * tan(15deg)

0 Likes
Message 8 of 9

ToanDN
Consultant
Consultant

@bbrumfield wrote:

The posted equation works with imparts or model states in Inventor. 11.5 would be the base length, 15 degas the angle. However I solved the issue. Parameter B = Depth(any) - 1.500 inches. Parameter Rise = B * tan(15deg)


The above formula makes sense. The original doesn't.  Why did you introduce pi()*180d is a mystery. 

0 Likes
Message 9 of 9

TripleM-Dev.net
Advisor
Advisor
Accepted solution

See link below, an old post from "RevitForum" with possible revit formula's which includes calculations with angles:

https://www.revitforum.org/node/1126