MFnStringArrayData

Base Class

MFnData

Constants

None.

Static Methods

None.

Static Attributes

None.

Constructors

SignatureParametersDescription
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.

Object Methods

SignatureParametersReturnsDescription
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.

Object Attributes

None.

Sequence Support

len() returns the number of elements in the encapsulated array.

Indexing and element assignment are supported.

Deletion, concatenation, repetition and slicing are not supported.

Number Support

None.

Comparison Support

None.

© 2011 Autodesk, Inc. All rights reserved.