ItemCollection
Properties
Instance Methods
addComp
Returns: CompItem
Since: 27.0
Creates and returns a new CompItem object and adds it to this collection. If the ItemCollection belongs to the project or the root folder, then the new item's parentFolder is the root folder. If the ItemCollection belongs to any other folder, the new item's parentFolder is that FolderItem.
Parameters
addFolder
Returns: FolderItem
Since: 27.0
Creates and returns a new FolderItem object and adds it to this collection. If the ItemCollection belongs to the project or the root folder, then the new folder's parentFolder is the root folder. If the ItemCollection belongs to any other folder, the new folder's parentFolder is that FolderItem. To put items in the folder, set the Item.parentFolder attribute.
Parameters
itemByID
Returns: Item
Since: 27.0
Retrieves the item in this collection whose persistent id matches the given value. Throws an error if no item with that ID exists in the collection.
Parameters
id of the item to retrieve.private_itemAtIndex
Returns: Item
Since: 27.0
Retrieves the item in this collection at the given index. The first item is at index 1. Used internally to implement items[index]-style access; not intended to be called directly.