API Documentation?

Oct 30, 2013 at 12:41 PM
I have recently started exploring the Eclipse Scripting API and it looks as though it could be very useful. However, I'm having trouble finding my way to a number of pieces of information and wondered whether anyone could point me in the right direction. In particular I haven't been able to work out how to access:

1) The setup tolerance selected for each beam in the current plan;
2) The plan normalization value;
3) The intent specified for the current course;
4) Any diagnoses attached to the current course;

Other than the auto-complete feature in the Scripting Wizard, is there any systematic documentation for the API?

Thanks in advance for any assistance...
Oct 30, 2013 at 5:58 PM
There are a couple of documents that are useful here. The reference guide gives good Getting Started info, that's on my.varian.com:


If the link above doesn't work, sign into https://my.varian.com and search for "Scripting".

Also, the online help for the Eclipse Scripting API is installed on each Eclipse workstation under the start menu. The approximate path for that is "Varian/Eclipse Scripting API/Eclipse Scripting API Help".

Specific Answers:
1) The tolerance table is not available through the API.
2) Not available in v11. PlanSetup.PlanNormalizationMethod that has a string that might have what you need embedded.
3) The course intent is not available through the API.
4) The diagnosis is not available.