v9.5 (2011)
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.
SIObjectCollection Model.FindObjectsFromCLSID( String in_sCLSID ); |
oReturn = Model.FindObjectsFromCLSID( CLDID ); |
| Parameter | Type | Description |
|---|---|---|
| CLDID | String | The string representation of an object CLSID. |
# 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
|