Difference between revisions of "ShowAskAttribute"
(documented) |
|||
Line 1: | Line 1: | ||
[[category:Typescript Commands]] | [[category:Typescript Commands]] | ||
− | = Command ShowAskAttribute = | + | = Command ShowAskAttribute <objectClass> = |
(new to 4.0) | (new to 4.0) | ||
The [[AskAttribute]] command controls which attributes display on the object window or attribute panel. These can be changed by selecting Object->Attribute... from the menus. These settings are stored with an Analytica model. The ShowAskAttribute provides access to the current settings. | The [[AskAttribute]] command controls which attributes display on the object window or attribute panel. These can be changed by selecting Object->Attribute... from the menus. These settings are stored with an Analytica model. The ShowAskAttribute provides access to the current settings. | ||
+ | |||
+ | The command takes a single argument, which is the class of an object (variable, chance, decision, index, function, constant, module, library, etc). It returns a list of the attributes that should be shown for that object. | ||
+ | |||
+ | = Example = | ||
+ | |||
+ | The following is a view of the typescript window: | ||
+ | Untitled> ShowAskAttribute Variable | ||
+ | [Class,Identifier,Title,Units,Description,Definition,Inputs,Outputs,Domain] | ||
+ | |||
+ | = Known bugs = | ||
+ | |||
+ | * EW4982: May cause a fatal stack underflow when provided with a bad (or too many) arguments. |
Revision as of 00:08, 3 February 2007
Command ShowAskAttribute <objectClass>
(new to 4.0)
The AskAttribute command controls which attributes display on the object window or attribute panel. These can be changed by selecting Object->Attribute... from the menus. These settings are stored with an Analytica model. The ShowAskAttribute provides access to the current settings.
The command takes a single argument, which is the class of an object (variable, chance, decision, index, function, constant, module, library, etc). It returns a list of the attributes that should be shown for that object.
Example
The following is a view of the typescript window:
Untitled> ShowAskAttribute Variable [Class,Identifier,Title,Units,Description,Definition,Inputs,Outputs,Domain]
Known bugs
- EW4982: May cause a fatal stack underflow when provided with a bad (or too many) arguments.
Comments
Enable comment auto-refresher