Difference between revisions of "ShowAskAttribute"

 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[category:Typescript Commands]]
 
[[category:Typescript Commands]]
 +
[[category:Inspection Commands]]
  
= Command ShowAskAttribute =
+
== 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 [[AskAttribute]] command controls which attributes display on the object window or attribute panelThese 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 [[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]]

Latest revision as of 21:33, 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


You are not allowed to post comments.