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
  • Typically when printing, I have two print commands. One at the beginning of the dimensions, followed by a label. This command is empty (as in the print command is there, but it's not set to print anything) This clears the print cache. Then at the end of the dimensions I have a second print command, which is set to print to what have you. It really depends on how you're set up, but I would try something similar. Try printing to an actual printer, etc. Then once you've got something that more or less works, try adding in the variables.
    HTH
Reply
  • Typically when printing, I have two print commands. One at the beginning of the dimensions, followed by a label. This command is empty (as in the print command is there, but it's not set to print anything) This clears the print cache. Then at the end of the dimensions I have a second print command, which is set to print to what have you. It really depends on how you're set up, but I would try something similar. Try printing to an actual printer, etc. Then once you've got something that more or less works, try adding in the variables.
    HTH
Children
No Data