pymel.core.animation.jointDisplayScale

jointDisplayScale(*args, **kwargs)

This action modifies and queries the current display size of skelton joints. The joint display size is controlled by a scale factor; scale factor 1 puts the display size to its default, which is 1 in diameter. With the plain format, the float argument is the factor with respect to the default size. When -a/absolute is used, the float argument refers to the actual diameter of the joint display size. In query mode, return type is based on queried flag.

Flags:

Long Name / Short Name Argument Types Properties
absolute / a bool ../../../_images/create.gif ../../../_images/query.gif
  Interpret the float argument as the actual display size as opposed to the scale factor.
ikfk / ik bool ../../../_images/create.gif ../../../_images/query.gif
  Set the display size of ik/fk skeleton joints. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.jointDisplayScale

Example:

import pymel.core as pm

# Half the display size with respect to the default size.
#
pm.jointDisplayScale( 0.5 )

# Display the joint with diameter of 2 linear units.
#
pm.jointDisplayScale( 2.0, a=True )