hexagon logo

Print Command using Variables

Good Morning users.

I have reviewed other posts but cannot seem to get this to work.
I want to take an input variable and use it to save as a filename to save as a file.
I seem to have assigned the variable to the file path ok. A file is created but with nothing in it.
I am writing to a .RTF file and I am using 2012mr2. Any indicators most appreciated.

Virgil

Attached Files
Parents
  • If I understand your question correctly:
    If it's the same as with printing to a printer, PC-DMIS is a little funky when it comes to handling its reports.
    Basically you need the dummy command in there to clear whatever stuff has accumulated on the report, and refresh it.
    Then you have all of your dimensions because you manually tell the report what you want to add to it (which is why you might need to add a report label to it).
    The program will run through, wipe its memory of the report, generate new memory (the dimensions) and slap em on.
  • I have a little script (Kindly donated by ninjabadger) that refreshes the report prior to printing which does the same job as you describe but it is also good if you want to be sure the report you can see is what has been executed.
Reply Children
No Data