Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

interlink two software

  • Thread starter Thread starter sudhir.patyal
  • Start date Start date
S

sudhir.patyal

Guest
there is any option in proe in which we interlink the two software.......... im explain below


i have a c++ program on gear designing by which we find the parameter of gears, also i have a 3d model of gear whichwhich is based on parametric equation and this model create a gear automatically according to no of teeth and modules,


my problem is how to transfer the value of module and no. of teeth from c++ program to proe automatically ho we interlink each other?


please help me.................
 
sudhir,


Is u tried with Jlink, Write the programme in java format and execute the same.


Regards


Sanjeeva
 
Hai,


i am Ashok as sudhir asked if I know C++ then How I write the programme in Java. Can we Link with pro-e and C++ or it is essential to link pro with programming , that language is Java only.
 
You need to use the Pro/TOOLKIT C API to do this. However the license cost for this is $20k USD.
 
hai,


there is a simple approach.use the same program to write theset of parameters into a temp text file , then create a java j/link program to get the values from the text file & set the values in pro/e paramter.





Ajoy Varghese Mathew
 
have your c++ program format the text file in proe relation's format then import those values


it will overwrite your existing relation file , so if you have existing relations you want to include those in the import file ....


any type of d14=my_calc_val or d22= d12 + d16 that's in your gear model rel file, will need to included with the new relations import... and parameters will be locked if they are set in the rel file.


depends on how much control you still have with the c program
 

Part and Inventory Search

Sponsor

Back
Top