Command entry:Create or select an object.
Modify panel
Modifier List
Object Space Modifiers
Attribute Holder
Command entry:Create or select an object
Modifiers menu
Animation
Attribute Holder
The Attribute Holder modifier is an empty modifier that provides a readily accessible user interface on the Modify panel to
which you can add custom attributes. It has no user interface of its own; the interface consists solely of those attributes you assign to it. In essence, Attribute
Holder is a stripped-down version of Parameter Collector that can collect only custom attributes and appears on the Modify panel instead of a floating dialog.
Procedures
Example: To collect different custom attributes in an Attribute Holder modifier:
Before undertaking this procedure, you should be familiar with basic usage of the Parameter Wiring dialog.
- Add a small box to an empty scene. Make it about 20.0 units on a side.
- Apply a Taper modifier and an Attribute Holder modifier, in that order.
In the modifier stack, the Attribute Holder modifier should be highlighted.
- From the Animation menu, choose Parameter Editor.
- In Parameter Editor, on the Attribute Rollout, make or ensure the following settings:
- Add to Type=Selected Object's Current Modifier
- Parameter Type=Float
- UI Type=Slider
- Name=Box Height
- On the Float UI Options rollout, keep all the default settings.
- On the Attribute Rollout, click Add.
The Custom Attributes rollout appears on the Modify panel, containing the new Box Height slider.
- Add another attribute:
- Add to Type=Selected Object's Current Modifier
- Parameter Type=Integer
- UI Type=Spinner
- Name=Box Height Segs
- Integer UI Options Range=From 1 to 50.
- Add two more Float/Spinner attributes named Taper Amount and Taper Curve.
The Attribute Holder modifier now has four custom attributes, but they don't do anything because they're not connected. You'll
use Parameter Wiring to hook them up.
- Close the Parameter Editor dialog.
- In the active viewport, right-click the box and choose Wire Parameters. From the pop-up menu that appears, choose Modified
Object Box (Object) Height.
A rubber-band dashed line appears connecting the mouse cursor to the box.
- You can't connect this “wire” directly to the custom attribute, so just left-click in an empty part of the viewport to open
the Parameter Wiring dialog.
The hierarchy list on the left side, Box01, is expanded to the box's Height parameter, which is highlighted.
- On the right side, expand this path: Object Box01 Modified Object Attribute Holder Custom Attributes, and then click Box Height to highlight it.
- Click (Two-way Connection, the double-headed arrow), and then click Connect.
- Similarly, connect Height Segments on the left side to Box Height Segments on the right.
- Close the Parameter Wiring dialog.
- Right-click the box again, choose Parameter Wiring, choose Modified Object Taper Amount, and then left-click to open the Parameter Wiring dialog.
The Amount parameter is highlighted on the left side of the dialog.
- On the right side, click the Attribute Holder's Taper Amount parameter, and then connect them.
- Connect Curvature on the left side to Taper Curve on the right side, and then close the dialog.
All the parameters are now hooked up.
- Experiment with changing the values on the Custom Attributes rollout.
The Attribute Holder modifier lets you change the box's creation parameters as well as the Taper modifier's settings without
switching back and forth in the modifier stack. In this way you can access, in one convenient location, as many different
parameters from different levels in an object's modifier stack, or even from different objects, as you like.
You might notice that you can't set the taper to curve inward. You can resolve this by reopening Parameter Editor, clicking
Edit/Delete, and then modifying the Taper Curve attribute to allow negative values. The change takes effect immediately, with
no rewiring required.