Message 1 of 4
Not applicable
10-24-2018
10:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I can link the MASH distribute node to a selection set in the UI. But I am not able to properly do it in code. Is there a python call to create the link? I tried simply connecting the attributes like this:
cmds.connectAttr(vertSet+".message", mashNetwork.distribute+".selectionSetMessage")
Which appears to work (the UI thinks it's connected), but the network doesn't function properly. Is there a special call to do this, or just some maya connections I can set up so scripting it works identically to doing it manually in the UI?
Solved! Go to Solution.