Monday, February 8, 2010

#1 Continued

So after more testing with the whole pound one thing (#1) I've discovered that its use goes far beyond checkboxes. In fact I think every GUI control can use it, from floatSliderGrps to textFields. It simply returns that control's value (usually the -v flag). So for instance you can use a floatSliderGrp to change an attribute by making the -dc or -cc flags "setAttr someObject.someAttr #1". Here's a really simple example that you can run in the script editor.

textField -cc "print #1";

No comments:

Post a Comment