How can I retrieve Bolus class from API?

Feb 9, 2016 at 10:26 PM
I found that Bolus class is defined in EclipseAPI 13.6, but I cannot find a way to retrieve the class. It looks like an “orphan” class. I need to get Bolus ID and Name in my current project. It is greatly appreciated if someone can provide helps or clues.


Feb 9, 2016 at 10:38 PM
Forget about this thread. I figure it out
Apr 24 at 6:44 PM
Could someone kindly post a solution to the above problem? I am facing the exact same problem - what's the best way to access bolus class to retrieve the properties?

May 31 at 5:46 PM
you can use beam class to access a collection of beam boluses. ONLY Id, MaterialCTValue, and Name are provided as properties in Bolus class.
Sep 14 at 10:33 AM
I tried context.PlanSetup.Beams.First().Boluses.Id
But it's wrong
Sep 14 at 11:42 PM
Boluses is a collection of boluses, so the collection doesn't have an Id property. Assuming there's at least one bolus, try context.PlanSetup.Beams.First().Boluses.First().Id. If there are no boluses, you'll get an exception.