XSIApplication.FindObjects2
 
 
 

XSIApplication.FindObjects2

Introduced

v9.5 (2011)

Description

Returns a collection of all SIObject objects found in the application that match a siClassID identifier as listed below. These identifiers can also be discovered by inspecting Softimage objects with the SDK Explorer.

siAnnotationID

siCameraID

siClusterID

siClusterPropertyID

siConstraintID

siCustomOperatorID

siCustomPropertyID

siEnvelopeID

siEnvelopeWeightID

siExpressionID

siGeometryID

siGroupID

siICETreeID

siImageClipID

siLayerID

siLightID

siMaterialID

siModelID

siNullID

siNurbsSurfaceMeshID

siNurbsCurveListID

siOperatorID

siPassID

siPolygonMeshID

siPropertyID

siShaderID

siShapeKeyID

siX3DObjectID

C# Syntax

SIObjectCollection XSIApplication.FindObjects2( siClassID in_classID );

Scripting Syntax

oReturn = XSIApplication.FindObjects2( Identifier );

Return Value

SIObjectCollection

Parameters

Parameter Type Description
Identifier siClassID An object class identifier as defined in siClassID.

Examples

Python Example

# Enumerate all properties in the application.
from win32com.client import constants as c
props = Application.FindObjects2( c.siPropertyID )
for p in props:
        LogMessage( p.FullName )
# INFO : Views.ViewA.SpotCamera.visibility
# INFO : light.visibility
# INFO : Views.ViewD.SpotCamera.visibility
# INFO : Views.ViewC.SpotCamera.visibility
# INFO : Camera.visibility
# INFO : Views.ViewB.SpotCamera.visibility
# INFO : Camera_Root.visibility
# INFO : Camera_Interest.visibility
# INFO : Passes.mentalray
# INFO : Views.ViewD.RenderRegion.mentalray
# INFO : Views.ViewB.RenderRegion.mentalray
# INFO : Views.ViewA.RenderRegion.mentalray
# INFO : Views.ViewC.RenderRegion.mentalray
# INFO : ReadAnimation
etc...

See Also

Model.FindObjects Model.FindObjectsFromCLSID FindObjects