Hey gang, I've got an OTL I'm making and I'd like to be able to set a display flag inside the sop world using a button.
So far It works using python callback script using kwargs and then in the Scripts tab I create my display function for the specific node, it works fine on my master OTL. But as soon as I drop down a second OTL, that's locked, I get a locked/permissions error.
My question is, is there any way around this? Is there some sort of command or flag I'm missing, or is this just an illegal function in the grand scheme of things?
I know there's an opset command, but I hadn't given that a try yet, since I'm not sure how it works on an OTL.
Thanks!
-Rick
Using python for OTL parameter control
4793 4 0- Ratmann
- Member
- 110 posts
- Joined:
- Offline
- Ratmann
- Member
- 110 posts
- Joined:
- Offline
- jacob clark
- Member
- 665 posts
- Joined: July 2005
- Offline
- graham
- Member
- 1908 posts
- Joined: Nov. 2006
- Online
The fundamental nature of an asset is you can't make changes to a locked asset. Trying to change flags is of course never allowed. Using editable nodes is basically a hack. As Jacob said, using a Switch SOP to control which shape you see is the better way. The problem with using an editable node is that you can dive in and change any parameter or add/delete nodes inside it as well.
Graham Thompson, Technical Artist @ Rockstar Games
- Ratmann
- Member
- 110 posts
- Joined:
- Offline
-
- Quick Links