To Enter a Formula in a Leader Note

Note: The formula to be created is =<if(equal(Hole:tapped,"0"),"%%c" Hole:dia,Hole:nominal)>; a formula to show the nominal diameter of a tapped hole, and if the hole is not tapped, to display the diameter of the hole.
  1. Click Annotate tabSymbol panelLeader Note. Find
  2. Select the hole to attach the note to and click in the drawing area to place the note.
  3. From the Preview display mode list, select Plain text.
  4. In the multi-line text editor, delete any text that appears by default and type "=" as the first character of the note text.
  5. In the text editor, enter the required formula:
    1. In the Variables list, select Functions IF. The text editor shows =<IF(,,)>.
    2. In the multi-line text editor, place the cursor after the open bracket.
    3. In the Variables list, select Functions EQUAL.The text editor shows =<IF(<EQUAL(,)>,,)>.
    4. In the multi-line text editor, place the cursor after the second open bracket.
    5. In the Variables list, select Hole TAPPED. The text editor shows =<IF(<EQUAL(<HOLE:TAPPED>,)>,,)>
    6. Continue until the text editor reads =<IF(EQUAL(HOLE:TAPPED,"0"),, )>
    7. Place the cursor between the two commas, click symbols and select the diameter symbol. The text editor shows <IF(EQUAL(HOLE:TAPPED,"0"),"%%c",)>
    8. Place the cursor after "%%c" and in the Variables list, select Hole DIA. The text editor shows =<IF(EQUAL(HOLE:TAPPED,"0"),"%%c" HOLE:DIA,)>
    9. Place the cursor between HOLE:DIA, and in the Variables list, select Hole NOMINAL. The text editor reads =<IF(EQUAL(HOLE:TAPPED,"0"),"%%c" HOLE:DIA,HOLE:NOMINAL)>
    10. Continue until the text editor reads =<IF(EQUAL(HOLE:TAPPED,"0"),"%%c" HOLE:DIA,HOLE:NOMINAL)>
  6. From the Preview display mode list, select Rendered text colored and verify that the formula renders correctly.
  7. Click OK.