ESAPI_Beam-Namer
(Binary-Plugin) Simply change your Beam/Field IDs with the nomenclature of your choice.
First-Compile tips:
- add your own ESAPI-DLL-Files (VMS.TPS.Common.Model.API.dll + VMS.TPS.Common.Model.Types). Usually found in C:\Program Files\Varian\RTM\15.1\esapi\API
- For clinical Mode: Approve the produced .dll in External Treatment Planning if 'Is Writeable = true'
Note:
- script is optimized to work with Eclipse 15.1
- absolute ESAPI-beginner should first look at my GettingStartedMaterial (collection of many helpful stuff from me or others and even includes a PDF version of some ESAPI-OnlineHelps) https://drive.google.com/drive/folders/1-aYUOIfyvAUKtBg9TgEETiz4SYPonDOO
Good Learning Task:
- read João Castelos Blog-Post regarding the same topic: https://medium.com/@jhmcastelo/writing-in-the-eclipse-database-change-the-fields-id-based-on-gantry-angle-312462f8fc67
- add the BeamIdChanger.cs file to my project and utilize it. this will enable more flexibility for naming your beams. here is a screenshot from the blog post which is showing the naming scheme of 'BeamIdChanger.cs'
- With ESAPI 16 I would recommend to automatically add Setup-Fields with this kind of script. We are very happy doing so.