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.

interlink two software

sudhir.patyal

New member
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.
 
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
 

Sponsor

Back
Top