Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.
Use your display name or email address to sign in:
quote:
It would be nice, if Mr MasterShake add the option in the C-hook for muti backup files
Ex: file_backup1.mcx file_backup2.mcx ...
like this??
ftp://www.ppcadcam.com/Mastercam_forum/C-.../backupcpy3.zip
Oww sry,I have not checked it yet..
I asked SDK Inbox about it 3 weeks before,and
I was also told to try that last week.
I just tried and it didnt work, it made me sad..
I thought it would solve the problemm hmmmm.
Yes,that is how the chook is intended to func.
I hooked a function to savefile.
1. remove the previous backup file if it exists.
2. create copy of the previous file renaming like file_backup.mcx
3. Mastercam writes a new file.mcx
.
Here is a backup copy chook by me, which creates backup copy file when you save a file.
ftp://www.ppcadcam.com/Mastercam_forum/C-hooks/backupcpy.zip
Usage:
Copy the backupcpy.dll and backupcpy.ft files to your chooks folder.
That's all.
DISCLAIMER
WE MAKE NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS SOFTWARE
hi
I'm coding a chook program to set up teh stock definition of mill & lathe.
my code is not working fine..
any ideas??
code:
ent p1;
p1.id = P_ID;
p1.u.pt[0]=0.0;
p1.u.pt[1]=0.0;
p1.u.pt[2]=0.0;
store_ent (&p1, &e_ptr, ALIVE_BIT, main_color, main_level, main_attrib, &succf);
job_setup.rstock_id[0]=p1.ent_idn;
p1.u.pt[0]=100.0;
p1.u.pt[1]=0.0;
p1.u.pt[2]=200.0;
store_ent (&p1, &e_ptr, ALIVE_BIT, main_color, main_level, main_attrib, &succf);
job_setup.rstock_id[1]=p1.ent_idn;
job_setup.x=100.0;
job_setup.y=200.0;
job_setup.z=0.0;
job_setup.show_stock[0]=true;
job_setup.show_stock[1]=true;
job_setup.stock_draw=true;
eMastercam - your online source for all things Mastercam.
Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.