Glade Reference
The mpp class is derived from a shape. This class is normally created in a cellView using the dbCreateMPP() function.
m = mpp;
Creates a mpp.
Adds a layer to the mpp.
Gets the mpp_layer by index.
Gets the mpp_layers as an array for the mpp.
Sets the mpp layers.
Get the number of mpp layers.
Set the number of mpp layers.
Set the mpp rule.
Get the mpp_rule.
Get the bounding box of this mpp.
Set the bounding box of this mpp. Not useful and will throw an exception if called.
Returns the object type of this path as MPP.
Returns the object name of this path as "MPP".
Returns the number of points of the path.
Returns the point list of this mpp as an array or Points.
Bias this mpp by bias, snapping to the grid grid.
Scale this mpp by scale, snapping to the grid grid.
Get the distance of the nearest segment s of this mpp to the point p;
Get the distance of the nearest vertex s of this mpp to the point p;
Transform this mpp using trans.
Returns true if the Point p is contained in the mpp or on its edges.
Move this mpp by distance delta. If opt is True then the database is re-optimised for the new mpp 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 this mpp to cellView cv, with offset delta.
Flatten this mpp into cellView cv with transformation trans.
Stretch segment seg of this mpp by delta.
Removes colinear points.
Converts this mpp to polygons.
Copyright © Peardrop Design 2020.