Drive things with .displaySmoothMesh

115 views
Skip to first unread message

justin hidair

unread,
Aug 30, 2017, 1:18:37 AM8/30/17
to Python Programming for Autodesk Maya
I basically need the Smooth Mesh Preview of a object A to drive the one of an other object B, .. While it's just a matter of connection for the smoothing levels (.smoothLevel)
displaySmoothMesh is a b**** and don't want to connect , and I need it so bad, because I can't think of another way, except for nasty callbacks..
Screenshot 2017-08-29 22.12.17.png

Simon Anderson

unread,
Aug 30, 2017, 1:35:43 AM8/30/17
to Python Programming for Autodesk Maya
Have you tried connecting the shapes together using the node editor?

justin hidair

unread,
Aug 30, 2017, 12:18:09 PM8/30/17
to Python Programming for Autodesk Maya
I'd like to do it , but .displaySmoothMesh is a hidden attribute, that's why I went with connectAttr , any workarounds ?

Marcus Ottosson

unread,
Aug 30, 2017, 12:31:34 PM8/30/17
to python_in...@googlegroups.com
If it helps, you can display hidden attributes in the Connection Editor via the menu at the top.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/42d6a629-7d1d-4a29-9036-0e8089ee6444%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

justin hidair

unread,
Aug 30, 2017, 12:53:12 PM8/30/17
to Python Programming for Autodesk Maya
not even that , this attribute seems to be special to maya if it's that sneaky ... still looking for a real solution .also succeeded in connecting it to a custom short attribute on the shape node of the cylinder, I guess,
you can take that info, with smoothLevel and use generateSmoothMesh() ... is that how the BIG guys would do it ? I still prefer some direct kind of direct connection to take benefits of the smoothmesh preview..
Screenshot 2017-08-30 09.44.55.png
Reply all
Reply to author
Forward
0 new messages