VarianAPIs / Varian-Code-Samples

Code samples for ESAPI and other Varian APIs and web services.
MIT License
112 stars 105 forks source link

Accessing Dose Prescription and Field Weighting through EAAPI #121

Open stylekilla opened 2 years ago

stylekilla commented 2 years ago

Hi team,

I am looking for a way to access the dose prescription and field weighting through the Eclipse Algorithm API v16.1 (which I realise is soon becoming obsolete/unsupported, however it is used by us extensively).

Currently we use the requester to get the plan object, and from there we can pull out various plan information etc.: auto plan = requester.GetPlan110(); plan.get()->GetNBeams(); plan.get()->GetPatient()->GetId(); However, we would really like to get out the dose prescription and field weighting at calculation runtime (which seems to exist in the header files Fractionation.h and FieldNumberAndWeight.h (part of VAAPI). Do you know how we might achieve this?

Cheers, Micah