Description Removes a selected array of objects from an isolated 3D view (equivalent to the GUI object tree right click option "Remove from Isolate and Fit View to Selection").
Syntax RemoveFromIsolateAndFit3DView ( nodes(), types() )
Parameters nodes() As Long The array of node numbers to remove from an isolated view.
types() As String An array of strings defining the meaning of the matching nodes() entry. Permitted values are: "geometry" or "fnode", "material" or "glass", "coating", "scatter", "surface property" or "raytrace control", "surface roughness" "keyword"
Remarks This function removes some number of surfaces from an isolated 3D view based upon selected array of objects. Because node numbers are not unique across the entire list of objects that support isolation, for each nodes() entry a types() entry is also required to identify the object being isolated (i.e. the combination of node number and type is unique).
Examples The below example will remove surfaces from an isolated 3D view if they are using the "BBAR" coating property.
Sub Main Dim nodes() As Long, types() As String
ReDim nodes(0) ReDim types(0) nodes(0) = FindCoating( "BBAR" ) types(0) = "coating" RemoveFromIsolateAndFit3DView(nodes(), types()) End Sub
See Also
|