Circuit.AddDevicestring, int, int, int, bool, bool Method
Add a device instance to the design.
1 |
|
Parameters
deviceName
System.String
Device name as shown in library Ex: "\(Resistor" )
Device Horizontal location The upper\-left corner is the origin
Device Vertical location The upper\-left corner is the origin
rotationAngle
System.Int32
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.