FindObjects

Introduced

1.0

Description

Finds objects by their type

Scripting Syntax

FindObjects( [Path], [Type] )

Parameters

Parameter

Type

Description

Path

String

Object path name - NOT IMPLEMENTED

Type

String

The Class ID of the Object. This is GUID which uniquely identifies each type of object. For example, each instance of a Phong shader has the same Class ID, which is different from the Class ID of a Lambert shader. You can determine the Class ID from the Reference line of the SPDL file or via DataRepository.GetIdentifier. Note: To find Self-Installed Custom Operators use "{72936430-9B0C-4167-8CA7-C30FC2188BB9}" and to find Self-Installed Custom Properties use "{76332571-D242-11d0-B69C-00AA003B3EA6}".

Return Value

Returns an XSICollection object that contains the found objects.

See Also

DataRepository.GetIdentifier

X3DObject.FindChildren

XSIFactory.CreateObject

XSIFactory.CreateObjectFromPreset

SIObject.NestedObjects

 

 

 

Examples

• See FindObjects.1.js

• See FindObjects.2.js

• See FindObjects.3.js

• See FindObjects.4.js



Autodesk Softimage 2011