MTypeId

Base Class

None.

Constants

None.

Static Methods

None.

Static Attributes

None.

Constructors

SignatureParametersDescription
MTypeId()   Default constructor. Returns a new, empty MTypeId object.
MTypeId(src) src - MTypeId Copy constructor. Returns a new MTypeId object with the same value as src.
MTypeId(id) id - long Returns a new MTypeId object with the given id.
MTypeId(prefix, id) prefix - int
id - int
Returns a new MTypeId object whose id uses prefix for its upper 24 bits and id for its lower 8. Note that only the lower 24 bits of prefix and the lower 8 of id are significant. All higher order bits are ignored.

Object Methods

SignatureParametersReturnsDescription
id()   long Returns the object's id.

Object Attributes

None.

Sequence Support

None.

Number Support

None.

Comparison Support

MTypeId == MTypeId True if both objects contain the same id.
MTypeId != MTypeId True if the two objects contain different ids.

All other comparison operators will raise a TypeError exception.

© 2011 Autodesk, Inc. All rights reserved.