Circuit.AddDevice(string, int, int, int, bool, bool) Method
Add a device instance to the design.
1 |
|
Parameters
deviceName
String
Device name as shown in library (Ex: "(Resistor)" )
x
int
Device Horizontal location (The upper-left corner is the origin)
y
int
Device Vertical location (The upper-left corner is the origin)
rotationAngle
int
Device angle in degree (clockwise) (Default:0)
horizontalFlip
System.Boolean
If true, the device is flipped horizontally.
verticalFlip
System.Boolean
If true, the device is flipped vertically.
Returns
Device
Return the device. Return None/none if error.