Method: addDevice
Adds a device to the circuit (i.e. places it on the diagram)
DWDevice addDevice(type);
Parameters | ||
---|---|---|
Name | Expected Type | Description |
type | DWType | A DWType object representing the library type to be instantiated |
Returns a DWDevice object representing the new device
Property: autoExpand
Gets or sets the auto-expand mode for this circuit page
autoExpand = bool
bool = autoExpand
Property: border
Gets the border rectangle of this circuit page
SPRect border();
SPRect = border
Returns an SPRect object representing the border of this page
Property: name
Gets the name of the page, i.e. it's title
String name();
This is a read-only property.
Property: objType
Returns a string with the name of this object class "DWPage".
String = objType
Property: readOnly
Returns true if the circuit containing this page is marked "read only". Note that this status primarily affects the user interface and does not prevent script methods from making changes to the circuit.
bool = readOnly