Initialize the style to define an SMD pad.
Syntax: |
|
FWizPadStyle.InitSMPadStack(sizeX, sizeY=0, bSquared=false, shapeFactor=0)
|
Parameters
| Parameter |
Description |
| sizeX |
Specifies the pad size along the X axis. |
| sizeY |
Specifies the pad size along the Y axis. If this value is less than or equal to zero it is set equal to sizeX. |
| bSquared |
Specify true if the pad should be square or false for a circular pad. |
| shapeFactor |
Specify the shape of the pad by defining whether the corners should be straight, rounded or beveled. Specify the shape of the pad as follows:
| >0 and <=1 |
Corners are rounded. The value of shapeFactor specifies the rounding percentage of all four edges of the pad. |
| =0 |
Angles are 90 degrees. |
| >=-1 and < 0 |
The corners are beveled. The value of the shapeFactor specifies the percentage of bevel of all four corners of the pad. |
|
Return Value
If the operation ends correctly, it returns true otherwise it returns false.
Remarks
This function creates a public pad style.
Example
|
|
Copy code
|
|
See also