To get the status of auto checkbox.
int octree_get_auto_support(TreeNode* tr)
Returns the one of the following:
enum { AUTO_UNCHECKED = -1, AUTO_NOT_SUPPORT, AUTO_CHECKED };
EX1
#include <GetNBox.h> void octree_get_auto_support_ex1() { GETN_TREE(tr) GETN_SLIDER(slider, "test", 0, "1|100|100") TreeNode trN = tr.slider; octree_set_auto_support(&trN, 1); GetNBox(tr); int nCheckStatus = octree_get_auto_support(&trN); out_int("", nCheckStatus); }
octree_set_auto_support
OCTreeUtils.h