[Pe...] Posted September 3, 2019 Share Posted September 3, 2019 Hi, I learn with Calypso sw. And I have such problem with saving results into pdf protocol. I need to solve automatic saving after ever end of CNC process and display this protocol too. But I need the number in name of pdf file... ever next file +1 increase. For example: "Protocol_1.pdf", next one "Protocol_2.pdf".... etc. For you simple solution certainly. For me yet the problem. Thanks for answers... Link to comment https://qualityforum.zeiss.com/topic/17854-automatic-saving-results-into-pdf/ Share on other sites More sharing options...
[Ro...] Posted September 3, 2019 Share Posted September 3, 2019 Resources >Name output files> for this program Select the first PDF option from the dropdown list, enter your file location and program naming strategy as you see fit. Or just copy & paste this into the bod and it'll send a file to "C/Temp" on your computer. "C:\temp\"+getRecordHead("planid")+"_"+getRecordHead("partnbinc")+".pdf"fgdhklfgbdmklfgbfgbkld.pngsfgejksfgdnjksfgd.png Link to comment https://qualityforum.zeiss.com/topic/17854-automatic-saving-results-into-pdf/#findComment-100258 Share on other sites More sharing options...
[Pe...] Posted September 3, 2019 Author Share Posted September 3, 2019 So... It works Roberto... 😃 Yes, I knew this. But I didn´t know how to increase +1 in file name. What is for increase from :"+getRecordHead("planid")+"_"+getRecordHead("partnbinc")+".pdf"... It is partnbinc? I think, it take from the head, is it not? I wrote this (any similar) into the bod yesterday .... Calypso reported error. But today OK... Is any list with objects of the head. Objects which I can to take to the file name, etc...? And thank you for your help... Link to comment https://qualityforum.zeiss.com/topic/17854-automatic-saving-results-into-pdf/#findComment-100260 Share on other sites More sharing options...
[Er...] Posted September 3, 2019 Share Posted September 3, 2019 Roberto, if the number 5901-4E-4006 is such sensitive information that it needs cencorship. Maybe you should do it at both places 🤣 Link to comment https://qualityforum.zeiss.com/topic/17854-automatic-saving-results-into-pdf/#findComment-100262 Share on other sites More sharing options...
[To...] Posted September 3, 2019 Share Posted September 3, 2019 Please sign in to view this quote. 🤣 Link to comment https://qualityforum.zeiss.com/topic/17854-automatic-saving-results-into-pdf/#findComment-100264 Share on other sites More sharing options...
[Ro...] Posted September 3, 2019 Share Posted September 3, 2019 Please sign in to view this quote. Its like wearing a seatbelt or a helmet, most likely not necessary but just in case. And ooh yeah, *censorship Link to comment https://qualityforum.zeiss.com/topic/17854-automatic-saving-results-into-pdf/#findComment-100266 Share on other sites More sharing options...
[Ro...] Posted September 3, 2019 Share Posted September 3, 2019 Please sign in to view this quote. getRecordHead("partnbinc") Is a command to go get the incremental part number from your header file. Link to comment https://qualityforum.zeiss.com/topic/17854-automatic-saving-results-into-pdf/#findComment-100268 Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in