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
Link to comment
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


Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...