Maya display Smooth


#1

Hi,

I’m looking for a command (tag?) in python
I list shapes in scene and I want to change the smoothmesh preview (no problems until now)
But I cant find the commande for Sudivision methode (,maya Catmull-Clark…)

cmds.setAttr (‘pConeShape1.smoothLevel’, 4)
cmds.setAttr (‘pConeShape1.renderSmoothLevel’, 4)
cmds.setAttr (‘pConeShape1.useGlobalSmoothDrawType’,0 )

cmds;;;???


#2

How about:

cmds.setAttr ('pConeShape1.smoothDrawType', 3)

The int refers to the menu positions.


#3

It seams really good :wink:
thanks
G