Members
-
(non-null) attributes :Object.<string, string>
-
Type:
- Object.<string, string>
-
(non-null) components :Array.<up.api.core.Component>
-
Type:
- Array.<up.api.core.Component>
-
ctx_ :up.api.Context|up.api.ComponentContext
-
@private
Type:
- up.api.Context | up.api.ComponentContext
- 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:
- Array.<up.api.core.Module>
-
(non-null) nets :Array.<up.api.core.Net>
-
Type:
- Array.<up.api.core.Net>
- Inherited From:
-
(nullable) refDes :string
-
Type:
- string
-
(non-null) sketch_symbols :Array.<up.api.sketch.Symbol>
-
The schematic symbols for this module instance.
Type:
- Array.<up.api.sketch.Symbol>
Methods
-
closeCheckAndCall(toCall) → {function}
-
Parameters:
Name Type Description toCallfunction - Inherited From:
Returns:
- Type
- function
-
defineGetAndSetFunctions(propertyName, getFunction, setFunction)
-
Parameters:
Name Type Description propertyNamestring getFunctionfunction setFunctionfunction - Inherited From:
-
defineGetFunction(propertyName, getFunction)
-
Parameters:
Name Type Description propertyNamestring getFunctionfunction - Inherited From:
-
isNet(netName) → {boolean}
-
Returns true <=> the object is in the provided net.
Parameters:
Name Type Description netNamestring - 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 layerstring - Inherited From:
Returns:
- Type
- boolean
-
setAttribute(keynon-null, opt_valopt)
-
This:
Parameters:
Name Type Attributes Description keystring The key to set the attribute on. opt_valstring <optional>
The value to set on the attribute.