Go to: Synopsis. Return value. Keywords. Flags. MEL examples.

Synopsis

polyCacheMonitor [-cacheValue boolean] [-nodeName string]

polyCacheMonitor is NOT undoable, NOT queryable, and NOT editable.

When the cacheInput attribute has a positive value the midModifier node caches the output mesh improving performance in computations of downstream nodes. When the counter has a zero value the midModifier releases the cached data.

Return value

None

Keywords

poly, cache

Flags

cacheValue, nodeName
Long name (short name) Argument types Properties
-nodeName(-nm) string create
Name of the node whose cache counter needs to be changed.
-cacheValue(-chv) boolean create
Flag to indicate whether the node's cache counter should be incremented or decremented. True increments the counter, false decrements the counter.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// increment cache counter on polyExtrudeFace1 node
polyCacheMonitor -nodeName "polyExtrudeFace1";
// update/edit manipulate nodes which are present downstream
// with respect to polyExtrudeFace1
// decrement cache counter on polyExtrudeFace1 node
// so that the cache is set free
polyCacheMonitor -nodeName "polyExtrudeFace1" -cacheValue false;