Attributes

Documentation Home Page ◇ HYPERSIM Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Attributes

 

Attributes Overview

Attributes are arbitrary blocks of text associated with any device, signal or pin in a design, or with the design itself. Attributes have a wide variety of uses, including:

  • Displaying device name, part type, value, etc. on the schematic.

  • Storing data for the device model. Attributes are used to store and send data into HYPERSIM.

  • Storing various HYPERSIM related data on the object (device, signal, pin or design).

  • Storing any other user-defined data for various tasks of design maintenance, annotations or some other encapsulation tasks.

Attributes can be used in conjunction with the scripting and report generation features of HYPERSIM to implement powerful interfacing, customizing and error-checking features. You can define as many attribute fields as you need to store the text data required for your application.
In addition, many HYPERSIM features use attributes as temporary or permanent storage locations for data relating to a device or signal. For example, each device in a design has the name and location of the library it was read from stored in an attribute field. This allows the library to be located easily for later updating.
Attribute-based changes and programming are only for advanced users. Illegal manipulations will not be necessarily intercepted by HYPERSIM and you may corrupt device or design data and even make a design impossible to repair. A clear understanding of attributes is needed before making any changes.

Attribute Organization

Attribute Definition Table

Attributes are divided into named fields. The list of allowable field names is stored with each design in the attribute definition table. For each field, the table contains:

  • the field name (up to 16 characters)

  • what types of objects that field can be used in (devices, signals, pins or design)

  • data entry constraints (maximum length, carriage returns, etc.)

  • default settings, such as whether the field should be made visible on the diagram.

Once a field is defined in the table, its name is never typed again. When attribute data is entered for a selected object, the field name is picked from a list of allowable fields. This eliminates any chance of accidentally misspelling the field name in one object.

Predefined Fields

When a new design is created, a default attribute definition table is created with the standard, predefined fields. Predefined fields cannot be deleted from the design since many of them have specific internal functions in HYPERSIM.
See Predefined Attribute Fields for a complete listing of built-in fields.