Usually you need to have the specific document open first before you can run the script that is written to deal with that server document. To use DXP Object models in your script, you will need to invoke the function for this particular object model. Nexar Object Model The Client module and the servers plugged in the DXP platform is exposed through the use of Interfaces.The DXP Object Model has one Client Object model and several server object models: DXP Object Models The application supports PCB, Schematic, Workspace Manager, Nexar, Integrated Library Manager, Model Type Manager and Client Object Models which makes it possible to write scripts that manipulate objects in DXP. The Schematic server and PCB server are two main document editor servers used for the design process and these Schematic and PCB servers have their own document types (design and library documents). The servers provide specialized functionality depending upon the task requested by the user. The Client executable deals with actions generated by the user of the Altium Designer system. The Client module and the Workspace Manager module define the DXP technology platform. The system is composed of a single Client executable along with plugged in servers. ĭXP Object Models The Altium Designer application is a large system as shown by the diagram below which illustrates the architecture of this system.Also included are the following sections in the DXP Run Time Library Reference: Refer to the Supported Borland Delphi Units section for more information. Please note that the scripting system implements a subset of the Borland Delphi version 6 run time library. Server Process routines (in Server Process Parameters Reference). Routines and objects exposed from DXP RTL units (in General DXP RTL Reference) Routines and objects exposed from Borland Delphi units (in Supported Borland Delphi Units section) The DXP Object Model (which is composed of Client, Server, PCB, Nexar, Schematic, WorkSpace Manager and Integrated Library Object Models)Ĭomponents from the Tool Palette (which is based on Borland Delphi's Visual Component Library) This DXP Run Time Library implements the following sections: Since the DXP application is written in Borland Delphi, thus all the functions and objects are defined using the Borland Delphi language set, however you can use one of the scripting language sets to have access to the DXP Object Model or Borland Delphi Run Time Library.ĭXP Run Time Library Reference Language Sets supported by the Scripting system: The scripting system implements the DXP Run Time Library which is a very large Application Programming Interface (API).
This reference manual describes the DXP Run Time Library Reference. DXP RTL Reference Summary Technical Reference