Message 1 of 2
Inspectors: How to see the properties and attributes of the parent class?

Not applicable
08-21-2009
01:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Several inspector functions are provided with Maxscript and are very useful to get the name of the properties and attributes of an object. They seem stuck to the class of the object itself though.
Does someone know how to list the properties of the parent class (also called the superclass)?
Eg:
s = sphere()
$Sphere:Sphere01 @
getpropnames s
#(#smooth, #radius, #segs, #mapcoords, #slice, #hemisphere, #sliceFrom, #sliceTo, #chop, #recenter, #realWorldMapSize)
The sphere also has a property "name" inherited from a parent class (MAXWrapper?).
I would like to list this property as well as all the other properties from the sphere parent classes.
This would also help me to get the properties of rootnode.
Thank you
Does someone know how to list the properties of the parent class (also called the superclass)?
Eg:
s = sphere()
$Sphere:Sphere01 @
getpropnames s
#(#smooth, #radius, #segs, #mapcoords, #slice, #hemisphere, #sliceFrom, #sliceTo, #chop, #recenter, #realWorldMapSize)
The sphere also has a property "name" inherited from a parent class (MAXWrapper?).
I would like to list this property as well as all the other properties from the sphere parent classes.
This would also help me to get the properties of rootnode.
Thank you