"ProElemtreeElementAdd" does not work!
PRO_E_FEATURE_TREE
|
|--PRO_E_FEATURE_TYPE
|
|
|
|
|
|
|
|--PRO_E_INT_PARTS
|--PRO_E_FEATURE_INTERSECTION
|--PRO_E_FEATURE_INTERSECT_PART
|--PRO_E_FEATURE_INTERSECT_LEVEL
how to program?
ProElement elem_PRO_E_FEATURE_INTERSECTION=NULL;
ProElement elem_PRO_E_FEATURE_INTERSECT_PART=NULL;
ProElement elem_PRO_E_FEATURE_INTERSECT_LEVEL=NULL;
status = ProElementAlloc(PRO_E_FEATURE_INTERSECTION,&elem_PRO_E_FEATURE_INTERSECTION );
if(status!=PRO_TK_NO_ERROR) continue;
status = ProElemtreeElementAdd(elem_PRO_E_INT_PARTS,NULL,elem_PRO_E_FEATURE_INTERSECTION);
if(status!=PRO_TK_NO_ERROR) continue;
status = ProElementAlloc(PRO_E_FEATURE_INTERSECT_PART,&elem_PRO_E_FEATURE_INTERSECT_PART);
if(status!=PRO_TK_NO_ERROR) continue;
anynone can help me?

