If you have wrapped the functionality as Python module which works in Softimage, that same module should work fine in Nuke... Just need to make sure it's compiled for the correct Python version/arch/etc
Then if the .so file is on PYTHONPATH, you should be able to import it like any other Python module On 17/11/11 17:54, Adam Wierzchowski wrote: > We have some C++ functions which help us in browsing certain folders, > for example folders where cameras for each shot are stored. These > functions are exposed in different ways to mel, Softimage's python etc. > How can I expose these functions to Nuke's python? > > I don't feel like rewriting all of it in python. I think that correct > way of doing this is C++ extension for python put into <nuke_root>/DLLs/. > > Are there other, maybe easier, ways of doing this? > > regards > Adam > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python -- ben dickson 2D TD | [email protected] rising sun pictures | www.rsp.com.au _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
