Modul import
-
How can I import and run modules I've written in Nodepad++ in Cinema Python?
-
Hi @WDP I'm not sure to understand your question correctly, NodePad++ is a text editor, if you want to have this script in Cinema 4D, select your text, and copy/paste it into the Cinema 4d Script Manager. Otherwise it is also possible to load the file which is also loaded in NodePad++ directly in the Cinema 4D Script Manager via the "Load File" command in its File menu.
If you are interested about pure python module, the Python Libraries Page explain which folders are load by Python in Cinema 4D and finally there is the Python_init.py Page explaining about the init.py file loaded by Cinema 4D during the startup.
Cheers,
Maxime. -
Thank you very much!