pymel.core.system.hardware

static system.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'Intel Core 2 Duo Processor'] #
pm.hardware( brd=True )
# Result: [u'Intel Macintosh'] #

Previous topic

pymel.core.system.getReferences

Next topic

pymel.core.system.hitTest

Core

Core Modules

Other Modules

This Page