Return description of the hardware available in the machine.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
brdType (brd) | bool | ||
|
|||
cpuType (cpu) | bool | ||
|
|||
graphicsType (gfx) | bool | ||
|
|||
megaHertz (mhz) | bool | ||
|
|||
numProcessors (npr) | bool | ||
|
Derived from mel command maya.cmds.hardware
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.hardware( cpu=True )
# Result: [u'Intel Core i7 Processor'] #
pm.hardware( brd=True )
# Result: [u'Intel Macintosh'] #