It would be nice to have an option to do that without having to make a gizmo. At work we decided to try to go gizmo free, using toolsets only, for improved compatibility both internally and externally. The only single thing I miss from gizmos is the ability to save default values.
Is there a way to do that? On 1 Aug 2015 05:05, "Rich Bobo" <[email protected]> wrote: > Charles, > > Yeah, that’s what was tripping me up. I was working on the toolset as a > Group. Kind of annoying that it you have to save it as a Gizmo to set the > default reset values… (8^\ But, at least I know now. > > Rich > > > On Jul 31, 2015, at 4:47 PM, Charles Taylor <[email protected]> wrote: > > What about groups? We don't use gizmos here for a variety of reasons, but > rather groups. It seems that groups always default back to the knob's > default. > > - Charles > > On 07/31/2015 04:44 PM, Matt Plec wrote: > > Hey Rich - > > It should reset to whatever value the knob was set to when you initially > created the gizmo. You can edit the value saved in the .gizmo file in a > text editor or in nuke convert back to a group, set the knob to the default > value you want, and then save the gizmo again. > > For instance, if I've got this at the head of the gizmo file: > > Gizmo { > amount 0.1 > } > > It should reset to 0.1. Just change that to another value, save the file, > and that's the new default. > > Be careful about this changing the behavior of existing scripts. If you > have scripts using that gizmo that didn't set the knob different from > default, it isn't saved in the nuke script. When those scripts reload after > you change the default, they'l get the new value. If you want that, super! > If not, save a new version of the gizmo so old scripts can still pick up > the original and render the same. > > Matt > > > On Fri, Jul 31, 2015 at 12:19 PM, Rich Bobo <[email protected]> wrote: > >> Hi, >> >> Is there a way to set the default “reset” value for a knob that you have >> added to a menu? >> >> For instance, in a gizmo, I have added a Floating Point Slider knob. When >> the user does a CNTRL-click (or CMD-click) on the slider, I would like it >> to reset to 1.0 — not 0.0. >> >> Can it be easily done…? >> >> Thanks, >> Rich >> >> >> Rich Bobo >> Senior VFX Compositor >> Armstrong White >> Email: [email protected] >> http://armstrong-white.com/ >> >> Email: [email protected] >> Mobile: (248) 840-2665 <%28248%29%20840-2665> >> Web: http://richbobo.com/ >> >> >> _______________________________________________ >> Nuke-python mailing list >> [email protected], http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> >> > > > _______________________________________________ > Nuke-python mailing [email protected], > http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > >
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
