init.py (mac)
Posted in: Nuke Plugins & ScriptsI am using a mac and I already did what I want to do on windows it worked, but here I can’t get it right. So here is my problem:
I have a folder on my mac with all my plugins.
I want the init.py to say to go check this folder first.
First question:
where do I put this init.py
and second question: is my init.py right or wrong?
nuke.pluginAddPath("myharddrive/SETTINGS/")
# add path for user installed .gizmo files
nuke.pluginAppendPath("myharddrive/SETTINGS/plugins/" + "/gizmos")
# add path for user installed .tcl files
nuke.pluginAppendPath("myharddrive/SETTINGS/plugins/" + "/tcl")
# add path for user installed icons
nuke.pluginAppendPath("myharddrive/SETTINGS/plugins/" + "/icons")
# add path for user installed python scripts
sys.path.append("myharddrive/SETTINGS/plugins/" + "/python")
maybe the path on my mac is not good but I don’t know how to write it.
Thanks guys for helping
Post a Comment