Miscellaneous

Miscellaneous helper functions.

GetClassTree
Get the inheritance tree of the passed MaxScript value as an array.
PrintClassTree
Print the inheritance tree of the passed MaxScript value.

GetClassTree:

Get the inheritance tree of the passed MaxScript value as an array.
i.e., passing in an instances of a sphere gives:
#(Value, MAXWrapper, node, GeometryClass, Sphere)

Returns:

An array, where array[1] is the top most class the passed value inherits from, and array[array.count] is the class of passed value.

Arguments:
<val>
Any MaxScript value.

Back to top...


PrintClassTree:

Print the inheritance tree of the passed MaxScript value.
i.e., passing in an instances of a sphere prints:

__Value
|__MAXWrapper
 |__node
  |__GeometryClass
   |__Sphere
   

Returns:

OK

Arguments:
none

Back to top...