pymel.core.general.displaySmoothness

displaySmoothness(*args, **kwargs)

This command is responsible for setting the display smoothness of NURBS curves and surfaces to either predefined or custom values. It also sets display modes for smoothness such as hulls and the hull simplification factors. At present, this command is NOT un-doable. In query mode, return type is based on queried flag.

Flags:
  • all : all (bool) [create,query]

    Change smoothness for all curves and surfaces

  • boundary : bn (bool) [create,query]

    Display wireframe surfaces using only the boundaries of the surface Not fully implemented yet

  • defaultCreation : dc (bool) [create,query]

    The default values at creation (applies only -du, -dv, -pw, -ps)

  • divisionsU : du (int) [create,query]

    Number of isoparm divisions per span in the U direction. The valid range of values is [0,64].

  • divisionsV : dv (int) [create,query]

    Number of isoparm divisions per span in the V direction. The valid range of values is [0,64].

  • full : f (bool) [create,query]

    Display surface at full resolution - the default.

  • hull : hl (bool) [create,query]

    Display surface using the hull (control points are drawn rather than surface knot points). This mode is a useful display performance improvement when modifying a surface since it doesn’t require evaluating points on the surface.

  • pointsShaded : ps (int) [create,query]

    Number of points per surface span in shaded mode. The valid range of values is [1,64].

  • pointsWire : pw (int) [create,query]

    Number of points per surface isoparm span or the number of points per curve span in wireframe mode. The valid range of values is [1,128]. Note: This is the only flag that also applies to nurbs curves.

  • polygonObject : po (int) [create,query]

    Display the polygon objects with the given resolution Flag can have multiple arguments, passed either as a tuple or a list.

  • renderTessellation : rt (bool) [create,query]

    Display using render tesselation parameters when in shaded mode.

  • simplifyU : su (int) [create,query]

    Number of spans to skip in the U direction when in hull display mode.

  • simplifyV : sv (int) [create,query]

    Number of spans to skip in the V direction when in hull display mode.

Derived from mel command maya.cmds.displaySmoothness

Previous topic

pymel.core.general.displayRGBColor

Next topic

pymel.core.general.displayStats

Core

Core Modules

Other Modules

This Page