Go to www.awrcorp.com
Back to search page Click to download printable version of this guide.

3.4.1.2. Operations Example

This example demonstrates creating, deleting, undoing, and redoing operations on a box.

  1. Draw a box with the corner at (0, 0, 0) cm and an extent of (1, -1, 1) cm.

  2. Translate the box by (0, -1, 0) cm. For more information on translations see “Solid Transformations”. Select the translation's node in the Browser.

  3. Change Magnitude to "1.1 cm" in the property grid and observe the box location change.

  4. Pick the box and rotate it 30-degrees around a z-directed axis crossing through (0, -1, 0) cm. For more information on rotations, see “Solid Transformations”. Select the rotation's node in the Browser.

  5. Change Angle to 50-degrees in the property grid and observe the box orientation change.

  6. Select the rotation's node in the Browser and press Delete.

  7. Undo the deletion of the rotation by pressing Ctrl+Z. The rotation is again an operation of the box, as its orientation reflects.

  8. Redo the deletion of the rotation by pressing Ctrl+Y. Now the box is purely translated.

  9. Choose the translation's node in the Navigator under Structure and press Delete. The box returns to its creation orientation.

Please send email to awr.support@ni.com if you would like to provide feedback on this article. Please make sure to include the article link in the email.

Legal and Trademark Notice