Tuesday, June 4, 2013

Altium Library Not Found

Note a Library that is not found along the specified path cannot be activated.






















Library Path Relative To: Z:

Type "Not Found" occurs when a library is not found on the path "Library Path Relative To"

More than likely the library has been moved, deleted or renamed.

Friday, May 31, 2013

Scripts - Server Processes Reference

Shown below is a simple Delphi Script I created to break all Component Groups in a PCB.

// Break All Component Groups
// Randy Clemmons

Var
 Board : IPCB_Board;

Procedure Start;
begin
   Board := PCBServer.GetCurrentPCBBoard;
   if Board = nil then
   begin
        ShowMessage('Active Window is Not a .PcbDoc File');
        exit;
   end;

   // http://wiki.altium.com/display/ADOH/PCB+Processes
   // Examples
   // Process: PCB:GroupPrimitives
   // Parameters: Action=BreakAllComponentUnions
   // Parameters: Action=Explode | Object=ALL

    AddStringParameter('Action','BreakAllComponentUnions');
    RunProcess('PCB:GroupPrimitives');
end;


Modifying Schematic Objects (Altium Forum)

To modify Schematic objects on a current Schematic document, you will need to invoke certain methods in a particular order to ensure the Undo/Redo system is up to date when a schematic object’s attributes have been modified programmatically.
The sequence is as follows:
  • Invoke the PreProcess method which initialize the robots in the schematic server
  • Send a SCHM_BeginModify message
  • Modify the Schematic object by changing its attributes (Properties)
  • Send a SCHM_EndModify message
  • Invoke the PostProcess method to clean up the robots in the Schematic server.


Wednesday, May 29, 2013

Parameter Manager - Stop Auto Sorting

In a sort enabled column, the rows get re-arranged (auto sorted) as data is entered or edited. 

This can be annoying when you are editing data.  It can be difficult to track of which cell was last edited and which cells were adjacent to the last edited cell.

As shown below the Description column is sort enabled, in this mode rows will be sorted auto-magically when the Descriptions are edited.










Multi-level sorting is also supported, hold down the Shift key as you click to sub-sort by a second (or third) column.


The Auto Sorting behavior can be disabled by holding down the Ctrl Key and clicking on the Column heading, i.e. Description heading in this example.










Note the indented triangle is displayed in the header when Auto Sorting is enabled.

Interactive Net Length Calculation - Real Time Length

Interactive Net Length Calculation - English documentation - The Altium Wiki:



For Real Time Routed Net Length Displays

Shift+H to Toggle Heads Up Display (HUD)
Shift+G to Toggle Toggle Cursor Tracking (HUD Display Tracks the Cursor)



















The Net Length is also updated in the PCB Panel (In Real Time)