在init.py中按照以下代码书写:
import nuke
if nuke.NUKE_VERSION_STRING.startswith("10"):
nuke.pluginAddPath("C:/Plug-in/...")
if nuke.NUKE_VERSION_STRING.startswith("11"):
nuke.pluginAddPath("C:/Plug-in/...")
if nuke.NUKE_VERSION_STRING.startswith("12"):
nuke.pluginAddPath("C:/Plug-in/...")