VarianAPIs / PyESAPI

Python interface to Eclipse Scripting API
MIT License
69 stars 32 forks source link

AddVMATBeam throwing error #13

Closed tkstevens closed 1 day ago

tkstevens commented 4 years ago

Trying to create a new beam with PlanSetup.AddVMATBeam triggers an Eclipse dialog box with the warning: "The following parameters were adjusted to be within machine limits: collimator positions". The only collimator "position" being passed here is the collimator angle, and the warning appears regardless of the double angle given (0, 0.0, 30.0, etc.), after which the given angle appears to be accepted. Note that the resultant beam does not have a tolerance table assigned (which may be related), but there is no where to pass ToleranceTableLabel during the AddVMATBeam call. Obviously, this interaction with a dialog box is not ideal when batch processing.

joecastelo commented 4 years ago

Happens with me as well

albie0019 commented 3 years ago

Did you guys find @tkstevens a solution to this? I am having this problem in ESAPI (C#).

fizxmike commented 1 day ago

For posterity, please see this related thread on ESAPI subreddit: https://www.reddit.com/r/esapi/comments/i8bbk4/problem_with_message_the_following_parameters/