The number of ShapeObject references/subanims are set to the number of references and subanims in the ShapeObject class, you can use them to make your code more bullet-proof should the number of references change in the future.
See maxsdk/include/splshape.h for an example of how they can be used.
Macros | |
#define | SHAPE_OBJ_NUM_REFS 1 |
#define | SHAPE_OBJ_NUM_SUBS 1 |
#define SHAPE_OBJ_NUM_REFS 1 |
#define SHAPE_OBJ_NUM_SUBS 1 |