Class: Net

Net

Members

(non-null) all_names :Array.<up.design.NetName>

The alternative names for the net.
Type:
  • Array.<up.design.NetName>

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

The connections of this net.
Type:

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

@private
Type:
Inherited From:

(non-null) floods :Array.<up.api.pcb.Flood>

Type:
  • Array.<up.api.pcb.Flood>

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) name :up.design.NetName

The name of the net.
Type:
  • up.design.NetName

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

Type:
Inherited From:

source

(non-null) traces :Array.<up.api.pcb.Trace>

Type:

(non-null) vias :Array.<up.api.pcb.Via>

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()

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