Hi Nathan.
At the moment when I load a script from, let's say, windows to linux, it
comes up with an error.
When double clicking the node, it comes up with a knob "command" that has
as a value the path to that gizmo ("Z:/CORE/2D/NUKE/GIZMOS/xxxx.gizmo")
As well as a second knob containing all the parameters for said gizmo.
If I open the .nk in a text editor and search and replace Z:/ by my linux
path, then it opens just fine.
Could it be that my gizmo menu adds them the wrong way then?
menu.addCommand(name, 'nuke.createNode("'+ path + '")', "")
Where path is the full path to the gizmo, including the filename.
On Jan 5, 2015 2:29 PM, "Nathan Rusch" <[email protected]> wrote:
> Maybe I’m misunderstanding the problem you’re trying to solve, but
> gizmos are not created from an absolute path. Rather, their class names and
> knob values are included in the script like other plugins. You just need to
> make sure the same .gizmo file is on the Nuke plugin path for any machine
> that needs the gizmo.
>
> -Nathan
>
>
> *From:* Erwan Leroy <[email protected]>
> *Sent:* Sunday, January 04, 2015 1:21 AM
> *To:* Nuke Python discussion <[email protected]>
> *Subject:* [Nuke-python] platformPathRemaps
>
>
> Hi everyone, and Happy new year.
> I'm looking at using the built in "platformPathRemaps" (knob in
> preferences). It works great for reads and writes, but doesn't seem to work
> with gizmo locations.
> I wanted to look into the script but cannot find anything so far, and
> there seems to be no documentation whatsoever about that knob. (A google
> search doesn't return anything).
> Does anyone know if the remapping is handles by a python script?
>
> Cheers
> Erwan
>
> ------------------------------
> _______________________________________________
> 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