ScrPlaceFreqDependentSrc
| Creates a frequency dependent source. | |
| UI Command: | None. |
| Syntax: | obj.ScrPlaceFreqDependentSrc(<givenElementName>, <circuitElementType>, <posTermConnectionType>, <posTermParam1>, <posTermParam2>, <posTermParam3>, <refTermConnectionType>, <refTermParam1>, <refTermParam2>, <refTermParam3>, <filename>) |
| Parameters: |
BSTR givenElementName INT circuitElementType (4 = current source; 5 = voltage source) INT posTermConnectionType (0 = pin; 1 = pin group; 2 = coordinate) BSTR posTermParam1 (part name for pins or pin groups; x coordinate for coordinate connections) BSTR posTermParam2 (reference designator for pins or pin groups; y coordinate for coordinate connections) BSTR posTermParam3 (pin name or pin group name; ignored for coordinate connections) INT refTermConnectionType (0 = pin; 1 = pin group; 2 = coordinate) BSTR refTermParam1 (part name for pins or pin groups; x coordinate for coordinate connections) BSTR refTermParam2 (reference designator for pins or pin groups; y coordinate for coordinate connections) BSTR refTermParam3 (pin name or pin group name; ignored for coordinate connections) BSTR filename |
| Return Value: |
BOOL:
|
| VB Example: |
result = doc.ScrPlaceFreqDependentSrc("I1", 4, 2, "1.0", "1.0", "METAL-1", 2, "2.0", "1.0", "METAL-1", "e:/SrcFreqData.txt") |
| IPY Example: |
oDoc.ScrPlaceFreqDependentSrc('I1', 4, 2, '1.0', '1.0', 'METAL-1', 2, '2.0', '1.0', 'METAL-1', 'e:/SrcFreqData.txt') |