pymel.core.windows.linearPrecision

linearPrecision(*args, **kwargs)

This command controls the display of linear strings in the interface. (See the linearField command). Setting this affects any linear strings displayed afterwards, formatting them so they will show at most the specified number of digits after the decimal point. Allowed values are 0 through 6. In query mode, return type is based on queried flag.

Flags:

Derived from mel command maya.cmds.linearPrecision

Example:

import pymel.core as pm

pm.linearPrecision( 3 )
pm.linearPrecision( 10 ) # will be rounded down to 6, the maximum

Previous topic

pymel.core.windows.layoutDialog

Next topic

pymel.core.windows.loadPrefObjects

Core

Core Modules

Other Modules

This Page