pymel.core.system.hardware¶
- hardware(*args, **kwargs)¶
Return description of the hardware available in the machine.
Flags:
Long Name / Short Name Argument Types Properties brdType / brd bool Returns IP number identifying the CPU motherboard cpuType / cpu bool Returns type of CPU graphicsType / gfx bool Returns string identifying graphics hardware type megaHertz / mhz bool Returns string identifying the speed of the CPU chip numProcessors / npr bool Returns string identifying the number of processors Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.hardware
Example:
import pymel.core as pm pm.hardware( cpu=True ) # Result: [u'Quad-Core Intel Xeon Processor'] # pm.hardware( brd=True ) # Result: [u'Intel Macintosh'] #