get Command

Description

Retrieves the value of a property.

Command Syntax

get <object>[.<property>.[...]].<property>

Example

This sample session shows how to start, run, and end an object that computes the area of a rectangle.
>start Block b
Object b started.
>set b.height = 4
value set for <b.height> 
>set b.width = 3 
value set for <b.width> 
>set b.depth = 5 
value set for <b.depth> 
>x b
b completed.
>get b.volume
60.0
Some properties have subproperties. For example, it is possible to specify units, upper and lower bounds, descriptions, etc. for certain properties when building components using Java or one of the wrapping utilities. In order to get the units of the length of an I-beam object, the user might enter a command like this:
>get IBeam.length.units 
ft

See also Analysis Server | Analysis Server Commands