![]() ![]() Script Projects support two script document types – Script Units and Script Forms. ![]() While many of the principles and approaches will remain the same, be aware that interfaces, objects, methods, properties, and the like will have changed since then, and will not reflect the entirety of those found in later versions of the software. Documentation for scripting API can be found here: Scripting API Objects. Please note that this documentation was last updated for an older version of Altium Designer.In order to be able to create new scripts written in VBScript, you must enable the option in the Advanced Settings dialog. You can open and run existing scripts written in VBScript and JavaScript (Jscript). The default scripting language is set to DelphiScript.Scripting Languages – Scripts can be created in DelphiScript and if enabled as a legacy language, VBScript. You have the ability to preview variables in the Watches window, trace code and control the execution of the script with the Script Debugger. Scripting Debugger – If a script has an error when it is being executed, a dialog appears with a concise error message. Scripting Panels – The scripting system features a number of panels that help you code and debug scripts quickly. Scripting Editor – The scripting editor features a dedicated text editor with a range of options to set up the editing environment and syntax coloring. Routines from any script in a project are accessible to other scripts within the same project. Project access – Scripts can be saved in a script or design project. The scripting system is composed of two main parts – the editor and the debugger. A script can be run directly from the script editor or assigned to a menu, toolbar, or hotkey so that it can be applied to the current document – such as a PCB Layout – at any time.Īltium Designer showing Script Code and Form windows with the Object Inspector, Code Explorer, and Tool Palette panels. The script editor, debugger, and scripting panels work together to help you write and debug your scripts easily. The Altium Designer scripting system provides all the tools and features needed to create scripts that automate tasks in the software. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |