pymel.core.modeling.subdivCrease

subdivCrease(*args, **kwargs)

Set the creasing on subdivision mesh edges or mesh points that are on the selection list.

Flags:

Long Name / Short Name Argument Types Properties
sharpness / sh bool ../../../_images/create.gif
  Specifies the sharpness value to set the crease to Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.subdivCrease

Example:

import pymel.core as pm

# after selecting components of a subdivision surface
pm.subdivCrease()