Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open up the "field" dialog box by clicking on the "insert" tab, then clicking "quick parts", and finally mousing down to and clicking on "field".
Within the dialog box, scroll down to and click on "If". You should now see a heading entitled "advanced field properties" on the right-hand side of the dialog box, with a space for field codes.
Noting the syntax for the field "IF Expression1 Operator Expression2 TrueText FalseText", click OK, and insert the field into the document.
For example, initialize a variable named "EN.FlocHoriz", which will be used to determine whether to display information about horizontal or vertical flocculators.
Establish the condition: Say that if "EN.FlocHoriz" is equal to a certain value, display the text pertaining to the vertical flocculator and that if "EN.FlocHoriz" is equal to any other value, display the text pertaining to the horizontal flocculator (fields do not support the "if-elseif" framework).
This is done by writing: IF EN.FlocHoriz=X "Vertical Flocculator: descriptive text" "Horizontal Flocculator: Descriptive text"

Checking Your Work

Working on the Documentation Task is a bit different than any other team because you need to use the Beta server to check your work. This is easy when you follow these steps:
1. Commit your changes on any computer.
2. On the Beta server (in the AguaClara lab), make sure that the computer is responsive (you may need to press "Stop").
3. In the My Documents folder, perform an SVN Update of the Final Designs folder.
4. Open the AguaClara Server, also in the My Documents folder. Wait for the computer to open AutoCAD, MathCAD, and Microsoft Word.
5. Ensure that the "Loaded CAD" and "Reload MathCAD" buttons are green. Open File Directories, and follow the prompts at the top of the window to select the correct files.
6. Since (for now) the Beta server can only be accessed by the AC Lab computers, move to a computer in the lab. Open the Design Tool, using an @cornell.edu address.
7. Under the Advanced Controls tab, select Beta server. Enter the latest ADT version, located on the Revisions button on the Beta server.
8. Design plant!