Difference between revisions of "ShowAskAttribute"
Line 2: | Line 2: | ||
[[category:Inspection Commands]] | [[category:Inspection Commands]] | ||
− | = Command ShowAskAttribute <objectClass> = | + | == Command ShowAskAttribute <objectClass> == |
− | + | 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 [[ | + | 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: | |
+ | :<code>Untitled> ShowAskAttribute Variable</code> | ||
+ | :<code>[Class, Identifier, Title, Units, Description, Definition, Inputs, Outputs, Domain]</code> | ||
− | + | ==See Also== | |
− | + | * [[AskAttribute]] | |
− | + | * [[Inspection Commands]] | |
+ | * [[Typescript]] |
Revision as of 21:03, 21 January 2016
Command ShowAskAttribute <objectClass>
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]
See Also
Comments
Enable comment auto-refresher