add |
Adds an object to the end of the collection. Duplicates can be added to the collection. |
asArray |
Returns the content of the ObjectCollection as an array. |
classType |
Static function that all classes support that returns the type of the class as a string. The returned string matches the string returned by the objectType property. For example if you have a reference to an object and you want to check if it's a SketchLine you can use myObject.objectType == fusion.SketchLine.classType(). |
clear |
Clears the entire contents of the collection. |
contains |
Returns whether the specified object exists within the collection. |
create |
Creates a new ObjectCollection object. |
createWithArray |
Creates a new ObjectCollection that is initialized with the content of the provided array. |
find |
Finds the specified component in the collection. |
item |
Function that returns the specified object using an index into the collection. |
removeByIndex |
Function that removes an item from the list. Will fail if the list is read only. |
removeByItem |
Function that removes an item from the collection. |