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 ../../../_images/create.gif
  Returns IP number identifying the CPU motherboard
cpuType / cpu bool ../../../_images/create.gif
  Returns type of CPU
graphicsType / gfx bool ../../../_images/create.gif
  Returns string identifying graphics hardware type
megaHertz / mhz bool ../../../_images/create.gif
  Returns string identifying the speed of the CPU chip
numProcessors / npr bool ../../../_images/create.gif
  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'] #