wpx_physics

Pinnacle Scripting – String Variables

Pinnacle : String Variables Description As the name implies, string variables hold strings of text. Numerous actions and tests can be performed on these variables.   Declare a String Variable Store.StringAt.SomeStringName = “This is a string”; //Ex 1 Store.StringAt.AnotherStringName = TrialList.Current.BeamList.Current.PrevBeamType; //Ex 2 Store.StringAt.String3 = Store.StringAt.SomeStringName; //Ex 3 //Ex 4 – This also works, but […]

Pinnacle Scripting – String Variables Read More »

Pinnacle Scripting – Table Laser Shifts

Pinnacle : Table/Laser Shifts Description It is possible to access shift information from the scan/setup origin location to the isocenter.  Patient shift-related information Full Descriptions Ex. “Move the table RIGHT 7.59cm (looking from foot of table.) TrialList.Current.BeamList.Current.LaserDescr.X; TrialList.Current.BeamList.Current.LaserDescr.Y; TrialList.Current.BeamList.Current.LaserDescr.Z; Shift Value only Ex. “7.59” //X, Y, Z coordinate shifts TrialList.Current.BeamList.Current.IsoInLocalizerCoords.XCoord; TrialList.Current.BeamList.Current.IsoInLocalizerCoords.YCoord; TrialList.Current.BeamList.Current.IsoInLocalizerCoords.ZCoord; Direction Value Ex.

Pinnacle Scripting – Table Laser Shifts Read More »

Pinnacle Scripting – spawncommand & spawncommandnowait

Pinnacle : SpawnCommandSpawnCommandNoWait Description Allows the operating system to take control Used to call external scripts (e.g. a bash, Python or Perl script) Used to execute command line operations SpawnCommand Pinnacle transfers control to the operating system and waits until the action is complete. Examples Generic call  SpawnCommand = “String”; Execute a command line action

Pinnacle Scripting – spawncommand & spawncommandnowait Read More »

Pinnacle Scripting – Run Scripts Commands

Pinnacle : Run Scripts Commands Description There are four methods to execute scripts (and Pinnacle string commands). Two methods allow the use of outside scripting languages (bash, python, perl, etc) and two methods utilize Pinnacle’s internal scripting language. Execute will run a command stored in a string, ExecuteNow runs a separate Pinnacle script file, SpawnCommand

Pinnacle Scripting – Run Scripts Commands Read More »

Pinnacle Scripting – Scorecard Data

Pinnacle : Scorecards Description >Pinnacle3 includes “scorecards” that allow users to quickly see if primary or secondary dose constraints have been met. Parameters 1. ROI Name Scorecard.DoseVolClinicalGoalList.Current.ExpectedRoi.Name 1a. ROI Name box color I believe this number is “5890551” if the Scorecard ROI is not connected to a plan ROI (i.e. the yellow box). Otherwise no

Pinnacle Scripting – Scorecard Data Read More »