Glade Reference
An array is a reference to an array of cellViews, in another cellView. Arrays correspond to GDS2 AREFs. Arrays are created using the dbCreateArray cellView function. An array is derived from the inst class.
Set the number of rows of this array.
Get the number of rows for this array.
Set the number of columns for this array.
Get the number of columns for this array.
Set the row spacing. This can be positive or negative.
Get the row spacing.
set the column spacing for this array. This can be positive or negative.
Get the column spacing.
Get the left edge of the array's bounding box. Note the bounding box of an array encloses all cells in the array, and depends on the origin, rotation and magnification, if any.
Get the bottom edge of the array's bounding box
Get the right edge of the array's bounding box
Get the top edge of the array's bounding box
Checks if an array origin is on the grid grid, which is in database units.
Set the array orientation. orient can be one of: R0, R90, R180, R270, MX, MXR90, MY, MYR90.
Get the array orientation.
Set the array binding. This should probably not be set by the user.
Get the instance binding status. An array is bound if it references a valid master.
Get the array magnification. Magnifications other than 1.0 are supported, but their use is deprecated.
Get the array's bounding box.
Get the array's lib name.
Get the array's library.
Get the array's master cell name.
Set the array master's cellName.
Get the array's view name.
Set the array master's viewName.
Set the array's instName. cv is the cellView containing the instance.
Get the array's instName.
Get the cellview of the array's master.
Set the array's master cellView.
Get the origin of the array. Note that an array's origin does not have to be e.g. the lower left of its bounding box - it can be anywhere.
Set the origin of the array.
Get the array's bounding box.
Returns the objects type as ARRAY
Returns the print name i.e. "ARRAY"
Get the nearest edge of this object to a Point p.
Returns the boundary shape rectangle (e.g. for a symbol or abstract view) if it exists; if not the master's bounding box.
Transform the array by the given transform trans.
Scale the array origin coordinates by scalefactor, snapping to grid.
Move the array origin by delta. If opt is true then the database is re-optimised for the new array position. If there are a lot of objects to move it makes sense to turn this off and instead use the cellView update() function after moving them all.
Copy the array. cv is the destination cellview, delta is the offset from the current origin. Returns a pointer to the copied object.
Flatten the array into the cellView cv, with the given transform trans. Returns a dbObjList of the flattenned objects.
Create an instance pin on this array for the net n and pin name name.
Delete the instPin given by ip from this array.
Find the inst pin with name name on this array. Returns nullptr if not found.
Get a list of all instPins for this array.
Get the number of instPins for this array.
Returns the layer of the array, TECH_INSTANCE_LAYER.
Returns the m factor (multiplication factor) of the array.
Returns the number of bits if the array has a vector name.
Copyright © Peardrop Design 2024.