

The first point is the reference point of the inserted array of cellref.

Two coordinates have to be entered before calling this function using the point command. Void drawingField::cellrefarray( string s,int x, int y)Īdd an array of cellref's to the current cell. if you add a reference from cellA to cellB, but cellB has a cell reference to cellA, you may get trouble and the display of the design may fail. There is no check for circular references. This point is the reference point of the insert cellref. One coordinate had to be entered before with the point command. If two coordinate were added before with the point or p command, all cellrefs in the region p1,p2 are selected.Īdd a cellref to the current cell. If one coordinate was added before with the point or p command, the nearest cellref is selected. If two coordinate were added before with the point or p command, all cellrefs in the region p1,p2 are deselected. If one coordinate was added before with the point or p command, the nearest cellref is deselected. Two coordinates had to be entered before with the point command.Īll boxes in the current cell are deselected.Īll visible boxes in the current cell are selected. Four coordinates had to be entered before with the point command.Īdd a box to the current cell. Three coordinates had to be entered before with the point command.Īdd a third order bezier path to the current cell. If two coordinate were added before with the point() or p() command, selected elements are copyed and moved by (p2-p1).x() and (p2-p1).y().Īdd a second order bezier path to the current cell. If one coordinate was added before with the point() or p() command, selected elements are copyed in a array by p1.x() and p1.y(). Void drawingField::arra圜opy(int nx, int ny) Three coordinates had to be entered before with the point command. Selected elements are moved so that the distance of the before entered points is set to dĪdd a arc path to the current cell. The top edge of the selected elements is aligned to the before entered point. The right edge of the selected elements is aligned to the before entered point. The left edge of the selected elements is aligned to the before entered point. The bottom edge of the selected elements is aligned to the before entered point. A pointer to the new cellList is returned.Ī convex polygon around all prior entered point is added to the active layer. This is the default layer, on which most of the operation take place.Ī bounding box of the prior entered points is add to the active layer.Īdd a cell to the drawing. All members of the drawingField class are usable in a simplified form without braces, commas and semicolons from the commandline-toolbar. currentCell holds a point to the currently displayed cell. The different cell are accessabe via firstCell. The basic setup is stored in userunits and databaseunits. In the drawingField all drawing relevant information are accessible. This object can be accessed via the class layout.
#Layouteditor datatype windows
sizeLayer(int layer, int size,int type=0)Įach layout main windows has exactly one object of the class drawingField.openView(string library,string cellName,string viewName).oaGetCellName(string libName,string cellName,string viewName,stringList parameterName=stringList(),stringList parameterValue=stringList() ).oaFindCell(string libName,string cellName,string viewName,stringList parameterName=stringList(),stringList parameterValue=stringList() ).moveLayer(int sourceLayer, int sourcedatatype, int destLayer).densityFill(int layer, double density, int shapeSpace, int minWidth, int minSpace, int frameSize).copyTouchingOrOverlapping(int layerA,int layerB, int layerOutA, int layerOutB=-1).copyTouching(int layerA,int layerB, int layerOutA, int layerOutB=-1).copyOverlapping(int layerA,int layerB, int layerOutA, int layerOutB=-1).copyLayer(int sourcelayer, int sourcedatatype, int destLayer).copyDimension(int minWidth, int maxWidth, int minLength, int maxLangth, int layerDest, int layerSource=-1).copyArea(rect r, int layerSource, int layerDest).
