Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Equation help for Revit family parameters

8 ANTWORTEN 8
GELÖST
Antworten
Nachricht 1 von 9
bbrumfield
598 Aufrufe, 8 Antworten

Equation help for Revit family parameters

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

8 ANTWORTEN 8
Nachricht 2 von 9
ToanDN
als Antwort auf: bbrumfield

What is Depth?

Nachricht 3 von 9
bbrumfield
als Antwort auf: ToanDN

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.

Nachricht 4 von 9
ToanDN
als Antwort auf: bbrumfield

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.

Nachricht 5 von 9
bbrumfield
als Antwort auf: ToanDN

Sotshould have been 13

Nachricht 6 von 9
ToanDN
als Antwort auf: bbrumfield

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.

Nachricht 7 von 9
bbrumfield
als Antwort auf: ToanDN

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)

Nachricht 8 von 9
ToanDN
als Antwort auf: bbrumfield


@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. 

Nachricht 9 von 9
TripleM-Dev.net
als Antwort auf: bbrumfield

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

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

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report