My ultimate goal: Allow user to select options (using the NoteISwitch command) before rendering and exporting images. Options will include BPR On/Off, Floor On/Off, Perspective On/Off, Color Pass, Depth Pass, Shadow Pass, etc, etc.
I'm using the NoteISwitch command inside a note. So far I have 2 buttons setup ... one labeled "Floor On/Off" and another labeled "Perspective On/Off". Now I'm trying to figure out the path of these buttons. I need know if the button is selected or not.
An example of the behavior I'm looking for:
1. User selects desired options
2. User selects execute
3. When it executes, look at each option (for example "Perspective On/Off") and determine if it is selected of not
4. If the switch button is selected, turn Perspective on (IPress,Draw:Perspective)
Outside a note you just look up the path of the Switch button you've created. I'm not sure how to find the path of the button when it is in a note. Is this possible?
The numerical ID (basically its place in the list) for the NoteIButton is the return value of the final Note. There's an example at the bottom of this page that will show you how it's done: