kev2 Posted July 24, 2019 Share Posted July 24, 2019 (edited) I have an FBX with many embedded locked OTLS. Is there a way to globally unlock them? I'm trying to change the texture path on a shader for the OTL geo with Pre-Flight but can't b/c the OTLs are locked other than import the FBX with unlock on? Edited July 24, 2019 by kev2 Quote Link to comment Share on other sites More sharing options...
bunker Posted July 25, 2019 Share Posted July 25, 2019 You can do that with python (if anyone knows a simpler way, let us know) n=hou.nodeTypeCategories() for i in n: for j in n[i].nodeTypes(): k=n[i].nodeTypes()[j].instances() if len(k)>0: for l in k: if l.isLockedHDA(): l.allowEditingOfContents() I've attached a file with a null that execute that code with a press of a button unlockall_otls_001.hipnc Quote Link to comment Share on other sites More sharing options...
kev2 Posted July 25, 2019 Author Share Posted July 25, 2019 This is great, thanks Julien Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.