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 processorsFlag can appear in Create mode of commandFlag 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

import maya.cmds as cmds

pm.hardware( cpu=True )
# Result: [u'Intel Core i7 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