Navigation:  C/C++ Scripting Engine > User Interface Functions >

uiAddInstanceArray

Previous pageReturn to chapter overviewNext page

Adds an Instance Array into the active cell. An instance represents the inclusion of one cell as a part of another.

bar_dot

 

Synopsis

int uiAddInstanceArray( char* library, char* cell, dbPoint* pt, int orient, int nCols, int nRows, float fColDistance, float fRowDistance )

 

Return Value

Returns 1 if successful, else 0.

 

Parameters

library  -  library name

cell  -  cell name

pt  -  insert point

orient - the orientation value to use (default: dbcR0).  For more information on the orient values see: Orientation Values

nCols  -  count in the X direction.

nRows  -  count in the Y direction.

fColDistance  -  x spacing.

fRowDistance  -  y spacing.