If I create initialization script for a nullSOP, called “nul.py”, it's get called properly.
If I create initialization script for a explodeviewSOP, called “explodeview.py”, it's ignored.
NullSOP is a pure node, while explodevieSOP is an OTL.
If I create initialization script for my custom OTL, it's also ignored.
So I suppose that means that we need to place initialization script for OTLs in different place than in “scripts/sop” folder to make it work for OTLs too, right?
OTL initialization script problem
2580 3 0- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
- Infernalspawn
- Member
- 229 posts
- Joined: May 2006
- Offline
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
- mtucker
- Staff
- 4441 posts
- Joined: July 2005
- Offline
It's because that script is already defined inside the OTL. If you use “hotl -x” to expand your OTL, each asset will contain a file called “CreateScript”. When looking for the initialization script, Houdini will find this CreateScript first, and therefore not even look in the scripts/sop directory.
Mark
Mark
-
- Quick Links