I think you’re after <knob>.arraySize() Keep in mind that this will only work with knobs inherited from Array_Knob. And as far as multiple views go, you just need to multiply the arraySize() value by the number of views.
-Nathan From: Howard Jones Sent: Monday, March 07, 2011 10:38 AM To: Nuke Python discussion Subject: [Nuke-python] knobs fields Dear all Whats the best way to determine the amount of fields a knob will have. ie XY position knob has 2 fields but 4 in stereo (I think?) What I'd like to do is query the knob and get an integer for its fields. Any help much appreciated Howard -------------------------------------------------------------------------------- _______________________________________________ Nuke-python mailing list [email protected] http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list [email protected] http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
