v9.5 (2011)
Returns a collection of all SIObject
objects found in this model 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
siLightID
siMaterialID
siModelID
siNullID
siNurbsSurfaceMeshID
siNurbsCurveListID
siOperatorID
siPolygonMeshID
siPropertyID
siShaderID
siShapeKeyID
siX3DObjectID
oReturn = Model.FindObjects( Identifier ); |
Parameter | Type | Description |
---|---|---|
Identifier | siClassID | An object class identifier as defined in siClassID. |
# Enumerate all shaders under the scene root. from win32com.client import constants as c shaders = Application.ActiveSceneRoot.FindObjects( c.siShaderID ) for s in shaders: LogMessage( s.ProgID ) # INFO : Softimage.soft_light.1.0 |
# Enumerate all visibility properties under the scene root. from win32com.client import constants as c props = Application.ActiveSceneRoot.FindObjects( c.siPropertyID ).Filter( 'visibility' ) for p in props: LogMessage( p.Fullname ) # INFO : Camera_Interest.visibility # INFO : light.visibility # INFO : Camera_Root.visibility # INFO : Camera.visibility |