Shift Isocentre for Proton Plans

Jan 21, 2016 at 5:51 PM
Hi

I am looking to write some code that will perform isocentre shifts for proton plans. I have some code that reads
            foreach(Beam beam in planSetup.Beams)
            {
                BeamParameters bp = beam.GetEditableParameters();
                bp.Isocenter = beam.IsocenterPosition + shift;
                beam.ApplyParameters(bp);
            }
(Where shift is of type VVector).

However, this produces an error saying that the Technique of BeamParameters does not match Beam. I have had success with photon plans, but am I not able to do this with proton beam plans?

Ben
Jan 29, 2016 at 5:39 PM
Proton support is not added until ESAPI v13.7. While some features work for proton plans in earlier versions like getting dose and doing DVH lookups, features related to plan geometry will not work. We've implemented proton plan geometry access with the IonPlanSetup hierarchy in v13.7.