Hello
Can anyone tell how to set the parameter for the key-in PRINTORGANIZER OUTPUTFILENAME <expression name>.
Valid entries for <expression name>...?
Regards
Øyvind Olsen
Norconsult Informasjobssystemer AS
Hello Øyvind,
Please look in the MicroStation help > Working with Complete Designs > Printing > Print Organizer > Defining Print Definitions and Output File Name Expressions.
Print Organizer uses MicroStation expressions to generate print definition and output file names so you can look at this help section as well: Programmed Customizations > Named Expressions > Named Expression Components.
Regards,
Jo Terri
Thank you for answearing my question!
I'm using the keyins inside a c# method. My code is something similar to this:
BIM.Session.Instance.Keyin("PRINTORGANIZER NEW");
// Adds printer driver
BIM.Session.Instance.Keyin("PRINTORGANIZER PRINTERDRIVER " + printerDriverFileName);
// Adds models
model = "PRINTORGANIZER ADD MODEL \"" + _attachedLibrary + "\" \"" + item.ToString() + "\"";
BIM.Session.Instance.Keyin(model);
// Apply print method
BIM.Session.Instance.Keyin("PRINTORGANIZER SUBMITAS SEPARATE");
// Adds print destination
model = "PRINTORGANIZER PRINTDESTINATION \"" + outputPath + "\"";
When I do it like this I get separate pdf files named 001-untitled.pdf, 002-untitled.pdf, and so on
I would like the name of the pdf files to be the same as the name of my dgn file. I looked at the pages you suggested but I had no luck creating the OUTPUTFILENAME keyin.
When I use The PRINTORGANIZER OPEN keyin and use a pset file as input I manage to get what I want but I would like to know if it is possible to do the same with the NEW command?
Could you give me an example of how it should look like? I tried several different ones:
PRINTORGANIZER OUTPUTFILENAME <model name>
PRINTORGANIZER OUTPUTFILENAME "<model name>"
PRINTORGANIZER OUTPUTFILENAME "model name"
Norconsult Informasjonssystemer AS