pymel.core.general.isTrue

isTrue(*args, **kwargs)

This commmand returns the state of the named condition. If the condition is true, it returns 1. Otherwise it returns 0.

Derived from mel command maya.cmds.isTrue

Example:

import pymel.core as pm

pm.isTrue( 'SomethingSelected' )
# Result: 0 #

Previous topic

pymel.core.general.isDirty

Next topic

pymel.core.general.isolateSelect

Core

Core Modules

Other Modules

This Page