Superplan example

Apr 15, 2015 at 11:53 PM
In running superplan example, I get the following error:

Algorithm 'Dose Volume Optimizer' version '13.5.15' not supported.

The messages before this works fine. Please let me know how I can fix this.
Coordinator
Apr 16, 2015 at 4:36 PM
In Eclipse scripting API versions 13.5 and later, only the algorithm "Photon Optimizer" is supported for IMRT and VMAT optimization.

Modify your calculation model for the plan in the Eclipse UI (or use ExternalPlanSetup.SetCalculationModel()).
Apr 21, 2015 at 9:13 PM
What should be the argument that goes in ExternalPlanSetup.SetCalculationModel?
Coordinator
Apr 21, 2015 at 9:47 PM
The Intellisense in Visual Studio gives good guidance on the parameters. Or you can check C:\VMSOS\Docu\Scripting\VMS_Eclipse_Scripting_API_Research.chm for online help.

In your case you should use SetCalculationModel(CalculationType.PhotonVMATOptimization, "modelname")

where modelname is your Photon Optimization model.
Apr 21, 2015 at 10:08 PM
Thanks, the program now finishes the dose calculation. In this superplan example, how do I see the results? It seems like the plan itself doesn't get modified in the workspace. So how would I display and check the end result?
Coordinator
Apr 23, 2015 at 7:27 PM
The script creates a new course "Superplan" and adds the new plan to it. After you close the Scripts dialog, you will have to click Open to see the new course and plan.