Saturday, June 8, 2013

Matched Length Serpentines

Match Length Serpentines . . .



















Above is a screen shot of matched length nets for a DDR2 design created using Altium. 

The traces shown were hand crafted using arcs with the radius set to match the desired track spacing.

The lines and arcs were stretched and rotated to create matched length tracks.

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.