3ds Max C++ API Reference
number of ShapeObject references/subanims

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. More...

Macros

#define SHAPE_OBJ_NUM_REFS   1
 
#define SHAPE_OBJ_NUM_SUBS   1
 

Detailed Description

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.

Macro Definition Documentation

◆ SHAPE_OBJ_NUM_REFS

#define SHAPE_OBJ_NUM_REFS   1

◆ SHAPE_OBJ_NUM_SUBS

#define SHAPE_OBJ_NUM_SUBS   1