Go to: Synopsis. Return value. Related. Flags. Python examples.

Synopsis

jointDisplayScale( float , [absolute=boolean], [ikfk=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

jointDisplayScale is undoable, queryable, and NOT editable.

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.

Return value

None

In query mode, return type is based on queried flag.

Related

connectJoint, ikHandle, ikHandleDisplayScale, ikSolver, ikSystem, ikSystemInfo, insertJoint, joint, jointCluster, jointLattice, mirrorJoint, removeJoint, removeJoint

Flags

absolute, ikfk
Long name (short name) Argument types Properties
absolute(a) boolean createquery
Interpret the float argument as the actual display size as opposed to the scale factor.
ikfk(ik) boolean createquery
Set the display size of ik/fk skeleton joints.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

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

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