None.
None.
None.
Signature | Parameters | Description |
---|---|---|
MFnStringArrayData() | Default constructor. Returns a new MFnStringArrayData function set with no Maya object attached. | |
MFnStringArrayData(object) | object - MObject | Returns a new MFnStringArrayData function set, with the specified Maya object attached. |
Signature | Parameters | Returns | Description |
---|---|---|---|
array() | list of strings | Returns the encapsulated array as a list of strings. | |
create() | MObject | Creates a new empty string array data object, attaches it to the function set and returns an MObject which references it. | |
create(seq) | seq - sequence of strings | MObject | Creates a new string array data object, initializes it with the elements from seq, attaches it to the function set and returns an MObject which references it. |
set(seq) | seq - sequence of strings | Reference to self. | Replaces the elements in the encapsulated array with those from the supplied sequence. |
set(value, index) | value - string
index - int |
Reference to self. | Sets the value of the index'th array element. |
None.
len() returns the number of elements in the encapsulated array.
Indexing and element assignment are supported.
Deletion, concatenation, repetition and slicing are not supported.
None.
None.
© 2011 Autodesk, Inc. All rights reserved.