Command to create or edit an iprEngine. A iprEngine is an object that watches for changes to shading networks and automatically reshades to generate an up-to-date image.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
copy (cp) | unicode | ||
Copies the deep raster file, as well as its related files, to the new location.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
defineTemplate (dt) | unicode | ||
Puts a command in a mode where any other flags and args are parsed and added to the command template specified in the argument. They will be used as default arguments in any subsequent invocations of the command when templateName is set as the current template. |
|||
diagnostics (dig) | bool | ||
estimatedMemory (mem) | bool | ||
|
|||
exists (ex) | bool | ||
|
|||
iprImage (ipr) | unicode | ||
|
|||
motionVectorFile (mvf) | bool | ||
|
|||
object (obj) | PyNode | ||
|
|||
region (r) | int, int, int, int | ||
|
|||
relatedFiles (rel) | bool | ||
|
|||
releaseIprImage (rii) | bool | ||
|
|||
resolution (res) | bool | ||
|
|||
scanlineIncrement (sli) | unicode | ||
Set the scanline increment percentage. If the height of the region being update is 240 pixels, and the scanlineIncrement is 10% then the image will refresh blocks of 24 scanlines. |
|||
showProgressBar (spb) | bool | ||
|
|||
startTuning (st) | bool | ||
|
|||
stopTuning (spt) | bool | ||
|
|||
underPixel (un) | int, int | ||
|
|||
update (u) | bool | ||
|
|||
updateDepthOfField (udf) | bool | ||
|
|||
updateLightGlow (ulg) | bool | ||
|
|||
updateMotionBlur (umb) | bool | ||
|
|||
updatePort (up) | unicode | ||
|
|||
updateShaderGlow (usg) | bool | ||
|
|||
updateShading (us) | bool | ||
|
|||
updateShadowMaps (usm) | bool | ||
|
|||
useTemplate (ut) | unicode | ||
|
Derived from mel command maya.cmds.iprEngine
Example:
import pymel.core as pm
import maya.cmds as cmds
# Create a iprEngine and tell it about an already created ipr image.
pm.iprEngine(ipr='iprImages/persp_scene1_ipr.iff')
# Tell the iprEngine about the region to update.
pm.iprEngine( 'iprEngine1', e=True, region=(10, 10, 100, 100))
# Tell the iprEngine to watch changes and update pixels.
pm.iprEngine( 'iprEngine1', e=True, startTuning=True )