Glade Reference
A viaInst is a reference to a via, in a cellview. viaInsts are like instances but require less memory and have a specific function, i.e. to be instances of vias which again are a type of cellView with a specific function, i.e to hold rectangular shapes of the via. Normally viaInsts are created in a cellView using the dbCreateViaInst() function.
Get the left edge of the viaInst's bounding box
Get the bottom edge of the viaInst's bounding box.
Get the right edge of the viaInst's bounding box.
Get the top edge of the viaInst's bounding box.
Checks if a viaInst's origin is on the grid grid, which is in database units.
Set the viaInst's orientation. db_Orient can be one of: R0, R90, R180, R270, MX, MXR90, MY, MYR90.
Get the viaInst's orientation.
Sets the viaInst's origin to the Point origin.
Get the viaInst's origin.
Get the viaInst's bounding box.
Returns the objects type as VIAINST
Returns the print name i.e. "VIAINST"
Transform the instance by the given transform trans.
Scale the instance origin coordinates by scalefactor, snapping to grid.
Move the viaInst's origin by delta. If opt is 1 then the database is re-optimised for the new inst 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 viaInst. cv is the destination cellview, delta is the offset from the current origin.
Flatten the viaInst's into the cellView cv, with the given transform trans.
Gets the via master for this viaInst
Copyright © Peardrop Design 2024.