Introduced
3.0
Description
Adds a new unconnected pass input FxOperator to the FxTree object. This can be used to automatically create a 'file input' FxOperator based on the image files of a rendered pass.
Scripting Syntax
AddPassInputFxOp( [FxTree], [RenderPass], [Framebuffer] )
Parameters
|
Parameter |
Type |
Description |
|
FxTree |
Object pointer or Object name for FxTree. Default Value: Current selection. Note: If the current selection is not a valid FxTree, an error occurs. |
|
|
RenderPass |
Object pointer or Object name for pass to be associated with the new operator. Default Value: Current selection. Note: If the current selection is not a valid render pass, an error occurs. |
|
|
Framebuffer |
Name of the framebuffer to get the files from, or, if empty, all the framebuffers on the pass. Default Value: Empty |
Return Value
Examples
VBScript Example
' This example creates an FxTree, adds and connects the LowPassFilter and ' HighPassFilter operators to it, and then disconnects them set oTree = CreateFxTree() set oPass = GetValue("Passes.Default_Pass") ' Add the new image clip operator and print out some info set oOperator = AddPassInputFxOp( oTree, oPass ) Application.LogMessage "New operator is called '" _ & oOperator.Name & "' operator." ' Output of above script is: 'INFO : "New operator is called 'Default' operator."
Autodesk Softimage v7.5