Go to: Synopsis. Return value. Related. Flags. Python examples.
jointDisplayScale(
float
, [absolute=boolean], [ikfk=float])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
jointDisplayScale is undoable, queryable, and editable.
This action modifies and queries the current display size of skeleton joints. The joint display size is controlled by a scale factor; a scale factor of 1 sets 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 diameter of the joint display size.
float | Returns current display size of skeleton joints. |
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
absolute(a)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
ikfk(ik)
|
float
|
![]() ![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds # Half the display size with respect to the default size. # cmds.jointDisplayScale( 0.5 ) # Set the display diameter of the joint to 2 linear units. # cmds.jointDisplayScale( 2.0, a=True ) # Set the display diameter of ik/fk joints to 2 linear units. # cmds.jointDisplayScale(2.0, a=True, ik=True);