pinnacle

Remove Illegal Characters

Pinnacle : Remove Illegal Characters   It’s necessary to call a script that generates a text file that contains a Pinnacle scripting command which defines the cleaned variable. For example, if given the string A%^$ 39839 the script will create another script document named Clean.Script containing the command: Store.StringAt.DummyVariable = A_39839; That code will then …

Remove Illegal Characters Read More »

Pinnacle Scripting – Setup Window

Pinnacle : Windows Description It is possible to  open different Pinnacle windows within a script.  Setup Window Open Setup Window WindowList .CTSim .PanelList .#”#0″ .GotoPanel = “FunctionLayoutIcon0″; ViewWindowList .#”*” .CineOnOff = “0”; Contour Window Open Contour Window WindowList .CTSim .PanelList .#”#2″ .GotoPanel = “FunctionLayoutIcon2″; ViewWindowList .#”*” .CineOnOff = “0”; Points Window Open Points Window WindowList …

Pinnacle Scripting – Setup Window Read More »

Pinnacle Scripting – Inverse Planning Window

Pinnacle : Inverse Planning View Description It is possible to programmatically control many of the different aspects of inverse planning. Max number of optimization iterations PluginManager .InversePlanningManager .OptimizationManager .Current .TrialList .Current .MaxIterations = ” 60″; Add objective PluginManager .InversePlanningManager .AddObjective = “Add Objective”; Delete objective PluginManager .InversePlanningManager .DeleteCurrentObjective = “Delete Objective”; Sort Objectives PluginManager .InversePlanningManager …

Pinnacle Scripting – Inverse Planning Window Read More »

Pinnacle Scripting – Views

Pinnacle : Views Description Pinnacle utilizes many different “views” (modules) for planning treatment planning. Data in these views can be read and edited through the use of scripting. Examples Inverse Planning Window Setup Window ViewWindowList

Pinnacle Scripting – Special Characters

Pinnacle : Special Characters Description Pinnacle utilizes a multitude of special characters that don’t act like normal characters. **Need to add more characters to this page. # —  Identify list item by number Proper usage #”#1″ Be aware Pinnacle starts counting with 0. Example 1 PluginManager.PlanEvalPlugin.TrialList.#”#0″.Selected = 1; // Sets first trial as active in …

Pinnacle Scripting – Special Characters Read More »

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 – Variables

Pinnacle : Variables Description There are three primary types of Pinnacle variables (float, string and lists). These variables can either be stored in permanently in the “Root.Store” or temporarily in the “Store”. Examples Store/Root.Store Float Variables String Variables Arrays/Lists Variables Special Characters