ProSelect Error
Hi every TK user,
I got a big trouble when i used the ProSelcet function to select geometry item.
the problem is " when i first time call the fucntion ProSelcet ,the selection object is store in <p_select_1>, but the second time call the fucntion ProSelcet,the selection object not only store in <p_select_2> also store in <p_select_1>."
the first selection object in <p_select_1> was overwrited by second selection object .
do anyone know what's wrong with this problem?
Hope someone can help me,thanks.
code:
ProSelection *p_select_1,*p_select_2;
int n_select_1,n_select_2;
err=ProSelect ( "surface,edge", 1, NULL, NULL,NULL, NULL, &p_select_1, &n_select_1);
err=ProSelect ( "surface,edge", 1, NULL, NULL,NULL, NULL, &p_select_2, &n_select_2);

