Class: ProxyObject

ProxyObject

Members

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

@private
Type:

isFootprint :boolean

Type:
  • boolean

isPadstack :boolean

Type:
  • boolean

isPlatedThroughHole :boolean

Type:
  • boolean

isPour :boolean

Type:
  • boolean

isTrace :boolean

Type:
  • boolean

isVia :boolean

Type:
  • boolean

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

Type:

Methods

closeCheckAndCall(toCall) → {function}

Parameters:
Name Type Description
toCall function
Returns:
Type
function

defineGetAndSetFunctions(propertyName, getFunction, setFunction)

Parameters:
Name Type Description
propertyName string
getFunction function
setFunction function

defineGetFunction(propertyName, getFunction)

Parameters:
Name Type Description
propertyName string
getFunction function

isNet(netName) → {boolean}

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

isValid() → {boolean}

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
Returns:
Type
boolean