Class: Module

Module

Members

(non-null) attributes :Object.<string, string>

Type:
  • Object.<string, string>

(non-null) components :Array.<up.api.core.Component>

Type:

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

@private
Type:
Inherited From:

id :string

Type:
  • string

importedFromFile :boolean

Type:
  • boolean

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) modules :Array.<up.api.core.Module>

Type:

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

Type:
Inherited From:

(nullable) refDes :string

Type:
  • string

(non-null) sketch_symbols :Array.<up.api.sketch.Symbol>

The schematic symbols for this module instance.
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

setAttribute(keynon-null, opt_valopt)

This:
Parameters:
Name Type Attributes Description
key string The key to set the attribute on.
opt_val string <optional>
The value to set on the attribute.