simetrix.SetComponentValueStatus

class simetrix.SetComponentValueStatus(*values)

Bases: Enum

Status values for SetComponentValue() and GetComponentValue().

Attributes

NOERR

No error, function completed successfully.

BADADDRESS

The address given was not recognised.

AMBIGUOUSADDRESS

The address given could refer to more than one item.

INCOMPLETEADDRESS

The address was incomplete.

MISSINGCHILD

Address refers to a hierarchical block which is missing, that is the schematic file could not be found.

WRITEPROTECTED

The operation required an instance property to be edited but that property was protected and could not be edited.

NEWPROP

A new property was added to the part to complete the required edit.

UNKNOWN

Unknown error.

AMBIGUOUSADDRESS = 2

The address given could refer to more than one item.

BADADDRESS = 1

The address given was not recognised.

INCOMPLETEADDRESS = 3

The address was incomplete. For example, it might refer to a valid part without specifying which parameter is to be written or read.

MISSINGCHILD = 4

Address refers to a hierarchical block which is missing, that is the schematic file could not be found.

NEWPROP = 6

A new property was added to the part to complete the required edit. This is not necessarily an error. Some parameters will assume default values if not present. If set to an explicit value a property may be added to the schematic instance.

NOERR = 0

No error, function completed successfully.

UNKNOWN = 7

Unknown error.

WRITEPROTECTED = 5

The operation required an instance property to be edited but that property was protected and could not be edited.