Icepak Toolkits
Icepak toolkits provide additional capabilities that help automate routine tasks.
Currently, you are unable to record Icepak toolkit scripts; however, the Electronics Desktop supports Icepak toolkit script playback. Icepak toolkits can be run three ways using scripting. Using the Tile geometry toolkit as example, the following are the three toolkit scripting methods and corresponding application behaviors:
oDesign.RunToolkit("SysLib", "Geometry/Data Center Components/Tile", [])
Including empty brackets ([]) in the command launches the toolkit user interface for you to enter parameter values.
oDesign.RunToolkit("SysLib", "Geometry/Data Center Components/Tile", ["ng"])
Including the letters ng in quotations within brackets (["ng"]) in the command does not launch the toolkit user interface and creates the toolkit non-graphically using the default values.
oDesign.RunToolkit("SysLib", "Geometry/Data Center Components/Tile", scriptInput)
Including a list variable in the command does not launch the toolkit user interface and creates the toolkit non-graphically using the parameter values included in the list. See below for an example of a list defined as a variable.
scriptInput = ["ng"]
scriptInput.append("Name:Tile1")
scriptInput.append("length_unit:meter")
scriptInput.append("Number:1")
scriptInput.append("Offset:0.0")
scriptInput.append("Plane:XY")
scriptInput.append("xS:0.0")
scriptInput.append("yS:0.0")
scriptInput.append("zS:0.0")
scriptInput.append("xL:0.6")
scriptInput.append("yL:0.6")
scriptInput.append("zL:0.6")
scriptInput.append("FreeAreaRatioType:Uniform")
scriptInput.append("FreeAreaRatio:0.5")
scriptInput.append("DuplicateTileAxis:+X")