DVH capture

227 views
Skip to first unread message

Gray, Jonathan

unread,
Jun 30, 2010, 11:18:28 AM6/30/10
to pinnacl...@googlegroups.com

I am using an in house script to display and screen capture the DVH for each structure in a plan individually and convert to PDF, but the dose statistics for each previously selected DVH are still displayed after the script de-selects the previous structure.  Thanks in advance to anyone who has seen this and can help.

 

Jonathan Gray, M.S., DABR

St. Jude Children's Research Hospital

 

 

 



Email Disclaimer: www.stjude.org/emaildisclaimer

Kantor,Michael E

unread,
Jun 30, 2010, 11:31:40 AM6/30/10
to pinnacl...@googlegroups.com

What command are you using to deselect the DVH? It should be something like this, if you’re turning off the 1st ROI:

 

PluginManager.PlanEvalPlugin.ROIList.#"#0".Selected = 0;

 

 

Mike Kantor

--
You received this message because you are subscribed to the Google
Groups "pinnacle3-users" group.
To post to this group, send email to pinnacl...@googlegroups.com
To subscribe to this group, send email to
pinnacle3-us...@googlegroups.com
To unsubscribe from this group, send email to
pinnacle3-use...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/pinnacle3-users?hl=en

Gray, Jonathan

unread,
Jun 30, 2010, 1:43:14 PM6/30/10
to pinnacl...@googlegroups.com

I am using that command but in a loop.  This is it exactly (below).  First the loop turns everything off (if on) then selects one structure at a time to give me one DVH screen shot per structure.

 

 PluginManager.PlanEvalPlugin.ROIList.#"#*".Selected = 0; 

 

Thanks,

Jonathan Gray

Kantor,Michael E

unread,
Jun 30, 2010, 1:50:40 PM6/30/10
to pinnacl...@googlegroups.com

Perhaps you need to pause execution for a bit prior to taking the screen capture, so that Pinnacle can have time to update the GUI. I assume you’re executing a shell command with SpawnCommandNoWait to do the capture. Put sleep 1;  in front of the command to see what happens.

Kantor,Michael E

unread,
Jun 30, 2010, 1:51:47 PM6/30/10
to pinnacl...@googlegroups.com

I take that back! You cant use NoWait because the loop would continue…

Gray, Jonathan

unread,
Jun 30, 2010, 2:01:54 PM6/30/10
to pinnacl...@googlegroups.com, Kothakota, Purnachandra

Here is the print function.  Not sure what SpawnCommandNoWait is, but a pause in the loop might give the GUI time to update. 

 

WindowList .WindowPrint .Create = "Print Window...";

ColorPrinterControl .ValidateSelectedPrinter = "Proceed";

WindowList .WindowPrint .Unrealize = "Proceed";

ResolveDependencies = "Proceed";

SleepSeconds = "1";

ProceedPrintWindow = "Proceed"; */

WindowList .PlanEval .Unrealize = "Close Window";

 

Jonathan

Reply all
Reply to author
Forward
0 new messages