simetrix.SetComponentValueStatus¶
- class simetrix.SetComponentValueStatus(*values)¶
Bases:
EnumStatus values for
SetComponentValue()andGetComponentValue().Attributes
No error, function completed successfully.
The address given was not recognised.
The address given could refer to more than one item.
The address was incomplete.
Address refers to a hierarchical block which is missing, that is the schematic file could not be found.
The operation required an instance property to be edited but that property was protected and could not be edited.
A new property was added to the part to complete the required edit.
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.