Sets the parameters of the hole.

syntaxSyntax:
FWizPadStyle.SetHole(diameter=0, plated=true, holeOffsetX=0, holeOffsetY=0, slotLength=0, slotAngle=0)

Parameters

Parameter Description
diameter Specify the diameter of the hole. The hole diameter may be larger than the pad diameter to define holes without a copper ring. Specify zero for pads without hole.
plated Specify the hole type. Enter true if the hole is plated otherwise false.
holeOffsetX Specify the horizontal offset of the hole to the center of the pad.
holeOffsetY Specify the vertical offset of the hole from the center of the pad.
slotLength To create a slot with rounded ends, specify its length.
slotAngle Specify the direction of the slot in degrees.

Return Value

If the operation ends correctly, it returns true otherwise it returns false.

Example

  Copy codeCopy code

See also