OutputPortCollection
 
 
 

OutputPortCollection

Introduced

v3.0

Description

A collection of OutputPort objects that represent the output ports of an Operator object. This collection is 0-based.

Methods

Filter Find GetAsText  
       

Properties

Count operator Item operator    
       

Examples

VBScript Example

'
'       This example illustrates how to iterate over the output ports
'       of an operator and access the object being written too.
'
set root = Application.ActiveProject.ActiveScene.Root
set grid = root.AddGeometry("Grid","MeshSurface")
' find the operators on the grid
for each op in grid.ActivePrimitive.ConstructionHistory
           LogMessage op.Name & ", " & op.Type
           for each port in op.OutputPorts
                   LogMessage port.Name & ": " & port.target2
           next
next

See Also

Operator.OutputPorts