[Na...] Posted February 21, 2025 Share Posted February 21, 2025 (edited) Is there a way to create a folder based on a user variable when auto saving the reports? If so, what syntax would I have to put in the pdf settings? I'd like to have the report saved in a folder based on the Job number to keep them organized. Edited February 21, 2025 More context Link to comment Share on other sites More sharing options...
[Ma...] Posted February 21, 2025 Share Posted February 21, 2025 It depends on what variables. Automatic creation of folders are assured by Calypso. Whatever is available in protocol headers can be used for protocol save path. Link to comment Share on other sites More sharing options...
[Lu...] Posted February 21, 2025 Share Posted February 21, 2025 there is probably a better way to do this, but one way is like this after i put in the directory, i chose "order" in the report header fields. this is the folder that gets created by the user input. afterward, you manually type: +"\" im not 100% sure on how it works, but i believe that is what makes the "order" user input be created as a folder. afterward i put in another variable which is what it saves the files name as, and then file ending. this menu is under "measurement" "multiple report" then the 3 dots right under "output media for cnc run" i also only use the default presentation report instead of piweb so i have no idea if this also works for piweb, but i hope this helps. 1 Link to comment Share on other sites More sharing options...
[Je...] Posted February 24, 2025 Share Posted February 24, 2025 It is possible to use both, PCM-variables and user-defined protHeadParameters. Link to comment Share on other sites More sharing options...
[Er...] Posted February 24, 2025 Share Posted February 24, 2025 Sort of, you can set any recordhead variables you wish, and use them. Eg: normalVar = getActual("something").x setRecordHead("mySneakyVar",normalVar) "c:\path\"+getRecordHead("mySneakyVar")+"\..." Well you get the point.... Link to comment Share on other sites More sharing options...
[Je...] Posted March 17, 2025 Share Posted March 17, 2025 You can. Here is the full write up on how. ZEISS Portal Link to comment 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