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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

How to load relation file using Pro/Toolkit?

ptc-2238621
1-Newbie

How to load relation file using Pro/Toolkit?



Hello to all members,
I am very new to Pro/Toolkit. nowadays i m doing my dessartation for my MS degree in CAD/CAM.
For my project i m using Pro/Toolkit. i need to load text file contains relation using Pro/Toolkit.
Dose any body guide me how to do it?

Thanks in advance
Regards,
Sandip


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.
3 REPLIES 3

The functions are older pro_develop functions: In your Toolkit Wizard
just search for "relations"

status = prodb_export_relations(wrelfile, mdl, -1);

status = prodb_import_relations(wrelfile, mdl, -1, FALSE);



If there are errors in the relations that you are trying to reload,
they will not come in. Likewise if there are errors in the models
existing relations, and you try to add to them, the function will fail.


The new relations capability uses the name "relset". In the Toolkit API
wizard, search for "relset".

Bob

Bob Monat
Jerand Technical Services, Inc.
bob@jerand.com
www.jerand.com
1-317-875-6087



Mr. Mark Steffke & Mr. Bob Monat, thank you for your valuable reply. due to that i have able to solved my problem