Members
-
(static) Priority :string
-
Type:
- string
Properties:
Name Type Default Description CRITICALstring CRITICAL PERFORMANCEstring PERFORMANCE LOWstring BIKE_SHEDDING NONEstring NONE -
(static) State :string
-
Type:
- string
Properties:
Name Type Default Description OPENstring OPEN IN_PROGRESSstring IN_PROGRESS COMPLETEstring COMPLETE VERIFIEDstring VERIFIED -
ctx_ :up.api.Context|up.api.ComponentContext
-
@private
Type:
- up.api.Context | up.api.ComponentContext
- 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:
- Array.<up.api.core.Net>
- Inherited From:
Methods
-
addNote(color, startPosnon-null, endPosnon-null) → {up.api.issue.Note}
-
Parameters:
Name Type Description colorstring The color for the note. startPosup.api.core.Point One corner of the rectangle. endPosup.api.core.Point The opposide corner of the rectangle. Returns:
- Type
- up.api.issue.Note
-
addThread(title, opt_noteopt, opt_commentopt, opt_assigneeopt, opt_priorityopt, opt_stateopt) → (non-null) {up.api.issue.Thread}
-
Create an issue.
Parameters:
Name Type Attributes Description titlestring opt_noteup.api.issue.Note <optional>
Defaults to the current note in the notelistManager. opt_commentstring <optional>
opt_assigneestring <optional>
opt_priorityup.api.issue.Issues.Priority <optional>
opt_stateup.api.issue.Issues.State <optional>
Returns:
- Type
- up.api.issue.Thread
-
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}
-
- Inherited From:
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