Command Show

Revision as of 00:26, 3 February 2007 by Lchrisman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

(new to 4.0) The Att_Showable attribute of the Attribute object controls whether the attribute is displayed by Show. If you create your own user-defined attribute, you can control whether it displays with the Show command by setting this meta-attribute.

For example, try this:

  • Create a variable Va1
  • select Object->Attributes... -> new attribute
  • Enter a name: "MyAtt". Press [Create], [OK]
  • Press CTRL-' to open the typescript window. Follow along with this typescript dialog:
Untitled> Show MyAtt
Attribute MyAtt
Title: MyAtt
Att_saveable:1
Att_showable:1
Untitled>

Notice that your user-defined attribute appears in Show by default. You can see this using:

Untitled> MyAtt Va1: Hello world
Untitled> Show Va1
Variable Va1
IsIn: Untitled
Nodelocation: 176,88,1
Nodesize: 48,24
Myatt: Hello World

Now change it:

Untitled>Att_showable MyAtt:0
Untitled>show va1
Variable Va1
IsIn: Untitled
Nodelocation: 176,88,1
Nodesize: 48,24
Comments


You are not allowed to post comments.