Jul
31
Nuke Pyton Modules
Posted in: NUKE from The FoundryIs it possible to setup a module to work with nuke and use nuke functions?
I just want a function such as creating a node be called from a Python Button by importing the module. (keep the function up to date and consistent across all instances of being called).
But I get a "NameError: global name ‘nuke’ is not defined"
But the script is being executed in nuke:
import module
module.createNode()
so nuke should be a global name.
Post a Comment