ObjectCollection.find Method
Parent Object: ObjectCollectionDefined in namespace "adsk::core" and the header file is <Core/Application/ObjectCollection.h>
Description
Finds the specified component in the collection.
Syntax
"objectCollection_var" is a variable referencing an ObjectCollection object. |
Return Value
| Type | Description |
| integer | Returns the index of the found item. If not found, -1 is returned. |
Parameters
| Name | Type | Description |
| item | Base | The item to search for within the collection. |
| startIndex | uinteger | The index to begin the search. This is an optional argument whose default value is 0. |
