- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When I query connections to a Shading Group, I get a list like so:
cmds.listConnections('pCubeShape1', type='shadingEngine', connections=True)
['pCubeShape1.compInstObjGroups.compObjectGroups[0]','phong1SG']
So first issue, is that I passed the connection flag, but I did not get the expected Destination Attribute. I expected to get:
'phong1SG.dagSetMembers[1]'
But I only got the Node Name.
The second problem is that the returned Attribute on the Shape Node isn't actually a valid Attribute. The real Attribute connected to the Shading Group is:
'pCubeShape1.compInstObjGroups[0].compObjectGroups[0]'
Does anyone have experience with this, is it expected? is it a bug?
Thanks.
Solved! Go to Solution.
Link copied