Returns the class name of a Softimage object. The name returned
is the most derived class supported by the object.
For example, as shown in the hierarchy information, a ClusterProperty supports SIObject, ProjectItem, Property, and ClusterProperty. Because
ClusterProperty is the last class listed (the "leaf" or
"most-derived") it is the name returned by this method.
This method is very important for determining what type an object
is and what Object Model methods and properties are available on
it.
Unlike SIObject.Type, this method
is available for all objects including non-SIObject ones like
SIVector3, PPG,
and Image.
In some cases calling this method may not return enough information
to fully distinguish between different types of objects. For
example, various geometries, lattices, forces all return X3DObject as their ClassName.
Note: This method returns the same information as TypeName(obj) in
VBScript and can be used by languages that do not support the
TypeName() function. However unlike VBScript's TypeName(), this
method fails when passed strings, numbers and other standard data
types. It only works for actual Softimage objects.
Note: With each release of Softimage more objects are added to the
Object Model, which adds new classes to the hierarchy. This means
that the value returned by this method may start returning a new
ClassName, which could potentially break existing scripts that were
hardcoded to expect certain behavior from this method.