You are on page 1of 19

TextView 12.

0
User's Guide

www.altairhyperworks.com | HyperWorks is a division of


Altair Engineering Support Contact Information
Web site www.altairhyperworks.com

Location Telephone e-mail

Australia 61.3.9016.9042 anzsupport@altair.com

Brazil 55.11.3884.0414 br_support@altair.com

China 86.21.6117.1666 support@altair.com.cn

France 33.1.4133.0992 francesupport@altair.com

Germany 49.7031.6208.22 hwsupport@altair.de

India 91.80. 6629.4500 support@india.altair.com


1.800.425.0234 (toll free)

Italy 39.800.905.595 support@altairengineering.it

Japan 81.3.5396.2881 support@altairjp.co.jp

Korea 82.70.4050.9200 support@altair.co.kr

Mexico 55.56.58.68.08 mx-support@altair.com

New Zealand 64.9.413.7981 anzsupport@altair.com

North America 248.614.2425 hwsupport@altair.com

Scandinavia 46.46.286.2052 support@altair.se

United Kingdom 01926.468.600 support@uk.altair.com

In addition, the following countries have resellers for Altair Engineering: Colombia, Czech Republic, Ecuador, Israel, Russia,
Netherlands, Turkey, Poland, Singapore, Vietnam, Indonesia
Official offices with resellers: Canada, China, France, Germany, India, Malaysia, Italy, Japan, Korea, Spain, Taiwan, United
Kingdom, USA

Copyright© Altair Engineering Inc. All Rights Reserved for:


HyperMesh® 1990-2013; HyperCrash® 2001-2013; OptiStruct® 1996-2013; RADIOSS®1986-2013; HyperView®1999-2013;
HyperView Player® 2001-2013; HyperStudy® 1999-2013; HyperGraph®1995-2013; MotionView® 1993-2013; MotionSolve® 2002-
2013; HyperForm® 1998-2013; HyperXtrude® 1999-2013; Process Manager™ 2003-2013; Templex™ 1990-2013; MediaView™
1999-2013; BatchMesher™ 2003-2013; TextView™ 1996-2013; HyperMath® 2007-2013; ScriptView™ 2007-2013; Manufacturing
Solutions™ 2005-2013; HyperWeld® 2009-2013; HyperMold® 2009-2013; solidThinking® 1993-2013; solidThinking Inspire™
2009-2013; solidThinking Evolve™ 1993-2013; Durability Director™ 2009-2013; Suspension Director™ 2009-2013; AcuSolve®
1997-2013; and AcuConsole® 2006-2013.

In addition to HyperWorks® trademarks noted above, GridWorks™, PBS GridWorks®, PBS Professional®, PBS™, PBS Works™
and Portable Batch System® are trademarks of ALTAIR ENGINEERING INC. All are protected under U.S. and international laws
and treaties. Copyright© 1994-2013.

Additionally, the Altair software is protected under patent #6,859,792 and other patents pending.
All other marks are the property of their respective owners.

ALTAIR ENGINEERING INC. Proprietary and Confidential. Contains Trade Secret Information. Not for use or disclosure outside of
ALTAIR and its licensed clients. Information contained in HyperWorks® shall not be decompiled, disassembled, or “unlocked”,
reverse translated, reverse engineered, or publicly displayed or publicly performed in any manner. Usage of the software is only as
explicitly permitted in the end user software license agreement.

Copyright notice does not imply publication.


TextView 12.0 User's Guide

TextView..................................................................................1
Graphical User Interface
................................................................................................................................2
.................................................................................................................................................3
TextView Menus
Text Menu................................................................................................................................4
Preferences Menu
................................................................................................................................5

.................................................................................................................................................6
Text Toolbar
.................................................................................................................................................7
Tab Area

TextView Panels
................................................................................................................................8
.................................................................................................................................................9
Opening Text Files
.................................................................................................................................................10
Evaluation Mode Control
.................................................................................................................................................13
Text Attributes Panel
.................................................................................................................................................14
Find
.................................................................................................................................................16
Refresh

Altair Engineering TextView 12.0 User's Guide i


Proprietary Information of Altair Engineering
TextView

TextView provides both powerful math script processing plus a text editor. It is an
integrated application in HyperWorks Desktop. TextView’s math scripts can reference vector
data from HyperGraph and HyperGraph 3D windows for automating data processing and
data summery.

1 TextView 12.0 User's Guide Altair Engineering


Proprietary Information of Altair Engineering
Graphical User Interface

The graphical user interface provides you with a consistent look and feel when you are
working in any of the HyperWorks Desktop applications.
Click on one of the following topics to learn more about the TextView user interface:
Tab Area
Text Toolbar
Text Menu
Preferences Menu
See Graphical User Interface in the H yp erW orks D esktop User's G u id e for more
information about the different areas of the interface.

Altair Engineering TextView 12.0 User's Guide 2


Proprietary Information of Altair Engineering
TextView Menus
The following menus are available in TextView:
Text
Preferences

3 TextView 12.0 User's Guide Altair Engineering


Proprietary Information of Altair Engineering
Text Menu
The following options are available on the Text menu:

Text Attributes Displays the Text Attributes panel which allows you to change
text and background colors and define font size and type.

Find Displays the Find dialog which allows you to locate specific text
and define search options.

Refresh Updates any text that references data in other windows, thus
reflecting the referenced data's current state.

These options can also be selected from the Text toolbar.

Altair Engineering TextView 12.0 User's Guide 4


Proprietary Information of Altair Engineering
Preferences Menu
From the Preferences menu, the Export Settings option allows you to define the
parameters for the following file types:
AMF
AVI
H3D
JPEG
See the Export Settings topic in the H yp erW orks D esktop User's G u id e help for more
information.

5 TextView 12.0 User's Guide Altair Engineering


Proprietary Information of Altair Engineering
Text Toolbar
The Text toolbar provides quick access to the following panels. To access the panel or
feature, click on its corresponding button on the toolbar.

Text toolbar

Button Left-click LEFT Behavior Right-click

Evaluation Mode Turn text editing capabilities on and Same


Control off.

Text Attributes Opens the Text Attributes panel. Same

Find Opens the Find Text dialog. Same

Refresh All Updates any text that references Same


data in other windows, thus
reflecting the referenced data's
current state.

From the View menu, select T o o lb ars > T extV iew and then click the T ext toolbar name
to turn the display on or off.
The TextView Text toolbar is dockable, meaning it can be positioned anywhere within the

window by hovering over the four dots, , and dragging them with your mouse to its new
location.

Altair Engineering TextView 12.0 User's Guide 6


Proprietary Information of Altair Engineering
Tab Area
The tab area is the portion of the graphical user interface that contains the browsers,
utilities, and other functionality not shown in the panel area. The Tab Area can be moved to
either the left or right side of the graphics area, or both, or it can be hidden completely.
Browsers that are displayed in the tab area by default in the framework include the Session
Browser and the Model Browser. Other browsers that can be displayed on or off via the
V iew menu are the Parameters Browser, the Process Manager, Library Manager,
Solver Browser, Connector Browser, Mask Browser, Entity State Browser, and the
Utilities Menu.
Turn the Tab Area sidebars on or off by selecting L eft, Rig ht, E xp and B o th, or Co llap se
B o th from the V iew menu > T ab A rea menu.
To maximize available space, multiple features (browsers, utilities, etc.) are organized onto
tabs; click a tab heading to bring it to the forefront.

7 TextView 12.0 User's Guide Altair Engineering


Proprietary Information of Altair Engineering
TextView Panels

The following TextView toolbar buttons are displayed when you select TextView, , as the
active application. You can access these TextView features from the Text toolbar or the
Text menu.

Evaluation Mode Edits ( ) or evaluates ( ) text in the TextView


Control window area.

Text Attributes Defines text, background colors, and the text font.

Find Locates specific text and defines search options.

Refresh Refreshes text that references data in other windows.

Altair Engineering TextView 12.0 User's Guide 8


Proprietary Information of Altair Engineering
Opening Text Files
TextView allows you to view and edit text files. Any ASCII text file or HTML file can be
opened by selecting File > Op en > D o cum ent. The TextView panels allow you to edit
files, conduct text searches, and change text attributes.

When TextView is in non-edit mode, , Templex statements are evaluated. If you have an
HTML file loaded, the HTML output is displayed when TextView is in non-edit mode.
TextView files can be saved as templates or as output text.
To open a TextView file:

1. From the File > Open menu, select D o cum ent.


The Open Document file browser is displayed.
2. Select a file using the file browser.
3. Click Op en.

To save a TextView file:

1. From the File > Save menu, select D o cum ent,


or
From the File > Save As menu, select D o cum ent.
The Save Document As file browser is displayed.
2. Under Save as type:, select T em p late Files (* .tpl ) or select A ll Files (* .* ).
3. Select a path and file name using the file browser.
4. Click S ave.

9 TextView 12.0 User's Guide Altair Engineering


Proprietary Information of Altair Engineering
Evaluation Mode Control
Evaluation Mode Control allows you to turn text editing capabilities on and off. When the
edit mode is enabled, , you can edit text in the text window. When the edit mode is
disabled, and the evaluation mode is enabled, , the text is evaluated by Templex,
Templex variables are resolved, and the formatted results are displayed. If you have an
HTML file loaded, the HTML output is displayed when th edit mode is disabled. Enabling the
edit mode displays the source text.

Templex statements in edit mode

Templex statements evaluated in non-edit mode

Altair Engineering TextView 12.0 User's Guide 10


Proprietary Information of Altair Engineering
HTML file in edit mode

HTML output file in non-edit mode

11 TextView 12.0 User's Guide Altair Engineering


Proprietary Information of Altair Engineering
Supported HTML Elements and Attributes
The tables below illustrate the HTML elements and attributes supported in TextView.

HTML elements supported by TextView

HTML attributes supported by TextView

Altair Engineering TextView 12.0 User's Guide 12


Proprietary Information of Altair Engineering
Text Attributes Panel
The Text Attributes panel allows you to change the text and background colors as well as
the font attributes.

Text Attributes panel

Text Changes the text color.

Background Color Changes the background color.

Changes the font type, style, and size.

To change the text color:

1. From the TextView toolbar, click the T ext A ttrib utes icon, . Or, from the Text
menu, select A ttrib utes.
2. Under Color, select T ext.
3. Select a color from the color palette.
The text color in the text window changes to reflect the selected color.
To change the background color:

1. From the TextView toolbar, click the T ext A ttrib utes icon, . Or, from the Text
menu, select A ttrib utes.
2. Under Color, select B ackg ro und.
3. Select a color from the color palette.
The background color in the text window changes to reflect the selected color.

13 TextView 12.0 User's Guide Altair Engineering


Proprietary Information of Altair Engineering
Find
The Find dialog allows you to locate specific text using the following options:

Find dialog

Altair Engineering TextView 12.0 User's Guide 14


Proprietary Information of Altair Engineering
Find Enter the text to be found.
If the search type is Html, omit the ‘<’ and ‘>’ characters. For
example, if you want to find all table data tags, or 'TD's, only ‘TD’
should be entered in the Find field.

Up Arrow Locate the next occurrence of the search text above the current
cursor location (affected by Wrap around option).

Down Arrow Locate the next occurrence of the search text below the current
cursor location (affected by Wrap around option).

Search type Controls what is matched by the search text specification.

Ascii (find text) Searches only for text that matches the
letters entered in the Find text entry box.

Html (find tags) Searches only for HTML tags that match
the letters entered in the Find text entry
box.

When a match is found, the full range of


the tag is highlighted.

Options Select from one of the following options:

Match case Searches only for text that matches the


uppercase and lowercase letters entered in
the Find text entry box.

Whole words Searches for complete words only.

Pattern match Searches for text using wildcards.

Wrap around top/ Conduct a continuous search cycle


bottom beginning and ending at the current
cursor location, wrapping around the end
of the text to the beginning.

Go to line Highlights the specified line and moves the cursor to that line.

15 TextView 12.0 User's Guide Altair Engineering


Proprietary Information of Altair Engineering
Refresh
Click the Refresh button, , to update any text that references data in other windows,
thus reflecting the referenced data's current state.

Altair Engineering TextView 12.0 User's Guide 16


Proprietary Information of Altair Engineering

You might also like