// declare a string variable STRING:#FileName // assign the pathname for the current pm4 file to the variable #FileName=SHPFILE()
// strip the path assigning only the name and extension to the variable #FIleName=GET_NAME(#FileName) // strip the extension assigning only the name to the variable #FIleName=STRIP_EXT(#FileName) Check page 84 of the SmartCAM Customization Guide for more on these functions. ================================================== Fred Lauzus, CAM Programming Coordinator High Steel Structures, Incorporated mailto:[EMAIL PROTECTED] http://www.highsteel.com ================================================== -----Original Message----- From: Tom Cox [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 10:44 AM To: Smartcam Tech (E-mail) Subject: [mfg-smartcam] Strip Pm4 file extention Can someone help me with this macro. I need to set a variable to the current pm4 file with the file extension stripped. For example set the variable to equal "myfile" when the smartcam file is "myfile.pm4. I have seen it before but I can not remember the syntax. Thanks Thomas Cox American Tool & Mold Inc. ====================================================================== 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] ======================================================================
