pymel.core.general.softSelect

softSelect(*args, **kwargs)

This command allows you to change the soft modelling options. Soft modelling is an option that allows for reflection of basic manipulator actions such as move, rotate, and scale. In query mode, return type is based on queried flag.

Flags:
  • compressUndo : cu (int) [create,query,edit]

    Controls how soft selection settings behave in undo: 0 means all changes undo individually1 means all consecutive changes undo as a group2 means only interactive changes undo as a groupWhen queried, returns an int indicating the current undo behaviour.

  • enableFalseColor : efc (int) [create,query,edit]

    Set soft select color feedback on or off. When queried, returns an int indicating whether color feedback is currently enabled.

  • softSelectColorCurve : scc (unicode) [create,query,edit]

    Sets the color ramp used to display false color feedback for soft selected components in the viewport. The color curve is encoded as a string of comma separated floating point values representing the falloff curve CVs. Each CV is represented by 5 successive values: 3 RGB values (the color to use), an input value (the selection weight), and a curve interpolation type. When queried, returns a string containing the encoded CVs of the current color feedback curve.

  • softSelectCurve : ssc (unicode) [create,query,edit]

    Sets the falloff curve used to calculate selection weights for components within the falloff distance. The curve is encoded as a string of comma separated floating point values representing the falloff curve CVs. Each CV is represented by 3 successive values: an output value (the selection weight at this point), an input value (the normalised falloff distance) and a curve interpolation type. When queried, returns a string containing the encoded CVs of the current falloff curve.

  • softSelectDistance : ssd (float) [create,query,edit]

    Sets the falloff distance (radius) used for world and object space soft selection. When queried, returns an float indicating the current falloff distance.

  • softSelectEnabled : sse (int) [create,query,edit]

    Sets soft selection based modeling on or off. When queried, returns an int indicating the current state of the option.

  • softSelectFalloff : ssf (int) [create,query,edit]

    Sets the falloff mode: 0 for volume based falloff1 for surface based falloff2 for global falloffWhen queried, returns an int indicating the falloff mode.

  • softSelectReset : ssr (bool) [create,edit]

    Resets soft selection to its default settings. Flag can have multiple arguments, passed either as a tuple or a list.

  • softSelectUVDistance : sud (float) [create,query,edit]

    Sets the falloff distance (radius) used for UV space soft selection. When queried, returns an float indicating the current falloff distance.

Derived from mel command maya.cmds.softSelect

Previous topic

pymel.core.general.snapMode

Next topic

pymel.core.general.spaceLocator

Core

Core Modules

Other Modules

This Page