Message 1 of 1
Maya Mash - repromeshShape - confusing connections results with python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
I got one mash network composed with a single plane with a texture
Here are the six connections I have found with this code :
name='MASH2_ReproMeshShape' list_connectedNode_attribute = cmds.listConnections(name,p=True) list_connections= cmds.listConnections(name,c=True) print len(list_source) for i in range(0,len(list_source)): print list_connectedNode_attribute[i] print list_connections[i]
MASH2_Repro.outMesh
MASH2_ReproMeshShape.inMesh
MASH2_Repro.meshMatrix
MASH2_Repro
MASH2_Repro.meshMessage
MASH2_ReproMeshShape.worldInverseMatrix
set7.dagSetMembers[2]
MASH2_Repro
groupId20.groupId
MASH2_ReproMeshShape.message
set7.memberWireframeColor
MASH2_Repro
2 questions :
1. Why 6 results although I got five in my node editor (see picture below)
2. Why MASH2_Repro is listed 3 times as a connection instead of MASH2_ReproMeshShape ?