Jun 2012
1 / 4
Jun 2012
Jun 2012

can that be done? Toggling the smooth mesh preview checkbox in a shape's attribute editor via a mel command?
I can't find a command in the script editor output, even with "echo all commands" turned on....

  • created

    Jun '12
  • last reply

    Jun '12
  • 3

    replies

  • 3.6k

    views

  • 1

    user

setAttr .displaySmoothMesh -mode-

Or have a look at the mesh node help.

thanks! That helps. But I'm looking at the node help right now and found .displaySmoothMesh, but the type is "enum", so I don't know what to specify as a value to toggle it on or off?

just use integers, 0 stands for OFF, 1 shows the mesh AND the smooth mesh, 2..., 3... etc

Suggested Topics

Want to read more? Browse other topics in Maya or view latest topics.