- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to create formulas based on trigonometric functions to define parameters in a family (I'm using Revit 2017). According to the Revit documentation, the basic trig functions should be available; the "valid formula syntax" for them (sine, cosine, tangent, arcsine, arccosine, arctangent) are all defined here:
http://help.autodesk.com/view/RVT/2017/ENU/?guid=GUID-B37EA687-2BDF-4712-9951-2088B2A8E523
However, even the simplest formulas I create based on trig functions bring the error:
"The following is not a valid parameter: cos 4
Note that parameter names are case sensitive."
(In the above example, the formula I entered was "cos 4/3". I get an equivalent message for any other formula based on trig functions.)
This suggests to me that Revit doesn't actually recognize the trig abbreviations (sin, cos, tan, asin, acos, atan) for these functions; when I enter them Revit thinks that I'm trying to enter the names of parameters that aren't defined. Note that these are the abbreviations that the aforementioned link says are supposed to be valid in Revit. I have also tried nonabbreviated versions (e.g. sine, cosine, arctan, arctangent), with the same result.
As a test, I tried out some formulas using abbreviations/syntax for mathematical operations that AREN'T trig functions: "sqrt" for square root, "abs" for absolute value. Those worked as expected. So it's not that my basic approach is wrong, such as how to enter these formulas in the first place. It really seems like Revit just doesn't recognize the syntax that it's supposed to recognize.
Any ideas?
Solved! Go to Solution.