Adding a Formula to a Parameter
1
In the Family Editor, lay out reference planes.
2
Add dimensions, as required.
3
Label the dimensions. See
Labeling Dimensions
on page 359.
4
Add the geometry, and lock the geometry to the reference planes.
5
On the Design Bar, click Family Types.
6
In the Family Types dialog, in the Formula column next to the appropriate parameter, type the
formula for the parameter. For more information about entering formulas, see
Valid Formula
Syntax and Abbreviations
on page 367.
Valid Formula Syntax and Abbreviations
Formulas support the following arithmetic operations: addition, subtraction, multiplication, division,
exponentiation, logarithms, and square roots. Formulas also support the following trigonometric functions:
sine, cosine, tangent, arcsine, arccosine, and arctangent.
The valid formula abbreviations for arithmetic operations and trigonometric functions are
■
Addition— +
■
Subtraction— -
■
Multiplication—*
■
Division—/
■
Exponentiation—^: x^y, x raised to the power of y
■
Logarithm—log
■
Square root—sqrt: sqrt(16)
■
Sine—sin
■
Cosine—cos
■
Tangent—tan
■
Arcsine—asin
■
Arccosine—acos
■
Arctangent—atan
■
e raised to an x power—exp
■
Absolute Value—abs
You can enter integers, decimals, and fractional values in formulas, using normal mathematical syntax, as
shown in the examples below:
■
Length = Width + sqrt(Height*Width)
■
Length = Wall 1 (1 Wall 2 (15000mm)
■
Area = Length (500mm) * Width (300mm)
■
Volume = Length (500mm) * Width (300mm) * Height (800 mm)
Using Formulas for Numerical Parameters | 367
Summary of Contents for 24000-000000-9860 - Revit Architecture - PC
Page 1: ...Revit Architecture 2009 User s Guide April 2008 240A1 050000 PM02A ...
Page 4: ......
Page 56: ...18 ...
Page 116: ...78 Chapter 3 Revit Essentials ...
Page 172: ...134 Chapter 4 ProjectViews ...
Page 178: ...Schedule with Grid Lines Schedule with Grid Lines and an Outline 140 Chapter 4 ProjectViews ...
Page 554: ...516 ...
Page 739: ...Curtain wall Curtain Grid Curtain Walls Curtain Grids and Mullions 701 ...
Page 1004: ...966 ...
Page 1136: ...1098 ...
Page 1226: ...1188 ...
Page 1250: ...1212 ...
Page 1276: ...1238 Chapter 20 Design Options ...
Page 1310: ...1272 ...
Page 1366: ...1328 ...
Page 1406: ...1368 ...