Model.FindObjectsFromCLSID

Introduced

v9.5 (2011)

Description

Returns a collection of all SIObject objects found in this model that match a Softimage object CLSID. Object CLSID are not documented but can be discovered with XSIUtils.DataRepository or by inspecting Softimage objects with the SDK Explorer.

Scripting Syntax

oReturn = Model.FindObjectsFromCLSID( CLDID );

Return Value

SIObjectCollection

Parameters

Parameter Type Description
CLDID String The string representation of an object CLSID.

Examples

Python Example

# Enumerate all visibility properties under the scene root.
props = Application.ActiveSceneRoot.FindObjectsFromCLSID( "{11EBE301-A20C-11D0-8478-00A024C7919C}" )
for vis in props:
        LogMessage( vis.FullName )
# INFO : Camera_Root.visibility
# INFO : Views.ViewC.SpotCamera.visibility
# INFO : Camera.visibility
# INFO : Views.ViewB.SpotCamera.visibility
# INFO : Camera_Interest.visibility
# INFO : Views.ViewD.SpotCamera.visibility
# INFO : Views.ViewA.SpotCamera.visibility
# INFO : light.visibility

See Also

Model.FindObjects XSIApplication.FindObjects2 FindObjects