Difference between revisions of "Change class of an object"

m (callout line from top)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Category:Analytica User Guide]]
 
[[Category:Analytica User Guide]]
<breadcrumbs>Analytica User Guide > Creating and Editing a Model> {{PAGENAME}}</breadcrumbs>
+
<breadcrumbs>Analytica User Guide > Create and edit a model> {{PAGENAME}}</breadcrumbs>
 +
{{ReleaseBar}}
  
 +
You can press on the '''''class '''''of a variable or module in an [[Object window]] or [[Attribute panel]] to open a popup menu. The options depend on whether the node is a variable or a [[Modules and Libraries|module]].
  
You can press on the '''''class '''''of a variable or module in an '''Object '''window or '''Attribute '''panel to open a popup menu. The options depend on whether the node is a variable or a module.
+
{{CalloutAnnotationBlock|[[image:Mortgage loan amount.png]]|
 +
{{CalloutAnnotation|[[image:ClassPulldownForVariable.png]]
 +
'''Variable classes'''|v=0|pt=95,39|style=text-align:right;border-style:none;padding:0px}}
 +
{{CalloutAnnotation|[[image:ClassPulldownModule.png]]
 +
'''Module classes'''|v=200|pt=95,39|path=t|style=text-align:right;border-style:none;padding:0px;left:100px}}
 +
}}
  
[[File:Chapter4 27.png]]
+
To change [[class]], just select another option from the menu. The shape of the node and other class-dependent properties change automatically.
  
To change class, just select another option from the menu. The shape of the node and other class-dependent properties change automatically.
+
<tip title="Tip">You cannot change the [[class]] of a function, and you cannot change a variable into a module, or vice versa.</tip>
 
 
<tip title="Tip">You cannot change the class of a function, and you cannot change a variable into a module, or vice versa.</tip>
 
  
 
For more, see [[Classes of variables and other objects]].
 
For more, see [[Classes of variables and other objects]].
  
===Module Subclasses===
+
==See Also==
All modules contain other objects, including sometimes other modules. There are several different subclasses of module:
+
* [[Classes of variables and other objects]]
 
+
* [[Class]]
[[File:Chapter4 28.png]] '''Model: '''Usually the top module in a module hierarchy, saved as a separate file (document with extension <code>.ana</code>). Any nondefault preferences (see [[Preferences dialog]], uncertainty options (see [[Uncertainty Setup dialog]]), and graph style templates are saved with the model, but not other module types.
+
* [[Objects and Values]]
 
 
[[File:Chapter4 29.png]] '''Module: '''A collection of nodes displayed in a single diagram. A standard module contains a set of other nodes, and is usually part of the module hierarchy within a model or other module type.
 
 
 
[[File:Chapter4 30.png]] '''[[Using filed modules and libraries|Filed module]]: '''A module whose contents are saved in a file separate from the model that con- tains it. A filed module can be shared among several models, without having to make a copy for each model.
 
 
 
[[File:Chapter4 31.png]] '''[[Libraries|Library]]: '''A module that contains functions and sometimes variables. Read-in libraries are listed in the '''Definition '''menu below the built-in libraries, with a hierarchical submenu listing the functions they contain, giving easy access.
 
 
 
[[File:Chapter4 32.png]] '''[[Using filed modules and libraries|Filed library]]: '''A library saved in a file separate from the model that contains it. A filed library can be shared among several models, without having to make a copy for each model.
 
  
[[File:Chapter4 33.png]] '''Form: '''A module containing input and output nodes. You can easily create input and output nodes in a form node by drawing arrows from their original node to the form (for outputs) or from the form to the variable for inputs. See [[Creating Interfaces for End Users]].
 
  
==See Also==
 
 
<footer>To edit an attribute / {{PAGENAME}} / Preferences dialog</footer>
 
<footer>To edit an attribute / {{PAGENAME}} / Preferences dialog</footer>

Latest revision as of 23:14, 24 July 2017



Release:

4.6  •  5.0  •  5.1  •  5.2  •  5.3  •  5.4  •  6.0  •  6.1  •  6.2  •  6.3  •  6.4  •  6.5


You can press on the class of a variable or module in an Object window or Attribute panel to open a popup menu. The options depend on whether the node is a variable or a module.


Mortgage loan amount.png


ClassPulldownForVariable.png Variable classes


ClassPulldownModule.png Module classes

To change class, just select another option from the menu. The shape of the node and other class-dependent properties change automatically.

Tip
You cannot change the class of a function, and you cannot change a variable into a module, or vice versa.

For more, see Classes of variables and other objects.

See Also


Comments


You are not allowed to post comments.