Damn thats sucking. What would you suggest then how to access all the user created knobs? Iterate though all of the knobs and cross the ones i know i added off the list?! Of course i create knobs via the API dynamically so tracking all this is quite a pain.
I vote for a getUserKnobs function on DD::Image::Op . Anyone? Thanks jo On Tue, Jan 20, 2015 at 11:17 AM, Nathan Rusch <nathan_ru...@hotmail.com> wrote: > If you're planning to look the tab up by name, it's worth keeping in > mind that the "User" tab can be renamed. > > -Nathan > > > *From:* Johannes Saam <johannes.s...@gmail.com> > *Sent:* Tuesday, January 20, 2015 10:25 AM > *To:* Nuke plug-in development discussion > <nuke-dev@support.thefoundry.co.uk> > *Subject:* Re: [Nuke-dev] Acessing user knobs > > Ok i will have another look. I had no idea i could get an ID for the > user tab... the NDK docs will help for sure. It would be awesome to have a > function on Op like std::vector<Knob*> & getUserKnobs(). > > again should i be able to get it done i might share it here so we have it > written down. > > Also the user knobs that nuke provides with the ( might need a rework?? ) > interface are not at all what nuke offers in terms of knobbage. Is there a > way to hack more into it? As in is it a python script we can access and > enlarge? I am on the fence now to write a c++ version so i can have more > Knobs and then just store them under the user tab myself.... i keep yous > posted. > > Thanks! > JO > > On Tue, Jan 20, 2015 at 12:42 AM, Frank Harrison <fr...@thefoundry.co.uk> > wrote: > >> Hey, >> >> yes, that is a way. User-Knobs should always be on the "user" tab. >> >> This has come up before and I think we said that we'd add some pythonic >> getter for UserKnobs if we got a few more requests for it. >> >> I think, but don't quote me on this, that you can get the tab-idx and >> iterate from there. Perhaps there's something on Nukepedia >> <http://www.nukepedia.com/> to do this for you? >> >> F. >> >> On 20 January 2015 at 02:15, Johannes Saam <johannes.s...@gmail.com> >> wrote: >> >>> Hey Gang, >>> >>> is there an easy way to access knobs that have been created by the user >>> with "manage user knobs" >>> i know they are all in the "user" tab is that a way? I was hoping i >>> could get all the user generated knobs and then act on them. >>> Thanks! >>> JO >>> >>> _______________________________________________ >>> Nuke-dev mailing list >>> Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev >>> >>> >> >> >> -- >> Frank Harrison >> Senior Nuke Software Engineer >> The Foundry >> Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906 >> Web: www.thefoundry.co.uk >> Email: frank.harri...@thefoundry.co.uk >> >> _______________________________________________ >> Nuke-dev mailing list >> Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev >> >> > > ------------------------------ > _______________________________________________ > Nuke-dev mailing list > Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > > > _______________________________________________ > Nuke-dev mailing list > Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > >
_______________________________________________ Nuke-dev mailing list Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev