OutputPortCollection

導入

v3.0

詳細

Operatorオブジェクトの出力ポートを表すOutputPortオブジェクトのコレクションです。このコレクションは 0から開始されます。

メソッド

Filter Find GetAsText  
       

プロパティ

Countオペレータ Itemオペレータ    
       

VBScript の例

'
'       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

関連項目

Operator.OutputPorts