A simple start would be to include the help knob in the knob callbacks so people can hook it up to their own wikis.

On 14/06/12 5:48 AM, Ean Carr wrote:
Hey,

A few years ago, Bill S. was planning to add some kind of callback to the '?' tooltip button so users could override it with their own function, to do presumably something like nukescripts.start(...) to an internal wiki site or something for extra help on any given node. It's an official feature request #18247. Anyone wants to get this done, please email support so maybe they'll bump up priority!

Maybe additionally, I'd like URLs to work directly in the tooltip text. So, you click the '?', you get the tooltip as usual, but we can put a URL in there with a link to the wiki if anyone wants even more info on the node. It seems a shame that basic formatting html works but not hyperlinks.

-E

On Wed, Jun 13, 2012 at 10:15 AM, Josh Imbruglia <[email protected] <mailto:[email protected]>> wrote:

    thanks for the response frank,

    i've gone for the method of adding a new 'help' tab to all custom user
    created nodes with a pyscript button that opens up the web browser to
    the corresponding wiki entry. that seemed to be the easiest and most
    robust way. still not too sure what the Help_Knob is for then, looks
    legacy to me. haha

    cheers,
    josh

    On Sun, Jun 3, 2012 at 9:26 AM, Frank Rueter
    <[email protected] <mailto:[email protected]>> wrote:
    > You can edit the help knob by simply setting it's string:
    > node['help'].setValue( 'this is how to use this gizmo...' )
    >
    > Or in the group's UI: right click > Edit Help
    >
    > I'm not sure what the actual Help_Knob object is (the above
    mentioned knob
    > is actually a EvalString_Knob).
    >
    > I remember a feature request from D2Software days to mimic a
    Shake feature
    > which would allow you to dynamically link nodes' help to a url.
    It would be
    > great to have an easy mechanism for this.
    >
    > The help knob is pretty useless for what you're after though, as
    it won't
    > allow you to click on it's text.
    > Your best bet is to add a right click menu item to all nodes'
    properties
    > panel and call a function that grabs the node's class and builds
    a url, then
    > opens it:
    >
    >
    > def loadWiki():
    >
    > node = nuke.selectedNode()
    >
    > nodeClass = node.Class()
    >
    > url = 'www.myWiki/%s' % nodeClass
    >
    > print 'opening', url
    >
    > nuke.tcl('start %s') % url
    >
    > nuke.menu('Properties').addCommand( 'Open Wiki page', loadWiki )
    >
    >
    >
    > I used the tcl command to open a url as nukescripts.start()
    doesn't seem to
    > do anything (might be a bug).
    >
    > Cheers,
    > frank
    >
    >
    >
    >
    > On 1/06/12 9:16 PM, Josh Imbruglia wrote:
    >
    > hi everybody,
    >
    > just wondering if anyone knows of a best practice for adding a
    help to
    > all custom gizmos. I want to be able to link them to our wiki
    page for
    > a quick reference for new artists.
    >
    > so a couple questions i have are:
    >
    > what is the Help_Knob, is this what i want? it doesn't appear to
    > serialize so how does one use it? is it possible to setup an
    onCreate
    > callback that will add the Help_Knob dynamically for any custom
    gizmo?
    >
    > that begs me to ask, is there a way to detect if a node is an
    internal
    > Nuke one vs. a custom implementation?
    >
    > any ideas or thought would be more then welcome.
    >
    > cheers,
    > josh
    > _______________________________________________
    > Nuke-python mailing list
    > [email protected]
    <mailto:[email protected]>,
    http://forums.thefoundry.co.uk/
    > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
    >
    >
    > _______________________________________________
    > Nuke-python mailing list
    > [email protected]
    <mailto:[email protected]>,
    http://forums.thefoundry.co.uk/
    > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
    >
    _______________________________________________
    Nuke-python mailing list
    [email protected]
    <mailto:[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

Reply via email to