cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

VB API Examples / models / ReplaceInstance.asm

ptc-5748551
1-Newbie

VB API Examples / models / ReplaceInstance.asm

hi all

 

i'm trying to learn vb api ,but the solid function 'replace' can not work, not only the mechanism ,but also the models.

 

the model 'ReplaceInstance.asm' can not find component '#5 (PHILLIPS7_8<BOLT>)', but when i retrieve it, only the part 'bolt.prt' can be selected and when i click OK, it shows that this part is unfit.

 

if anyone has an corrected 'ReplaceInstance.asm', inform me pleace.


Or if anyone could teach me how to use 'pfcAssembliesExamples.replaceInstance(asyncConnection.Session, txtModel.Text, txtOld.Text, txtNew.Text)', please ...

i have no idea about the three arguements of modle name or instance name, which component that the arguments stand for?

 

 

 

and my email: -


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
0 REPLIES 0
Announcements