attrprint
Abstract
Displays a list of information about the internal state of a specified attribute.
Syntax
attrprint <objref> <attr_name>
| Argument | Type | Description |
|---|---|---|
<objref> |
integer or string | numeric object ID or hierarchical name of the object-of-interest An object ID for this argument can be obtained by using the ODB commands objmap or objid. |
<attr_name> |
string | name of the attribute-of-interest Object attribute names can be obtained from several sources: Modeling Manual (for built-in attributes), object menus in editors, and model reports. |
Details
Attribute names which consist of multiple words separated by spaces must be surrounded with double-quotes. Some items which appear in object menus within Riverbed Modeler are operations rather than attributes, and cannot be displayed using attrprint (for example, the redefine path item of point-to-point link menus). An attribute value can be modified using the command attrset.
Example
ODB> objmap igen
Obj ID Obj Name Obj Type Parent ID
-----------------------------------------------------------------------------------
50 top.cct_net.node_1.gen ideal generator 3
63 top.cct_net.node_2.gen ideal generator 4
...
ODB> attrprint #50 "interarrival args"
* Attribute information
Name: interarrival args
Type: Argument List (built-in)
Value: 1.0
Properties:
Default Value: 1.0
Symbol Map List
----------------
<none>