Yes, you can extract file names and paths from the planner. You can also extract various values to build a string. First you have to look at what information is available in the planner. Viewing one in a text editor may help. Then you must determine how you would like to use it to build your file string.
============================================= Fred Lauzus, CAM Programming Coordinator High Steel Structures, Incorporated mailto:[EMAIL PROTECTED] http://www.highsteel.com ============================================= -----Original Message----- From: Michael Senack [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 12:04 PM To: 'Lauzus, Frederick'; '[EMAIL PROTECTED]' Subject: RE: [mfg-smartcam] Automatic file naming using a macro help Use the Data Tag nc_file from the Job Operations Setup??? Open the appropriate BASEITEM and evaluate the file name as a string variable? If that is possible? Hmmm...maybe the user input is the better way togo. -----Original Message----- From: Lauzus, Frederick [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 11:17 AM To: '[EMAIL PROTECTED]' Subject: RE: [mfg-smartcam] Automatic file naming using a macro help The string that makes up the path must be based on something. Where is this information to come from if not from a user input? ============================================= Fred Lauzus, CAM Programming Coordinator High Steel Structures, Incorporated mailto:[EMAIL PROTECTED] http://www.highsteel.com ============================================= -----Original Message----- From: Michael Senack [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 10:02 AM To: '[EMAIL PROTECTED]' Subject: [mfg-smartcam] Automatic file naming using a macro help In the sample macro below is there a way to have it automatically assign the Drive, Path and Filename to a string variable. i.e.: w:\ag4000\ag4052 Then have it save the file using the SAVE[FN="string variable goes here", FT=0, GS=1, WP="XY_PLANE"] Can this be done with no user input via the PAUSE or PROMPT commands. // Advanced_Wedm 11.5 Windows 10/16/98 16:48:10 Macro File // w:\mcl\1.mcl // CREATED: 06/28/01 // // MAC_EXE[FN="w:\\mcl\\showtool.mcl"]// F6 MAC_EXE[FN="w:\\mcl\\selectal.mcl"]// F3 SAVE[FN="W:\\AG4000\\ag4052d", FT=0, GS=1, WP="XY_PLANE"] Once again any help is appreciated. Regards, Michael Senack, CNC Programmer Blount Canada Ltd 505 Edinburgh Road North Guelph Ontario N1H 6L4 519 822 6870 X354 FAX 519 822 1450 http://www.blount.com/ ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ====================================================================== ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ====================================================================== ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
