VarianAPIs / Varian-Code-Samples

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

How to read Physical Material Table, Imager positions, Beams in same order as in Eclipse - if possible... #166

Open ivitek2 opened 3 weeks ago

ivitek2 commented 3 weeks ago

Hi,

1) Physical Material Table You can find it in External Beam Planning - right click on Structure set -> Properties -> Physical Material Table Is there a way to read this value with the script, I didn't find it in the API documentation...

2) Imager positions You can find it in External Beam Planning - right click on Setup field -> Properties -> Room Geometry -> Imager section Is there a way to read these Vrt, Lng, Lat values with the script, I didn't find it in the API documentation... (Better if possible to write them too)

3) Beams order In External Beam Planning the are setup/treatment fields in certain order, is there a way to maintain the same order when going through PlanSetup.Beams? Ordering by 'BeamNumber' isn't useful in this case. Eclipse stores the order of beams somewhere, why can't we read it...

Thank you for your answers, and if it's not possible to help me now, it's a request to Varian developers to add these features to API.