Manage attributes
Each object, such as a variable, module, or function, is a collection of Attributes. Some attributes, notably class, identifier, title, and description, apply to all objects of any Class. Others apply only to selected classes. For example, Definition, Inputs, and Outputs apply to Variables and Functions, but not Modules. See Attributes for a brief explanation of these (and other) attributes. Button and Picture classes use the settings for Variables appropriate.
You can see the Attributes of an object in the Object Window and in the Attribute panel, and edit some of them in Edit mode. This table shows which attributes you can see in these views, always, marked as ✓, or optional, marked as +. (Blank means the attribute does not apply to that class of objects.) You can use the Attributes dialog below to select which of the optional Attributes to show:
Attribute Variable Function Module Notes Class ✓ ✓ ✓ Identifier ✓ ✓ ✓ Description ✓ ✓ ✓ Title ✓ ✓ ✓ Definition ✓ ✓ Units ✓ ✓ Help + + + Domain + Inputs + + Outputs + + Value + Initial Guess + Optimizer edition, decision nodes MetaOnly + OnChange + Shown in Object window only for user inputs. Script + Obsolete. Use OnClick and OnChange instead. Parameters + Recursive + Check + + Author ✓ Created ✓ File Info ✓ Last Saved ✓ Caching Method + Cloud Player Styles + + + Cell Default + Does not appear for non-tables Cell Format Expression + Analytica 5.0 or later Cue Text + Analytica 5.0 or later Parameter Enumerations + Template Input + Template Output + User-created + + +
Key:
- plain editable by user
- italic set by Analytica
- ✓ always displayed
- + optionally displayed
Attributes dialog
Use the Attributes dialog to control the display of optional attributes in the Object window and Attribute panel and to define new attributes. To open the Attributes dialog, select Attributes from the Object menu.
- Class: Use this menu to select variables, modules, or functions, so you can see and select the Attributes for that class.
- Attribute list: A list of the attributes optionally visible for the selected class. Attributes with an asterisk (*) are always displayed in the Object window and Attribute panel. Other Attributes with a checkmark are displayed optionally
Display optional attributes
To display an optional attribute in the Object window and Attribute panel, click the attribute once to select it, then again to show a checkmark (√) to indicate it will be shown in these two views.
To hide an optional attribute, click it once to select it, then again to remove the checkmark.
Create new attributes
You can create up to five additional attributes. For example, you could use a Source attribute to include a bibliographic reference or URL for information on which this number or expression of the Variable is based.
To create a new attribute in the Attributes dialog:
- Select new Attribute from the attribute list to show the new Attribute Title field and the Create button.
- Enter the title for the new attribute in the Title field. The title can contain a maximum of 14 characters; 10 characters are the maximum recommended for visibility with all screen fonts.
- Click the Create button to define the new attribute.
A newly created attribute is displayed for modules, variables, and functions. To control whether or not it is displayed for modules, variables, or functions, select the Class popup menu in the Attributes dialog, and turn the checkmark on or off.
Rename an attribute
To rename a created attribute:
- Select it in the Attribute list. The Title field and the Rename button appear.
- Edit the name of the attribute in the Title field.
- Click the Rename button.
See Also
Enable comment auto-refresher