None.
None.
Signature | Parameters | Description |
---|---|---|
MFnComponentListData() | Default constructor. Returns a new, empty MFnComponentListData object. | |
MFnComponentListData(object) | object - MObject | Returns a new MFnComponentListData function set, with the specified Maya object attached. |
Signature | Parameters | Returns | Description |
---|---|---|---|
add(component) | component - MObject | Reference to self. | Adds the specified component to the end of the list. |
clear() | Reference to self. | Removes all of the components from the list. | |
create() | MObject | Creates a new, empty component list, attaches it to the function set and returns an MObject which references it. | |
get(index) | index - int | MObject | Returns a copy of the component at the specified index. Raises IndexError if the index is out of range. |
length() | int | Returns the number of components in the list. | |
has(component) | component - MObject | bool | Returns True if the list contains the specified component, False otherwise. |
remove(component) | component - MObject | Reference to self. | Removes the specified component from the list. No exception is raised if the component is not in the list. |
remove(index) | index - int | Reference to self. | Removes the component at the specified index from the list. Raises IndexError if the index is out of range. |
None.
None.
None.
© 2011 Autodesk, Inc. All rights reserved.