Notifications
Clear all

[Closed] How to Capitalize Parameter and use Spaces for TrackView?

Hi,
First, I am definitely not a max scripter, far from it. I’m just trying to script some rollouts (sliders and spinners) for an attribute holder. One thing I cannot figure out is a cosmetic problem.

Where is the name defined which appears in the TrackView/Modified Object/Attribute Holder/name? Is it defined in ca=attributes HandControls?

The attached image shows part of a track view from Paul Neale’s Maxine rig. It appears as “HandControl” (circled in yellow), and then the parameters are listed below it. I can’t seem to get capital letters for the item HandControls. I’ve seen other rigs which use spaces here as well.

I’ve pulled off the maxscript with ca.source, and studied it, but I can’t see where I’m going wrong.

Thanks if anyone can help a neophyte.

Mahlon Bouldin

2 Replies
ca = attributes NewAttributes (
parameters NewParameters rollout:newRollout (
NewTrack type:#float UI:newSpinner;
)
rollout newRollout "Attributes" (
spinner newSpinner "Some Value " range:[0.0,100.0,0.0];
)
)
custAttributes.add $.modifiers[1] ca;

When defining the attribute definition, the name of the definition is “NewAttributes” in the above example. This is equivilant to the HandControls in your example. “NewTrack” will be the individual track names.

Stev

Thanks Stev,
That makes sense now. Acutally, closing and then restarting max fixed the ability to use capital letters. Works fine now…

Mahlon