Adams Car Package > Adams Car > Learning the Basics > Working with the Information Window

Working with the Information Window

Your template-based product uses the Information window to display many different types of information about your model, Simulation, and so on. In addition to just viewing information about your model, you can perform a variety of operations in the Information window. For example, you can display additional information about the current object's parent or child, print the information, display information about a different object in the database, and more.

Displaying Information

Managing Information

Displaying Object Information and Accessing Information Window

You can display information about each object in your Modeling database, including parts, geometry, motion, and markers. Learn about Markers.
You can view the information about an object currently on the screen or any object in the database, including the Main window or dialog boxes.
When you display information about the objects in your modeling database, your template-based product displays information specific to that type of object. For example, when you display information about a rigid body in your model, your template-based product displays information about its material content, inertial properties, initial conditions, orientation, velocity, and more. When you display information about a motion, your template-based product displays information about the type of motion it is, its function, and time derivative.

To display information about a modeling object displayed on the screen:

Right-click the object on the screen, and then select Info.
 
Tip:  
You may want to zoom in on the object on the screen to more easily place the cursor over just that object.
Information about the object appears in the Information window.

To use the Database Navigator to display information about objects in the Information window:

1. On the Status bar, select the Info tool from the Information tool stack.
The Database Navigator appears.
2. Select the object about which you want to display information. Learn about selecting objects.
3. Select OK.
The information window appears.

To display object information once you've displayed the Information window, do one of the following:

In the text box at the top of the Information window, enter the name of the object, and then select Apply.
If the object name already appears in the Information window, place the text cursor in the name of the object, and then select Apply.

Displaying Parent and Children Information

Each object in the database has an object that owns it, called its parent, and many objects own other objects, called their children. The top-level objects in the database are models, plots, and interface objects, called gui objects. These objects do not have parents. You can display information about the parent or children of the object currently displayed in the Information window.
If an object has a parent, the type of parent it has appears in the Information window under the heading Parent Type and the name of the parent is placed in front of the name of the object in the Object Name heading. For example, for the part LINK_2, its parent type and name appear in the Information window, as shown next:

To display an object's children:

In the Information window, select Children.

To display an object's parent, do one of the following:

In the Information window, select Parent.
In the Information window, place the text cursor in the name of the parent and select Apply.

Displaying an Object's Modify Dialog Box from the Information Window

When information about an object is displayed in the Information window, you can access that object's modify dialog box so you can modify the object.

To access an object's modify dialog box from the Information window:

In the Information window, place the text cursor in the name of the object and select Modify.

Clearing the Information Window

Each time you request information in the Information window, your template-based product adds the information to the bottom of the Information window without removing the current information. You can remove all current information.

To clear the Information window:

In the Information window, select Clear.

Saving Information in the Information Window

You can save the contents of the Information window to a text file.

To save the contents of the information to a text file:

1. In the Information window, select Save to File.
The Select File dialog box appears.
2. Select the directory in which you want to place the file.
3. In the File Name text box, enter the file name.
4. Select Open.

Displaying a Text File in the Information Window

You can display any text file in the Information window. You will find this helpful if you want to display an information file that you saved or you are creating a demonstration of your model using a command file and you want to display information about a particular object or aspect of the demonstration.

To display a text file when the Information window is already displayed:

1. In the Information window, select Read from File. dialog box appears.
2. Select the directory in which you want to place the file.
3. Highlight the file that you want to open in the list, or type the file name in the File Name text box.
4. Select Open.

To display a text file when the Information window is not displayed:

1. On the Tools menu, select Show File.
The Info Window Read dialog box appears.
2. In the File Name text box, you can either:
Enter the name of the file.
Browse for a file: right-click the File Name text box, and then select Browse to display the File Selection dialog box.
3. Select OK.
The Information window appears with the text of the file as its content.

Copying Text in the Information Window

You can copy any text in the Information window for use in another window, dialog box, or application. You cannot paste or delete any text in the window.

To copy text in the Information window:

1. Highlight the text that you want to copy.
2. Right-click the Information window and select Copy.

Setting the Information Mode

By default, the Information window displays only a part's parent and type. To display more information about the part, you can turn on verbose mode. When you turn on verbose mode, the Information window displays the children of the object, its geometry, whether or not comments are associated with it, and its attributes, such as its color and visibility.

To turn on verbose mode:

Select the Verbose check box.

Using Wildcards

You can use wildcards to narrow any search, set the type of information displayed in a window, such as the Database Navigator or the Log file, or specify a name of an object in a dialog box.
 
This Character:
 
* (asterisk)
Zero or more characters
?
Any single character
[ab]
Any one of the characters in the brackets
[^AB]
Any character other than the characters following the caret symbol (^) in the brackets
[a-c]
Any one character in a range enclosed in brackets
{AB, bc}
Any of the character strings in the braces

Tips on Using Wildcards

Here are some tips for entering wildcards:
Case is insignificant, so xYz is the same as XYz.
You can match alternative sequences of characters by enclosing them in braces and separating them with commas. For example, the pattern a{ab,bc,cd}x matches aabx, abcx, and acdx.
You can form character sets that match a single character using brackets [ ]. For example, [abc]d matches ad, bd, and CD
You can use a dash (-) to create ranges of characters. For example, [a-f1-4] is the same as [abcdef1234].
You can use a backslash (\) to include a special character as part of the character set. For example, [AB\]CD] includes the five characters a, b, ], c, and d.
Here are some examples of more complex patterns and possible matches:
x*y - Matches any object whose name starts with x and ends with y. This would include xy, x1y, and xaby.
x??y - Matches only those objects with four-character long names that start with x and end with y. This would include xaay, xaby, and xrqy.
x?y* - Matches all of those objects whose names start with x and have y as the third character. This would include xayee, xyy, and xxya.
*{aa,ee,ii,oo,uu}* - Matches all those objects whose name contains the same vowel twice in a row. This would include loops and skiing.
[aeiou]*[0-9] - Matches any object whose name starts with a vowel and ends with a digit. This would include eagle10, arapahoe9, and ex29.
[^aeiou]?[xyz]* - Matches any object whose name does not start with a vowel and has x, y, or z as the third letter. This would include thx1138, rex, and fizzy.