Switching plans in patient course with a plugin

Jun 19 at 7:58 PM
Edited Jun 19 at 9:29 PM

I am wondering if a single file plugin that is running on a plan can open and access the dose information on a second plan located in the same course without closing the script. Running a stand alone script is not an option and I am very new to Eclipse API, so any help on this would be greatly appreciated!
Jun 29 at 10:54 PM
If the plans are "in-scope" meaning you can see them under the course in the user interface, then they will be available in ScriptContext.PlansInScope property. Just iterate through that list to find the plan you want.