Contents
How do I use scripts in Altium?
RunScript
- Summary. This command is used to run a script within Altium Designer.
- Access. This command is accessed by choosing the File » Run Script command from the main menus.
- Use. After launching the command, the Select Item To Run dialog will open.
- Tips.
How do you add parameters in Altium?
Variant-level Parameters To add a new parameter, click the Add button. Use the Parameter Properties dialog that opens to enter the Name and set the Value of the new parameter then click OK. The new parameter is now displayed in the Edit Project Variant dialog.
How do I add a logo to Altium PCB?
To do this:
- Paste or insert the desired logo image (in BMP or PNG format) into a Microsoft Word document.
- Highlight the image in Microsoft Word and copy it to the clipboard.
- Open the required target PCB document in Altium Designer.
- Paste the image from the clipboard (Edit » Paste or Ctrl+V).
What is DelphiScript?
In a nutshell, DelphiScript is an OLE scripting language, like VBScript or JScript, but derived from Standard Pascal (not Object Pascal). It has extensions to support OLE objects and the OLEVariant type. Declaring the type of a variable or parameter is allowed, but has no effect.
How do you add a footprint in Altium?
Here’s how to create your footprint in Altium Designer in 4 easy steps:
- Step 1: Create the Pads.
- Step 2: Define Component Height and Area.
- Step 3: Add Silk Screen Information.
- Step 4: Save the Footprint.
How do I add a logo to Altium?
What are parameters in Altium?
Parameters are general purpose text strings that are child objects of a parent object. They identify and add additional information to that parent object and can be accessed directly in the Properties panel when selected in a schematic sheet. Schematic components, for example, make extensive use of parameters.
How do you update parameters in Altium?
To update parameters from a library, in the Update From Library dialog (Tools » Update From Libraries ), click Next to access the second page of the dialog, then click Parameters Changes.
How are script projects installed in Altium Designer?
Script projects can be installed in Altium Designer using the Global Projects feature so that they are preloaded and available when Altium Designer starts. As the name implies, these script projects are seen as global to Altium Designer, so the global variables and procedures from these scripts are available for use in other open script projects.
How to fetch open schematic sheet handles in Altium?
The first procedure fetches system parameters (document parameters) and the second one shows how to fetch parameters of a component. This script shows how to fetch open schematic sheet handles in Altium Designer.
Is the Altium scripting engine based on VCL?
The scripting engine itself is written in Embarcadero Delphi, and the Tool Palette panel is based on the Delphi’s VCL (Visual Component Library). For legacy scripting language, such as VBScript and JavaScript, you must enable Legacy.Scripts.SupportOldLanguages i n the Advanced Settings dialog.
What is the tool palette in Altium Designer 21?
The Tool Palette, based on the Delphi’s Visual Component Library, is a component palette that offers a wide range of window controls that are organized as component categories (see the Palette’s Component Reference for more details). The Tool Palette panel sections can be expanded and collapsed using the section heading tabs.