Quantcast
Channel: PTC Community : Unanswered Discussions - Creo
Viewing all articles
Browse latest Browse all 8685

VB API Examples / models / ReplaceInstance.asm

$
0
0

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:   jeremy.quaintor@gmail.com


Viewing all articles
Browse latest Browse all 8685

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>