ScrSetSketchedBwProfileFromArray

Sets a sketched profile (array of points) to all bondwires of a specified model.

UI Command:   None.
Syntax:   obj.ScrSetSketchedBwProfileFromArray(<modelName>, <unitName>, <bwPointArray>, <radius>)
Parameters:  

BSTR modelName

BSTR unitName

ARRAY bwPointArray (requires 8 doubles for 4 points)

DOUBLE (radius)

Return Value:  

BOOL:

  • 0 – Failure
  • 1 – Success
VB Example:  

obj.ScrSetSketchedBwProfileFromArray "BW_PROFILE_1", "micron", bwPointArray, 20

Array of 4 point sketched profile

Dim bwPoints (8)

bwPoints( 0 ) = 0.0

bwPoints( 1 ) = 400.0

bwPoints( 2 ) = 300.0

bwPoints( 3 ) = 700.0

bwPoints( 4 ) = 900.0

bwPoints( 5 ) = 700.0

bwPoints( 6 ) = 1200.0

bwPoints( 7 ) = 300.0

IPY Example:  

oDoc.ScrSetSketchedBwProfileFromArray('BW_PROFILE_1', 'micron', [0.0,400.0,300.0,700.0,900.0,700.0,1200.0,300.0], 20)