What is Scripting?
Scripting is a way of writing your own code to interact with the Pulsonix application and data.
The scripting system in Pulsonix is a programming interface that allows you to write scripts to carry out specific tasks in the application. Although the functionality available in Pulsonix is very rich, there will sometimes be situations where you need to carry out a task or access specific details of design data that is not directly possible through the interface. Scripting can provide you with the possibility of doing that, without having to wait for new features or outputs to be created in the actual Pulsonix application.
Pulsonix is an ‘ActiveX Scripting Host’, which means that it has the hooks that allow it to be driven by any scripting engine that complies with the Microsoft ActiveX Scripting technology. Examples of this include VBScript and JavaScript (both usually installed with Windows) as well as others such as PerlScript, Tcl or Python.
What can it do?
Scripting can be used for a wide range of tasks, from generating custom report outputs to analysing design data against rules that the application itself may not directly support. The scripting interface provides you with the ‘hooks’ to access a range of design data, including ‘read’ access to the majority of design and library data and also ‘write’ access to some aspects of this data.
There are also ‘functional’ hooks that allow you to make use of existing commands in the application, and ‘helper’ interfaces that assist you in completing common tasks such as generating report files or producing plots.
Full details about Scripting, the Pulsonix API and how to write scripts can be found in the separate Scripting Reference help file.