Jump to content

Globally unlock mulitple OTLs?

Recommended Posts

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 by kev2

Share this post

Link to post
Share on other sites

You can do that with python (if anyone knows a simpler way, let us know)

for i in n:
    for j in n[i].nodeTypes():
        if len(k)>0:
            for l in k:
                if l.isLockedHDA():

I've attached a file with a null that execute that code with a press of a button :D


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now