Strokes

Strokes are a way to assign command shortcuts to mouse or tablet drag patterns. For many operations, strokes are more convenient than keyboard shortcuts because they can select an object and apply a command to it.

For example, you can assign Orbit to a downward stroke. When you draw this stroke, 3ds Max changes to Orbit mode. You can assign a circular stroke to the Hide Selected command so that it both selects the objects and then hides all the objects in the bounding extents of the stroke pattern.

You can use strokes in two ways:

Using the Keyboard with Strokes

The same stroke pattern can perform four different functions by holding , , or + when drawing the stroke:

Procedures

To define and use strokes with the middle mouse button:

  1. Choose Customize menu Preferences Preference Settings dialog Viewports tab.
  2. In the Mouse Control group, turn on Stroke.

    You must turn on this option for all Stroke functions to work with (the middle mouse button).

  3. Hold and drag in a viewport to make a stroke. If the stroke hasn't been defined, a dialog appears where you can click Define to define the stroke. If the stroke has already been defined, the corresponding function is executed.

    See Defining Strokes for information on defining and editing strokes.

To define and use strokes with the left mouse button:

  1. Choose Utilities panel Utilities rollout More button Utilities dialog Strokes.
  2. Turn on Draw Strokes.
  3. Hold (the left mouse button) and drag in a viewport to make a stroke. If the stroke hasn't been defined, a dialog appears where you can click Define to define the stroke. If the stroke has already been defined, the corresponding function is executed.

    See Defining Strokes for information on defining and editing strokes.

Example: To assign Object Properties to a stroke:

  1. Use one of the first two procedures to activate strokes.
  2. Hold down , and drag from top to bottom and then back up to the starting point.
  3. The Define Stroke dialog appears, and the name of the stroke is "HKKH."
    Note: Depending on how you drew your stroke sequence, it might be defined by different letters. This is fine, as long as you use the same sequence to enact the stroke after you have finished defining it.

    If an alert appears, you've either drawn the stroke incorrectly, or this stroke has already been assigned. Continue with the following steps to replace the defined stroke.

  4. Choose the Properties command from the Command To Execute list.
  5. The option enabled is Single Object At Start Of Stroke, because that's the logical choice for the Object Properties command.
  6. Click OK.
  7. Drag vertically down and back up over any object in the scene to display the Object Properties dialog for that object.

Example: To assign Hide Selection to a stroke:

  1. Use one of the first two procedures to activate strokes.
  2. Hold down , and drag vertically from top to bottom.
  3. In the alert that appears, click Yes to redefine the stroke and display the Define Stroke dialog.

    The name of this stroke is HK.

    Note: Depending on how you drew your stroke sequence, it might be defined by different letters. This is fine, as long as you use the same sequence to enact the stroke after you have finished defining it.
  4. Choose Hide Selection from the list.
  5. Choose All Objects in the Selection Set.
  6. Click OK.
  7. Load a scene containing several objects, and select two or more objects.
  8. Drag vertically from top to bottom in the viewport.

    The selected objects are all hidden.