Difference between revisions of "Show"
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
[[Category:Inspection Commands]] | [[Category:Inspection Commands]] | ||
[[Category:Typescript Commands]] | [[Category:Typescript Commands]] | ||
+ | |||
+ | == Command: Show ''identifier'' == | ||
+ | Displays a brief listing of the attributes of an object, showing only the attributes most commonly of interest. Compare this to the [[Profile]] Command that displays every attribute of an object. | ||
+ | |||
+ | == Example == | ||
+ | :<code>Show Va1</code> | ||
+ | |||
+ | == Details == | ||
+ | The Att_Showable attribute of the Attribute object controls whether the attribute is displayed by [[Show]]. | ||
+ | |||
+ | For example, try this: | ||
+ | * Create a variable <code>Va1</code> | ||
+ | * Press ''Ctrl+''' to open the [[typescript]] window. Follow along with this typescript dialog: | ||
+ | |||
+ | <pre style="background:white; border:white; margin-left: 1em;"> | ||
+ | Untitled> Show Va1 | ||
+ | Variable Va1 | ||
+ | IsIn: Untitled | ||
+ | Nodelocation: 176,88,1 | ||
+ | Nodesize: 48,24 | ||
+ | |||
+ | Untitled> show Nodesize | ||
+ | Attribute Nodesize | ||
+ | Att_saveable: 1 | ||
+ | Att_showable: 1 | ||
+ | |||
+ | Untitled> Att_showable Nodesize:0 | ||
+ | Untitled> show Nodesize | ||
+ | Attribute Nodesize | ||
+ | Att_saveable: 1 | ||
+ | Att_showable: 0 | ||
+ | |||
+ | Untitled> Show Va1 | ||
+ | Variable Va1 | ||
+ | IsIn: Untitled | ||
+ | Nodelocation: 176,88,1 | ||
+ | </pre> | ||
+ | |||
+ | You can also set this (via [[typescript]]) to control whether your own user-defined attributes display by [[Show]]. User-defined attributes show by default. | ||
+ | |||
+ | == See Also == | ||
+ | * [[Typescript]] | ||
+ | * [[Inspection Commands]] | ||
+ | ** [[Profile]] -- more detailed | ||
+ | ** [[What]] -- less detailed | ||
+ | ** [[Why]] -- reason the value is what it is | ||
+ | ** [[AllShow]] -- show all objects in a model, or within a module |
Latest revision as of 19:44, 11 February 2016
Command: Show identifier
Displays a brief listing of the attributes of an object, showing only the attributes most commonly of interest. Compare this to the Profile Command that displays every attribute of an object.
Example
Show Va1
Details
The Att_Showable attribute of the Attribute object controls whether the attribute is displayed by Show.
For example, try this:
- Create a variable
Va1
- Press Ctrl+' to open the typescript window. Follow along with this typescript dialog:
Untitled> Show Va1 Variable Va1 IsIn: Untitled Nodelocation: 176,88,1 Nodesize: 48,24 Untitled> show Nodesize Attribute Nodesize Att_saveable: 1 Att_showable: 1 Untitled> Att_showable Nodesize:0 Untitled> show Nodesize Attribute Nodesize Att_saveable: 1 Att_showable: 0 Untitled> Show Va1 Variable Va1 IsIn: Untitled Nodelocation: 176,88,1
You can also set this (via typescript) to control whether your own user-defined attributes display by Show. User-defined attributes show by default.
See Also
Comments
Enable comment auto-refresher