Inherits: PadStyle < PredefinedShape < DesignItem < ScriptObject
A pad style defines the shape and properties of a Pad.
Properties
| Name | Type | Get/Set | Brief |
|---|---|---|---|
| DrillDiameter | int | Yes/Yes | The drill diameter for round drill holes. |
| DrillShape | Shape | Yes/Yes | The shape of the drill. |
| Name | str | Yes/Yes | The name of this PadStyle. |
| Used | bool | Yes/No | Returns true if this style is Used. |
Methods
Enumerations
UseBy
The different types of design items that a pad style supports.
| Name | Value | Description |
|---|---|---|
| ThroughHole | 0 | No description provided. |
| SurfaceMount | 1 | No description provided. |
| Via | 2 | No description provided. |
| MicroVia | 3 | No description provided. |
| ThroughMountingHole | 4 | No description provided. |
| SurfaceMountingHole | 5 | No description provided. |
Property Details
DrillDiameter
Type: int
The drill diameter for round drill holes.
DrillShape
Type: Shape
The shape of the drill.
Name
Type: str
The name of this PadStyle.
Used
Type: bool
Returns true if this style is Used.
Method Details
Drilled
Returns True if this pad style is drilled (using any shape of drill).
Returns bool.
GetUseBy
Specifies the type of item on which this style can be used.
Returns bool.
Arguments:
typeName: UseBy
SetUseBy
Specifies the type of item on which this style can be used.
Arguments:
typeName: UseByset:bool