Hi All,

I have two questions for you regarding NukeStudio & its hiero module :

1. Nuke can be imported as a module in python. Is it possible to do the
same with hiero.core ?

2. If not; I'm trying to launch NS in batch mode and call a python file :

[pathToNukeExec] --studio -it myFile.py

In myFile.py I simply do:
import hiero.core

This should work but I get this error which some of you had as well:

*NukeStudio 9.0v8, 64 bit, built Oct 26 2015.*
*Copyright (c) 2015 The Foundry Visionmongers Ltd.  All Rights Reserved.*
*Licence expires on: 2016/1/26*
*Traceback (most recent call last):*
*  File "test.py", line 4, in <module>*
*    import hiero.core*
*  File "C:\Program
Files\Nuke9.0v8\pythonextensions\site-packages\hiero\__init__*
*.py", line 2, in <module>*
*    import FnRedirect*
*  File "C:\Program
Files\Nuke9.0v8\pythonextensions\site-packages\hiero\FnRedire*
*ct.py", line 1, in <module>*
*    from _fnpython import **
*ImportError: No module named _fnpython*
*No module named _fnpython*


Why does this happens ?
If it is not possible to call hiero.core from batch mode, what is the point
of that command ?

Do you have any solution to *create & modify a NS file (.hrox) in batch
mode* ?

Many thanks,
Justin
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to