IPCB_BoardIterator

www.kxcad.net Home > Electronic Index > Altium(Protel) Index


Your Ad Here

Overview

Iterates through a PCB document's design database to fetch PCB design objects. With the iterator, you can control which objects on which layers and within specified regions with the AddFilter_ObjectSet, AddFilter_LayerSet and AddFilter_Area methods.

Important Notes

IPCB_BoardlIterator Methods

// AbstractIterator methods

Function  I_ObjectAddress  : TPCBObjectHandle;

Function  FirstPCBObject   : IPCB_Primitive;

Function  NextPCBObject    : IPCB_Primitive

Procedure SetState_FilterAll;

Procedure AddFilter_ObjectSet (AObjectSet  : TObjectSet);

Procedure AddFilter_LayerSet  (ALayerSet   : TLayerSet);

Procedure AddFilter_Area      (X1,

                               Y1,

                               X2,

                               Y2          : TCoord);

Procedure AddFilter_AllLayers;

//Board iterator method

Procedure AddFilter_Method (AMethod : TIterationMethod);

Example

 

See also

IPCB_BoardIterator interface

IPCB_LibraryIterator interface

IPCB_SpatialIterator interface

IPCB_Primitive interface

TObjectSet

TObjectId enumerated values

TIterationMethod enumerated values

TLayerSet

TLayer enumerated values

MkSet function

Your Ad Here