Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Connection not made: 'file19.message' -> 'defaultTextureList1.textures[-1]'. Destination is locked.

6 REPLIES 6
Reply
Message 1 of 7
942646156
5934 Views, 6 Replies

Connection not made: 'file19.message' -> 'defaultTextureList1.textures[-1]'. Destination is locked.

942646156_0-1653875493033.png

Maya cannot create a map node

Please help me~~

6 REPLIES 6
Message 2 of 7
darby_kim
in reply to: 942646156

I'm having a hard time with the same error 'maya 2022'

Message 3 of 7
flymooncn
in reply to: 942646156

Try this:

import maya.cmds as cmds
# defaultTextureList1 -- the lock node.
cmds.lockNode('defaultTextureList1', l=False, lockUnpublished=False)

 

Message 4 of 7
tianyisongN2U86
in reply to: flymooncn

Hi,

do you know to unlock or lock this 'defaulTextureList1' node not using script?

script works but i cannot find this node in maya.

Message 5 of 7
creationasif
in reply to: 942646156

for temp solution you can run this in mel 

 

lockNode -lock off -lu 0 defaultTextureList1;

 

For permanent solution you can ping me directly 

Message 6 of 7
ianxiang
in reply to: tianyisongN2U86

It's default node of Maya. You can find it from here:

 

 

import maya.cmds as cmds
cmds.ls(defaultNodes=True)

 

 

Locking the default node can protect the node, but they will pollute Maya’s default environment.
If you open a wrong file, other files will have lock information when they resave. 

 

 

import maya.cmds as cmds
# unlock all dfault nodes
[cmds.lockNode(i, l=False) for i in cmds.ls(defaultNodes=True)​]

 

 



 

Message 7 of 7

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums