Open topic with navigation
<effect>.unapply
Remove the effect from all nodes and composers
<effect>.unapply( |
|
flags = viz.UNAPPLY_ALL |
) |
|
flags = viz.UNAPPLY_ALL
A combination of the following unapply flags:
viz.UNAPPLY_NODE | Remove the effect from all previously applied nodes. |
viz.UNAPPLY_COMPOSER | Remove the effect from all previously applied composers. |
viz.UNAPPLY_ALL | An alias for (viz.UNAPPLY_NODE | viz.UNAPPLY_COMPOSER). |
Remarks
This command can be used to remove the effect from all applied nodes or composers, depending on the specified flags.
Return Value
None
Example
effect = viz.addEffect('effect.vizfx')
model.apply(effect)
.
.
.
# Will no longer affect the model
effect.unapply()
See also