A single schematic element. More...
| void | addParameter(string parameter , string value) |
| double | getDoubleParameter(string parameter) |
| component* | getComponent() |
| int | getIntParameter(string parameter) |
| string | getParameter(string parameter) |
| stringList | getParameterList() |
| string | getParsedParameter(string parameter) |
| point | getPoint() |
| pointArray | getPoints() |
| point | getPortPos(string portname) |
| bool | isGlobal() |
| bool | isPortOrBusport() |
| bool | isArc() |
| bool | isBus() |
| bool | isBusport() |
| bool | isCircle() |
| bool | isDevice() |
| bool | isGround() |
| bool | isPolyline() |
| bool | isPolygon() |
| bool | isPort() |
| bool | isRect() |
| bool | isText() |
| bool | isWire() |
| bool | isWireLabel() |
| void | setColor(int red,int green, int blue) |
| void | setGlobal(bool global) |
| void | setParameter(string parameter, string value, bool triggerCallback=false) |
A parameter will be added to the element and set. If the parameter exists, it will be set to to the new value.
Returns: the value of parameter is returned. Only double parameter will be return. 0 is return in all other cases.
Returns: the used component for a device, NULL in all other cases (introduced with release 20211005)
Returns: the value of parameter is returned. Only integer parameter will be return. -1 is return in all other cases.
Returns: the value of parameter is returned. Numerical parameters will be converted to strings.
Returns: a list with all parameter for devices. The devicename is not included in this list. (introduced with release 20191223)
Returns: the value of parameter is returned. The parameter will be parsed according the iPDK specs. (introduced with release 20191223)
point of single points elements
points of multi points elements
Returns: the position of the port with the name portname, if the element is an device. point(-123456789,-123456789) is return if a port with the name does not exist.
true if port is a global port
true if it is a port or a busport
true if it is a arc
true if it is a bus
true if it is a busport
true if it is a circle
true if it is a device
true if it is a ground
true if it is a polyline
true if it is a polygon
true if it is a port
true if it is a rect
true if it is a text
true if it is a wire
true if it is a wire label
set the color of non functions elements like a polygon. The color of function element is set via the class setup. (introduced with release 20180501)
set a port as global or not (introduced with release 20260628)
parameter is set to value. This method is similar to the method addParameter, but will never add a new one. If triggerCallback is true, the callback function will be called after changing the parameter. The optional callback parameter was introduced with release 20191223)