Store/Root.Store

Store Description

  • A temporary object automatically created by Pinnacle to hold variables.
  • Created every time a plan is opened and deleted whenever a plan is closed.
  • Three types of variables can be held in a store - float, string and list.
  • Store.xxxxx is different than Root.Store.xxxxx.
    • Variables remain in Root.Store even when a plan is closed.

Store Objects

Float

String

List

Create a Store

Store.At.TempStore = StringKeyDict {};

[1]

Examples

insert the code here

Root.Store Description

  • Root.Store.xxxx is very similar to Store.xxxx, however, user-defined variables saved in Root.Store are persistent even when the plan is closed.
    • The variable is written to the plan.Pinnacle file. [2]

Example

Root.Store.StringAt.test = "This is a test.";
Bibliography
1. Scripting on the Pinnacle Treatment Planning System. Geoghegan, S. http://tpswiki.wdfiles.com/local--files/pinnacle%3Aresources/Scripting_on_the_Pinnacle_TPS.pdf
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License