Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

custom load

Status
Not open for further replies.

massimomeroni

Mechanical
Mar 18, 2007
2
hi all,
I'm using Pro/Mechanism and trying to make a "custom load" with toolkit.

In the file "customload" made by PTC but to be completed by the user, I can find:

strcpy ( executable, mhome );
strcat ( executable, relative_exec);
strcpy (text_dir, mhome);
/* TODO make this arch independent */

I can't understand the meaning of "make this arch independent": what am I supposed to do?

Thanks in advance, Max

I ask even if you can send me some of your programs aimed to make a custom load in Pro/Mechanism.
or where I can find material about programming custom loads
 
Replies continue below

Recommended for you

the "*/ ..... */" means comment in C/C++

the other statements: you copy the string "mhome" variable into the string "executable" and then append to it the "relative_exec" string.

the last statement: you copy the "mhome" string into the "text_fir" string.

There is nothing conludent in your example to see how you can make a custom load. Probably you should look at the whole program/PTC example.

-Hora
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor