I am trying to write a script to create PDF binders based off sub folders in a .pset. I am able to print everything in the pset with no issue, but when I try to print specific folders I am unable to. I am using V8i SS10, the .
oDGN.CadInputQueue.SendKeyin("mdl load bentley.microstation.printorganizer.dll")
oDGN.CadInputQueue.SendKeyin("PRINTORGANIZER NEW")
oDGN.CadInputQueue.SendKeyin("PRINTORGANIZER APPLYPRINTSTYLE ALL E COLOR")
oDGN.CadInputQueue.SendKeyin("PRINTORGANIZER ROOTFOLDER")
oDGN.CadInputQueue.SendKeyin("PRINTORGANIZER ACTIVEFOLDER CH00"
oDGN.CadInputQueue.SendKeyin("PRINTORGANIZER PRINTDESTINATION d:\temp\new folder\CH00.pdf")
oDGN.CadInputQueue.SendKeyin("PRINTORGANIZER SUBMITAS SINGLE")
oDGN.CadInputQueue.SendKeyin("PRINTORGANIZER PRINT SELECTION")
Basically I want to print only the items in the CH00 folder as shown, but I can only get it to print out everything in both CH00 and CH12. Is PRINTORGANIZER PRINT SELECTION supposed to do this or is this something I am doing wrong and not how this function works? Right now the only solution I have is to create a pset for each subfolder instead of using one pset for everything, but I was trying to avoid that since I already have the pset created because I also need to output everything as a single binder and it takes a few minutes to pull in/print 1000 or so dgns so I am trying to avoid some redundancy.
Thanks,
Stephen
Hi Stephen
Yes, printorganizer select and unselect do not appear to do anything at all. Not sure why they are included with the keyins