To perform a calculation using an operator (Procedure)

Autodesk Expression Builder

 
Creating a Calculation
Concept Procedure
 
 
 

To perform a calculation using an operator

  1. Select the command for which you want to create an expression.
  2. In the expression area, do one of the following:
    • Enter a property name manually.
    • Click Property. Select the property you want.
  3. To insert an operator, do one of the following:
    • Enter an operator for this property manually.
    • Click an operator button.
    • Click Operators. Select the operator you want.
  4. Select or enter the value to evaluate.

    For example, if you are multiplying the value of the property, enter the number or insert a property to multiply by.

  5. Specify any further conditions for the expression.

    To create a complex property evaluation, insert an AND or OR operator, and then insert another operator/property combination.

  6. Click OK to apply the expression.

To perform a calculation using a function

  1. Select the command for which you want to create an expression.
  2. In the expression area, click one of the following and select a function:
  3. Click Property and select the property to apply the function to.

    This calculation is the definition of a calculated property.

  4. Click OK to apply the expression.

To find area or length

  1. Select the command for which you want to create an expression.
  2. In the expression area, enter or insert the geometric function (Area2D or Length2D).
  3. Insert the property Geometry in parentheses after the function.
    NoteThe Geometry property may have a different name in your data store. It is always listed under Geometry Properties in the Property list. Insert the property from the list. Do not change it manually or substitute a value for this property.
  4. Click OK to apply the expression.