Class: Pin

Pin

Members

(non-null) connections :Array.<up.api.core.Connection>

The connections that the pin represents. Only available if the pin is on a component.
Type:

ctx_ :up.api.Context|up.api.ComponentContext

@private
Type:
Inherited From:

isFootprint :boolean

Type:
  • boolean
Inherited From:

isPadstack :boolean

Type:
  • boolean
Inherited From:

isPlatedThroughHole :boolean

Type:
  • boolean
Inherited From:

isPour :boolean

Type:
  • boolean
Inherited From:

isTrace :boolean

Type:
  • boolean
Inherited From:

isVia :boolean

Type:
  • boolean
Inherited From:

(non-null) nets :Array.<up.api.core.Net>

Type:
Inherited From:

(non-null) position :up.api.core.Point

The position of the business end of the pin
Type:

(non-null) segments :Array.<up.api.sketch.Segment>

The net segments that are directly connected to this pin.
Type:

(non-null) symbol :up.api.sketch.Symbol

The schematic symbol that this pin is found on.
Type:

Methods

closeCheckAndCall(toCall) → {function}

Parameters:
Name Type Description
toCall function
Inherited From:
Returns:
Type
function

defineGetAndSetFunctions(propertyName, getFunction, setFunction)

Parameters:
Name Type Description
propertyName string
getFunction function
setFunction function
Inherited From:

defineGetFunction(propertyName, getFunction)

Parameters:
Name Type Description
propertyName string
getFunction function
Inherited From:

isNet(netName) → {boolean}

Returns true <=> the object is in the provided net.
Parameters:
Name Type Description
netName string
Inherited From:
Returns:
Type
boolean

isValid() → {boolean}

This:
Returns:
Type
boolean

onLayer(layer) → {boolean}

Returns true <=> the pcb object is on the provided layer. Default False for proxyobjects.
Parameters:
Name Type Description
layer string
Inherited From:
Returns:
Type
boolean