Difference between revisions of "ShowAskAttribute"

Line 2: Line 2:
 
[[category:Inspection Commands]]
 
[[category:Inspection Commands]]
  
= Command ShowAskAttribute <objectClass> =
+
== 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 &rarr; 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.
  
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 ==
  
= 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>
  
The following is a view of the typescript window:
+
==See Also==
Untitled> ShowAskAttribute Variable
+
* [[AskAttribute]]
[Class,Identifier,Title,Units,Description,Definition,Inputs,Outputs,Domain]
+
* [[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


You are not allowed to post comments.