To Create a Formula for a Component Property (AutoCAD Mechanical Toolset)

  1. At the Command prompt, enter AMOPTIONS.
  2. In the Options dialog box, select the AM:Standards tab.
  3. In the Standard Elements list, double-click BOM. The BOM Settings dialog box is displayed.
  4. In the Available component properties list, click in the value column of the row corresponding to the component property you want to edit. The button appears.
  5. Click . The Expression Builder dialog box is displayed.
  6. In the Select value type list, select Formula.
  7. In the expression box, add references, Operators, and Functions, as required.

    For example, if you create a formula for Cost, truncated to the nearest dollar (Integer value of Price × Quantity):

    1. In the Category list, select Function.
    2. In the Select list, select INT, and click Add. The Expression area shows =INT().
    3. In the Expression area, place the cursor between the brackets.
    4. In the Category list, select BOM Properties.
    5. In the Select list, select QTY and click Add. The program adds the reference <QTY> to the expression area.
    6. Type the asterisk character (*) after <QTY>.
    7. In the Select list, select PRICE, and click Add. The formula =INT(<QTY>*<PRICE>) is complete.
  8. Click OK.