Inherits: PadStyle < PredefinedShape < DesignItem < ScriptObject

A pad style defines the shape and properties of a Pad.

Properties

NameTypeGet/SetBrief
DrillDiameterintYes/YesThe drill diameter for round drill holes.
DrillShapeShapeYes/YesThe shape of the drill.
NamestrYes/YesThe name of this PadStyle.
UsedboolYes/NoReturns true if this style is Used.

Methods

NameReturnsArguments
Drilledbool
GetUseBybooltypeName : UseBy
SetUseBynonetypeName : UseBy
set : bool

Enumerations

UseBy

The different types of design items that a pad style supports.

NameValueDescription
ThroughHole0No description provided.
SurfaceMount1No description provided.
Via2No description provided.
MicroVia3No description provided.
ThroughMountingHole4No description provided.
SurfaceMountingHole5No 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:


SetUseBy

Specifies the type of item on which this style can be used.

Arguments:

  • typeName : UseBy
  • set : bool