Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

prodb_merge_members

victorylee

New member
Hello everybody:


I want to cuts out member1 from member2 in the assembly,but I don't know how to get the parameters of prodb_merge_members.


int member1 /* (In) The part to be merged onto (the parent). */ The second parameter
int member2 /* (In)The part that is merged (the child).*/ The third one



And when I used "1" and "2" as below to try them, the pro/e shuts down without any message to show.


status=prodb_merge_members((Prohandle)model,1,2,FALSE,TRUE,F ALSE,FALSE);
if(status!=PRO_TK_NO_ERROR)
{
AfxMessageBox("Failure!",MB_OK);
}


Thanksfor any reply!
 
Hye,


For member1 and member2 numbers, did you try to use the id of the component instead of '1' and '2' ?


The problem is there is no example using this function !!


best regards


Simon
 

Sponsor

Articles From 3DCAD World

Back
Top