8

540 Chapter 8: Modifiers
Inthemodifierstack,theAttributeHolder
modifier should be highlighted.
3. From the Animation menu, choose Parameter
Editor.
4. In Parameter Editor, on the Attribute Rollout,
make or ensure the following settings:
Add to Type=Selected Object’s Current
Modifier
Parameter Type=Float
•UIType=Slider
•Name=Box Height
5. On the Float UI Options rollout, keep all the
default setti ngs.
6. On the Attribute Rollout, click Add.
The Custom Attributes rollout appears on the
Modif y panel, containing the new Box Height
slider.
7. Add another attribute:
Add to Type=Selected Object’s Current
Modifier
Parameter Type=Integer
•UIType=Spinner
•Name=Box Height S egs
Integer U I Options > Range=From 1 to 50.
8. Add two more Float/Spinner attributes named
Ta p e r A m o u nt and Ta p er Cu r ve.
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.
9. Close the Parameter Editor dialog.
10. 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.
11. You can’t connect this “wire directly to the
custom attribute, s o just left-click in an empty
part of the v iew port to open the Parameter
Wiring dialog.
The hier archy list on the left side, Box01, is
expanded to the box’s Height parameter, which
is hig hlighted.
12. On the r ight side, expand this path: Object >
Box01 > Modified Object > Attribute Holder >
Custom A ttributes, and then click Box Height
to highlight it.
13. Click the Two-way Connection button
(double-headed arrow), and then click
Connect.
14. Similarly, connect Height Segments on the left
side to Box Height Segments on the right.
15. C lose the Parameter Wiring dialog.
16. Ri ght-click the box again, choose Parameter
Wiring, choose Modified Object > Taper
> Amount, and then left-click to open the
Parameter Wiring dia log.
The Amount parameter is highlig hted on the
left side of the dialog.
17. On the right side, click the Attribute Holder’s
Taper Amount parameter, and then connect
them.
18. Connect Curvature on the left side to Taper
Curveontherightside,andthenclosethe
dialog.
All t he parameters are now hooked up.
19. Experiment with changing the v alues on the
Custom A ttributes 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 for th in the modifier stack. In this
way you can access, in one convenient location,