Basug BasicTasks
Basug BasicTasks
Infrastructure
Site Map
Preface
Using This Guide
Conventions
What's New?
Basic Tasks
Starting Version 5
Starting a Session on Windows
Starting a Session on UNIX
Starting a Session Using Document Icons
Starting a Session in a Language Other than English on Windows
Starting a Session in a Language Other than English on UNIX
Getting Help
Displaying Tooltips and Help Messages
Using the What's This? Command
Accessing the Online Help Library
Searching the Online Help Library
Getting Contextual Help
Accessing the Dassault Systmes User Galaxy
Displaying Copyright Information
Accessing Sample Documents
Editing in Context Within the Product Structure
What Is the Product Structure?
Accessing the Navigation Tools
Creating a New Workbench Document in the Product Structure
Activating a Different Workbench in the Product Structure
Creating a New Document for a Different Workbench
Creating, Opening, and Saving Documents
About Data Sharing Between Windows and UNIX
About Filenames
Creating New Documents
Creating a New Document from an Existing One
Opening Existing Documents
Opening Existing Documents Using the Browse Window
Opening Most Recently Used Documents
Closing Documents
Saving Documents For the First Time or Under Another Name
Saving Existing Documents
Saving Documents In Other Formats
Saving All Documents
Page 1
Infrastructure
Version 5 Release 13
Page 2
Infrastructure
Version 5 Release 13
Page 3
Infrastructure
Version 5 Release 13
Page 4
Infrastructure
Version 5 Release 13
Page 13
Preface
Welcome to Version 5!
Version 5 is the first release of the next generation of Dassault Systmes software solutions, and
addresses advanced mechanical process centric design requirements. In addition to leading edge featurebased design functions, it includes highly productive capabilities for the design of mechanical assemblies
and for drawing generation.
Available on both UNIX and Windows environments, Version 5 is built to be totally compliant with Windows
presentation standards.
In order to integrate to an extended enterprise where CATIA Version 4 designs need to be exchanged and
processed, it includes unique two-way interoperability with CATIA Version 4 data. Likewise, Version 5
benefits from the breadth of the CATIA Solutions Version 4 portfolio by offering interoperable applications.
As an open solution, it includes interfaces with the most commonly used data exchange industry
standards.
CATIA Team PDM
Please note that CATIA Team PDM (TD1) is no longer a CATIA product. The integration between CATIA and
SmarTeam is now a SmarTeam product named SmarTeam-CATIA V5 Integration available in the
SmarTeam product. If you are a former Team PDM customer, please contact your CATIA support to modify
your Team PDM seat to take account of the relevant SmarTeam product.
Using This Guide
Conventions
Version 5 Release 13
Infrastructure
Page 14
starting a session
getting help
using macros
Conventions
Version 5 Release 13
Infrastructure
Page 15
Conventions
Certain conventions are used in CATIA, ENOVIA & DELMIA documentation to help you recognize and understand important concepts and
specifications.
Graphic Conventions
The three categories of graphic conventions used are as follows:
Identifies...
This icon...
Version 5 Release 13
Infrastructure
This icon...
Text Conventions
The following text conventions are used:
The titles of CATIA, ENOVIA and DELMIA documents appear in this manner throughout the text.
File -> New identifies the commands to be used.
Enhancements are identified by a blue-colored background on the text.
Page 16
Version 5 Release 13
Infrastructure
Click (icons, dialog box buttons, tabs, selection of a location in the document window, ...)
Double-click
Shift-click
Ctrl-click
Drag
Drag
Move
Page 17
Version 5 Release 13
Infrastructure
Page 18
What's New?
New Functionalities
Manipulating Objects
Using the Graphic Properties Wizard
You can now use the Graphic Properties Wizard that enables you to display the graphic properties
of the selected object and its parents. This wizard makes it easier to identify which parent each
graphic property of the object derives from.
Viewing Objects
Defining Dynamic Level of Detail and Dynamic Pixel Culling
You can drag and drop two new commands onto a toolbar to define more quickly the level of detail
(LOD) and the pixel culling while moving.
Knowledgeware
Hiding Relations
A visual indicator now indicates that the relations set contains hidden objects.
Creating Formulas based on Publications
The user can now create formulas based on publications.
Optimal CATIA PLM Usability
Safe save mode to ensure that data created in CATIA can be correctly saved in ENOVIA V5. See
also Working with for Design Tables in ENOVIA, Saving a Design Table in Enovia LCA,
Using a Design Table Saved in ENOVIA LCA in another Part, Versioning a Design Table,
Working with Design Tables in ENOVIA LCA Using VPM Navigator and Saving a Design
Table in Enovia LCA Using the VPM Navigator.
Enhanced Functionalities
Batch Monitor
Running the Data Life Cycle Batch
Ergonomic enhancements have been made for selecting the utilities to run.
Ability to open the generated report directly from the batch interface.
The access to CATIA documents has been improved and you can now filter the documents to be
processed.
Running Batches Using the Batch Monitor
Two new batches are availables from the Batch Monitor: CATDMUUtility and AnalysisUpdateBatch.
The Batch Monitor now provides a feedback on the batch completion.
Ability to access contextual help on the Batch Monitor: you can now access the documentation
specific to the batch you run or, if needed, access the general documentation on the Batch Monitor.
Infrastructure
Version 5 Release 13
Page 19
Customizing Workbenches
Creating User-Defined Workbenches
Removing a dynamic license removes the corresponding favorite workbench. After adding the
removed license, the corresponding workbench now reappears automatically in the favorites.
ENOVIA/CATIA Interoperability
Optimal CATIA PLM Usability
The Customize command does not gray the commands that have been made unavailable by their
corresponding workbench in Safe Save mode.
Getting Help
Online Documentation Searching
Ergonomic enhancements have been made to the online documentation search engine.
Printing Documents
Printing in Batch Mode
Ability to run the Print Batch utility in remote mode.
Customizing Print Settings
A new combo box in the Print dialog box lets you select the printer groups you defined via
Tools>Options>Printers.
Printing Drafting Documents
You can print the document area you defined in the Drafting workbench.
Printing CATDrawing Documents in Batch Mode
A new filter type has been added to print CATDrawing documents.
Printing .model documents
You can now print the drafting of Version 4 model documents.
Version 4 Sheets
The CATPrtSheet utility lets you generate an output file containing information on Version 4 sheets.
Saving Documents
Infrastructure
Version 5 Release 13
Page 20
Selecting Objects
Using the Preselection Navigator
A new auxiliary viewer lets you select elements more easily and perform local transformations such
as zoom or rotate.
Ability to highlight or not the preselected face(s).
Selecting Using the Traps
Two new icons lets you select elements that are fully or totally outside the trap.
Video Support
Recording Interactions in Video Format
Extended file format support.
The Video Player enables you to preview the recorded video.
MJPEG video files generated by Version 5 on UNIX can now be read on Windows.
Virtual Reality
Using Head and Hand Tracking Devices in Version 5
The Ascension Flock of Birds tracking system driver is now supported on UNIX.
The Art Optical tracking system is also supported.
Working with the Immersive System Assistant
All the drivers and brokers supported with Version 5 are now threaded, which avoids running
external processes.
The generation of the configuration information has been improved: a single XML file containing all
the necessary configuration information is generated in the folder of your choice. However, you can
still use the former generation method if needed (for instance, when using drivers that are not
supported).
Infrastructure
Version 5 Release 13
Page 21
A new icon lets you define properties for your button devices.
Customizing Settings
Calibration
Note that the Calibration tab has been removed since all the supported drivers and brokers are
now threaded. In addition to that, the "Line immersive cursor" option allowing you to customize
the 3D picking device representation has been moved to the Devices tab.
Devices
You can choose your current Virtual Reality configuration from a list of configurations you have
previously generated in the Immersive System Assistant workbench.
Display auxiliary viewer for preselection navigator
This new option enables you to display the auxiliary viewer when using the preselection navigator
Document
Ergonomic enhancements have been made for managing DLNames.
Prehighlight faces for preselection navigator
This new option enables to highlight preselected faces when using the preselection navigator.
Printers
A new editor lets you define printer groups so that printers can be selected more easily.
Tablet Support
This new tab allows you to activate/deactivate the transformation pad used to perform local
transformations on a Tablet PC. You can also define settings such as the pad position, size and
transparency.
VRML
Ability to customize the background color to be used when visualizing the VRML file in a standard
VRML viewer.
Infrastructure
Version 5 Release 13
Basic Tasks
Starting Version 5
Getting Help
Editing in Context Within the Product Structure
Creating, Opening, and Saving Documents
Viewing the Spec Tree and the Geometry Area
Selecting Objects
Manipulating Objects
Moving Objects Using the 3D Compass
Measuring
Dragging and Dropping Icons and Objects
Printing Documents
Capturing and Managing Images for the Album
Viewing Objects
Navigating
Hiding and Showing Objects
Using Rendering Styles
Setting Lighting and Depth Effects
Using Standard and User-Defined Views
Using Layers and Layer Filters
Recording, Running, and Editing Macros
Using Version 5 Data in OLE-Compliant Applications
Transferring Version 5 Data
Managing Document Links in Version 5
Running Batches
Page 22
Infrastructure
Version 5 Release 13
Starting Version 5
Starting a Session on Windows
Starting a Session on UNIX
Starting a Session Using Document Icons
Starting a Session in a Language Other than English on Windows
Starting a Session in a Language Other than English on UNIX
Page 23
Version 5 Release 13
Infrastructure
Page 24
Version 5 Release 13
Infrastructure
Page 25
-e: starts Version 5 and passes the name of the command to start
-env: specifies the name of the environment with which to start a session (for more
information, refer to Managing Environments); by default, the default environment is
started
-direnv: specifies the folder containing the environment
-batch: starts a session in batch mode (an interactive session is not displayed)
Used with "-e", it specifies that you want to run a batch utility. For example, you
would
run a batch utility like this:
CNEXT -batch -e CATV4ToV5Migration
-object: followed by object to load (between " ") when starting CATIA ; for example,
the following command runs CATIA and loads a document:
cnext -object "e:\users\steve\Product.CATProduct"
If the program you want to start requires parameters, you must enclose the program
name and the parameters between " ". For example: -object "arg1 arg2"
-admin: starts a session in administrator mode for the purpose of locking settings
Infrastructure
Version 5 Release 13
Page 26
-batch: used with "-object", this argument runs macros in batch mode (an interactive session is
not displayed)
-env: specifies a new environment name (for more information, refer to Managing
Environments); if you do not specify an environment, the default global environment created at
installation is used
-direnv: specifies the directory created at installation containing the environment (which may
be different from the default environment directory)
-object: followed by object to load (between " ") when starting a session; for example, the
following command runs a session and loads a document:
Version 5 Release 13
Infrastructure
Page 27
parameters between " " (for example, -object "arg1 arg2"). For example:
-run
This option is used to launch other programs for:
The "-run" option is followed by the name of the program to start. If this option is not
specified, a CATIA session is started by default.
These commands also have their own options. If the program you want to start requires
you to specify options, you must enclose the program name and the parameters between
" ". For example, the following command:
Include a referenced path inside backslashes (before the double quotation marks) if the
path contains blanks like this:
catstart -run myAppli -object "-open \"C:\My Documents\file0001.txt\" "
or like this:
cnext -env CATIA.V5R13.B13 -macro -batch E:\tmp\Mymacro.CATScript
Infrastructure
Version 5 Release 13
Page 28
Version 5 Release 13
Infrastructure
Page 29
Version 5 Release 13
Infrastructure
Page 30
aix_a
hpux_a
irix_a
solaris_a
-e: starts Version 5 and passes the name of the command to start
-batch: used with "-object", this argument runs macros in batch mode (an interactive session is
not displayed).
Used with "-e", it specifies that you want to run a batch utility. For example, you would run a
batch utility like this:
./catstart -run "CNEXT -batch -e CATV4ToV5Migration"
-direnv: specifies the directory created at installation containing the environment (which may
be different from the default $HOME/CATEnv directory)
-env: specifies a new environment name (for more information, refer to "Managing
Environments"); if you do not specify an environment, the default global environment created at
installation is used
-object: followed by object to load (between " ") when starting a session; for example, the
following command runs a session and loads a document:
Version 5 Release 13
Infrastructure
Page 31
parameters between " " (for example, -object "arg1 arg2"). For example:
-run
This option is used to launch other programs for:
The "-run" option is followed by the name of the program to start. If this option is not
specified, a CATIA session is started by default.
These commands also have their own options. If the program you want to start requires
you to specify options, you must enclose the program name and the parameters between
" ". For example, the following command:
Version 5 Release 13
Infrastructure
Page 32
CATSoftwareMgt
2. Go to the directory:
/usr/DassaultSystemes/B13/OS_a/code/command
where "OS_a" is:
aix_a
hpux_a
irix_a
solaris_a.
Infrastructure
Version 5 Release 13
Page 33
3. Start a Version 5 session and run a macro automatically by running a command like this:
./catstart -run CNEXT -object "-macro /tmp/Mymacro.CATScript"
./catstart -run CNEXT -object "-batch -macro /tmp/Mymacro.CATScript"
./catstart -run "CNEXT -batch -macro /tmp/Mymacro.CATScript"
./catstart -run "CNEXT -batch -macro "/tmp/Mymacro.CATScript""
if you want to run in administrator mode (using the default environment) for the purpose
of locking settings. This prevents all users of that environment from changing the settings
you locked.
You could also enter the command:
./catstart -run "CNEXT -env my_env -admin"
where "my_env" is the name of your environment. For more information, refer to Locking
Settings.
Note: "Administration Mode" in now displayed in the title bar when starting a session in
administration mode.
-admin: starts a session in administrator mode for the purpose of locking settings
-batch: starts a session in batch mode (an interactive session is not displayed)
-macro: used with "-object", this argument starts a session and runs the macro whose name
you specify
-object: followed by object to load (between " ") when starting a session; for example, the
following command runs a session and loads a document:
Infrastructure
Version 5 Release 13
Page 34
-workbench workbench_name: starts a session and directly opens the workbench specified.
The string "workbench_name" is the name of the workbench as it appears in the Start menu.
For example, when using CATIA, the command:
./catstart -run "CNEXT -workbench Part Design"
starts a session and opens the Part Design workbench directly.
-h: displays help.
Version 5 Release 13
Infrastructure
Page 35
Method 1
1. Locate the document icon using your platform's Explorer (Windows) or File Manager (UNIX).
Method 2
1. Drag and drop a document icon onto the CATIA V5R13 environment icon on your desktop
(Windows only).
Method 3
1. Drag and drop a document icon onto an open Version 5 window.
Note that this possibility is not available on IRIX.
Version 5 Release 13
Infrastructure
Page 36
French
German
Japanese
Italian.
You then simply use the tools on your operating system to choose the language in which you want
to start your session. If no language is chosen, your session will be started in English.
On Windows
1. On Windows, select the Start->Settings->Control Panel command, double-click the
Regional Settings control, then click the Regional Settings tab (if it is not displayed by
default).
The following dialog box appears:
Version 5 Release 13
Infrastructure
2. Select the desired language from the languages available on the list.
For example, selecting any of:
French (Belgian)
French (Canadian)
French (Luxembourg)
French (Standard)
French (Swiss)
will start the session in French. The same applies to the other language variants.
Note that The Regional Settings tab does not activate your input locale: for example, it
does not activate the keyboard map for the language you selected.
Page 37
Version 5 Release 13
Infrastructure
Page 38
3. On Windows only, click the Input Locales tab if you want to select the input locale for your
language.
The Input Locales tab is displayed.
Infrastructure
Version 5 Release 13
Page 39
French
German
Japanese.
The user interface files for the French, German and Japanese languages are already translated for
you. If you install in the default installation directory:
/usr/DassaultSystemes/B13/OS_a/
where "OS_a" is:
aix_a
hpux_a
irix_a
solaris_a
the following default environment is set up:
/usr/DassaultSystemes/B13/OS_a/resources/msgcatalog (containing the English files)
/usr/DassaultSystemes/B13/OS_a/resources/msgcatalog/French
/usr/DassaultSystemes/B13/OS_a/resources/msgcatalog/German
/usr/DassaultSystemes/B13/OS_a/resources/msgcatalog/Japanese
/usr/DassaultSystemes/B13/OS_a/resources/msgcatalog/Italian
This default environment (/usr/DassaultSystemes/B13/OS_a/resources/msgcatalog) is pointed to
by the environment variable: CATMsgCatalogPath.
Infrastructure
Version 5 Release 13
Page 40
Czech
Polish
Russian
Korean
Simplified Chinese
For example:
/usr/DassaultSystemes/B13/OS_a/resources/msgcatalog/Russian
/usr/DassaultSystemes/B13/OS_a/resources/msgcatalog/Czech
/usr/DassaultSystemes/B13/OS_a/resources/msgcatalog/...
Version 5 Release 13
Infrastructure
Page 41
You then simply use your operating system tools to choose the locale in which you want to start
your session. If no locale is chosen, your session will be started in English.
2. Export the LANG variable for the desired locale before starting a session.
For example, for the French language, enter this command on AIX:
export LANG=fr_FR
this command on HP-UX:
export LANG=fr_FR.iso88591
this command on Sun Solaris and IRIX:
export LANG=fr
3. Start Version 5.
Infrastructure
Version 5 Release 13
Getting Help
Displaying Tooltips and Help Messages
Using the What's This? Command
Accessing the Online Help Library
Searching the Online Help Library
Getting Contextual Help
Accessing the Dassault Systmes User Galaxy
Displaying Copyright Information
Accessing Sample Documents
Page 42
Version 5 Release 13
Infrastructure
Page 43
1. Point to an icon.
The tooltip is displayed in a small box, with the corresponding message in the status bar.
You can switch tooltip display on and off using the Tooltips option of the Options tab in the Tools>Customize... command, or by right-clicking any toolbar and selecting the Customize...
command to access the Options tab. But you have to restart a session to take the new settings into
account.
Version 5 Release 13
Infrastructure
Page 44
This task explains how to use the What's This? command to get help on toolbar icons.
In some cases, the What's This? command gives you help on dialog boxes. To do so, just click the
icon
in the top right corner of the dialog box then point to the desired area to display the long help message.
Infrastructure
Version 5 Release 13
Page 45
1.
If you installed the online documentation in the default location, the welcome page will be displayed immediately. If you installed the online
documentation elsewhere, you must first update the CATDocView variable in your environment to reference the environment containing the
online documentation.
Infrastructure
Version 5 Release 13
Page 46
If you do not reset the CATDocView variable, a dialog box will prompt you to specify the location:
if you installed the online documentation locally on your computer, you can specify a path like this, for example, on Windows:
C:\online_doc_folder
where "online_doc_folder" is the name of the folder in which you installed the online documentation.
if you installed it elsewhere on the network, you must first map the appropriate network drive before starting a session, then specify a
path as above when prompted.
Browse to select the online documentation location. Selecting the location updates the "Doc installation path" field for the CATIA
Documentation Location option, in the General tab accessible via the Tools->Options command.
Note: You can also type the location in the "Doc installation path" field for the CATIA Documentation Location option option. You must enter
the real location; otherwise, the path you enter will be ignored.
Note that UNC (Universal Naming Convention) names on Windows is allowed. For example, you can specify the following path type:
\\remote_computer\online_doc_folder
2. Point to the different icons to the left to display the icons for the corresponding online users guides, then click on the icon of your
choice to access the documentation.
3. Click the Infrastructure icon to get familiar with Version 5 fundamentals, or the icon for the workbench you need information about.
In each case, the information you require is displayed in a framed layout:
Infrastructure
Version 5 Release 13
Page 47
the Index button to access the indexes for all the workbench documentation
the Search button to perform a full text search throughout the online library: for more information about searching, refer to
Searching the Online Help Library
automation documentation.
The Print PDF icon is no longer available. PDFs are no longer installed automatically, but are delivered on a separate CD-ROM.
Infrastructure
Version 5 Release 13
Page 48
This task explains how to perform full-text searching in the online help library.
The online documentation is totally Web oriented, using HTML, GIF and JPEG standard formats, allowing easy access and
navigation using a standard Web browser. Navigation aids includes full text searching and a framed layout allowing a direct
access from the table of contents to the information.
This scenario shows you how to use the online documentation search engine on CATIA documentation for
illustration purposes. The user interface and search functions described are common to all Version 5 product lines.
Note that, when using the search function, the following special characters should not be used in the search string:
/\&
but the following characters are allowed:
-_:
The search is not case-sensitive.
Search indexes are loaded the first time you use the Search button: once the indexes have been loaded, searching is
faster.
After you have performed the first search, the upper part of the window looks like this by default:
The lower part of the window contains help on using the Search function the first time you access the Search function.
Once you perform a search, it is then used to display the document containing search results.
The default settings let you perform a basic fuzzy search throughout the entire online library.
Infrastructure
Version 5 Release 13
Page 49
2. For example, if you are looking for information about the CATDocView environment variable throughout all the
documentation, enter the string CATDoc in the "Search for" field, then click the Go button.
The search engine searches for the string CATDoc, and all words containing the string CATDoc at the beginning of
the word. The search results are displayed in the "Found in" list.
Once you have performed your first search, a new option becomes visible. The "Highlight searched string" option
highlights against a blue backgound, in the document containing the string, the string you searched for. The default
mode is non-highlight, so you must check the option first if you want to activate the highlighting.
3. Double-click an item in the "Found in" list to open the document containing the search string.
The page containing the search string is then displayed at the bottom of the browser window, so your search query is
kept.
toggling to Scope redisplays the list of solutions and/or products in the Found in field. Check the All Documents
option to perform a search throughout the whole library, or uncheck the option and check the Solutions or
Products option in the Search scope field to restrict your search to solution or product documentation only
toggling to Results to redisplays the search results.
Click the Reset button to reset the selection after selecting solutions and products.
Version 5 Release 13
Infrastructure
Page 50
1. Check the "All Documents" and "Solutions" options to search all online documentation for all solutions.
This is the default setting. When these options are checked, the solutions list is grayed out.
2. Check the "All Documents" and "Products" options to search all online documentation for products.
Once again, the products list is grayed out.
3. In either case, uncheck the "All Documents" option to access either individual solution or product documentation, and
select the documentation from the list.
Click an item in the list to select it, click again to deselect it. Multiple selection is also possible.
2. Enter the exact whole word you are searching for, then click the "Go" button.
This time, if you search for the string CATDo, the search engine will not find any matches because the string CATDo
is not a whole word.
However, the string CATDocView will find matches.
For example, enter the phrase "running in demo mode", then click the "Go" button.
Only those documents containing exactly the phrase you searched for will be listed.
Infrastructure
Version 5 Release 13
Page 51
2. Specify the words you want to search for, then click the "Go" button.
For example, search for documents containing both the strings "cnext" and "admin".
To search for either "cnext" or "admin", select "OR" in the "Search mode" pulldown list, enter the words "cnext" and
"admin", then click the "Go" button.
Infrastructure
Version 5 Release 13
Page 52
This task explains how to get contextual help on the current command.
Pressing the F1 key also lets you access the Companion, provided that the Computer-Based Training module and the Companion have been
previously installed.
Infrastructure
Version 5 Release 13
Page 53
You can also click the CATIA P2 Solutions logo in the bottom right corner of the main
window to access the User Galaxy.
Infrastructure
Version 5 Release 13
Page 54
Infrastructure
Version 5 Release 13
Page 55
2. Locate a help topic containing a prerequisite step prompting you to open a sample document.
For example, the topic "Preselecting and Selecting Using the Pointer" looks like this:
The step highlighted in red prompts you to open the document "Select.CATProduct". The name of the document is a hypertext
link.
If your default browser is Netscape, the browser then prompts you to choose whether to save
Infrastructure
Version 5 Release 13
Page 56
4. Check the option "Open this file from its current location" if you using Internet Explorer, then click OK. Simply click OK if you are
using Netscape because the "Open it" option is already checked.
Your session is opened and the sample document is loaded:
Infrastructure
Version 5 Release 13
Page 57
Wherever you install the documentation, if you attempt to activate the sample documents from within the online documentation without
first installing the code, the samples will not work: the Version 5 document extensions must be registered on a computer where the
code is installed. The registering of extensions in the registry is performed automatically on the computer during the installation of the
code on Windows.
Infrastructure
Version 5 Release 13
Page 58
4. Start declaring the MIMEtypes (begin with CATPart) by entering the following information:
because specifying "application/catia" for each MIMEType will overwrite the previous application setting.
Infrastructure
Version 5 Release 13
Page 59
Problems Encountered on Netscape when Opening Documents Containing Links to Other Documents
On both Windows and UNIX, you may encounter problems opening certain sample documents (for instance .CATProduct documents
containing .CATPart documents, .model documents, .CATDrawing documents, and so on). When you open a .CATProduct, for example,
the CATProduct docmuent is successfully opened but a warning dialog box informs you that the documents it points to cannot be located.
This is because Netscape copies the documents to a temporary directory before opening them.
When this occurs, you can open the sample manually and recover all the links using one of following two recommended solutions:
on UNIX, right-click and select the "Copy Link Location" command, then paste the command in Version 5 in the File ->Open...
command dialog box, then remove the characters "File:" (if you don't, you will not be able to open the sample)
on Windows, right-click and select the "Copy Link Location" or "Copy shortcut" command, then paste the command in Version 5
in the File ->Open... command dialog box without modifying it.
If you check the option "Save to Disk" instead of "Application", the sample document will be saved on your workstation and will not open
directly in a Version 5 session.
Infrastructure
Version 5 Release 13
Page 60
Infrastructure
Version 5 Release 13
Page 61
Infrastructure
Version 5 Release 13
Page 62
The added value of this approach is not simply the possibility to structure and organize your products
logically. You can also work exclusively on one type of the document, the Product Structure document.
Inside this document, you can navigate from one sub-assembly or part to another, and edit them using the
workbench used to create them, directly inside the product structure. This is referred to as "editing in
context".
Saving the product structure document also saves all the data inside the product structure. However, data
created using the Part Design, Analysis and Generative Drafting workbenches is created and saved in
separate documents outside the product structure.
The Product Structure workbench is activated by default, and the product structure icon is displayed
as the current workbench.
An Assembly toolbar is also displayed (beneath the Select icon):
The Product Structure workbench also provides commands on the Edit and Insert menus. These
commands are also available when you activate the Version 5 - Assembly Design workbench. They allow
you to organize, structure and manipulate your product by:
For more information about these commands, refer to the Version 5 - Product Structure User's Guide.
Infrastructure
Version 5 Release 13
Page 63
The navigation assistant will always privilege the creation of a new document in the current product structure. Note that activating the
Analysis or Generative Drafting workbenches creates new documents in a new window, not in the Product Structure.
If you do not want to display this dialog box at the start of each session, uncheck the appropriate option "Do not show this
dialog at startup".
Infrastructure
Version 5 Release 13
Page 64
Note that, on SGI workstations, the icons do not appear next to the names on the Start menu.
When the user exits the Start menu, the display area is redrawn, but on the SGI platform, a special technique has been
implemented to improve display redraw performance. The use of this technique prevents icons from appearing on the menu.
If you want the icons to be visible, export the following variable before starting a session:
SGI_NO_OVL=YES
Keep in mind, however, that if you are displaying a large model, this will degrade display performance when exiting the
menu.
Infrastructure
Version 5 Release 13
Page 65
Version 5 Release 13
Infrastructure
Page 66
2. Select the workbench using the Start menu, the "Welcome" dialog box or from the list
accessed by right-clicking the current workbench icon.
3. Expand the tree (by clicking the "+" symbol) to see the Part
document itself:
Infrastructure
Version 5 Release 13
Page 67
Infrastructure
Version 5 Release 13
The Part Design workbench is activated in the same product structure window:
Page 68
Infrastructure
Version 5 Release 13
Page 69
1. Click the Product document in the specification tree to activate the product structure workbench.
Note that the document color is blue in the tree.
2. Select the workbench using the Start menu, the "Welcome" dialog box or from the list accessed by right-clicking
the current workbench icon. For example, if you select the Part Design workbench,a new Part Design document
will be created in a separate window, and thePart Design workbench will be activated:
Infrastructure
Version 5 Release 13
Page 70
Version 5 Release 13
Infrastructure
Page 71
A communication protocol such as ftp, http or NFS is required for sharing data between Windows and UNIX.
The ftp and NFS protocols can be used for sharing data between these environments. Several implementations of NFS exist, provided by different
vendors.
The following products have been tested using different scenarios:
Limitations
Whatever technical solution you choose for sharing your data, make sure you are aware of the system limitations on file names described in "About
Filenames".
Note: all these scenarios are based on exchanges from UNIX to Windows for filenames containing National or Special characters and Windows forbidden
characters.
Page 72
Version 5 Release 13
Infrastructure
Mput *.model
Mget *.model
AB+CD.model on UNIX**
KO
KO
KO
KO
AB CD.model on UNIX
KO
KO
KO
KO
AB+CD.model on Windows
OK
KO
KO
OK
AB CD.model on Windows
OK
OK
OK
OK
Scenario Description
The first two V4 models were transferred from a UNIX login (Windows server is inetinfo). The last V4 models were transferred from a Windows login
by ftp.exe client.
Conclusion:
Transferring V4 data must be done only from Windows . Data exportation from UNIX must be excluded if some special characters ( like 0xb1) have been
frequently used on the V4 site.
Page 73
Version 5 Release 13
Infrastructure
Mput *.model
Put AB+CD.model
Get AB+CD.model
Mget *.model
AB+CD.model on Windows
OK
OK
OK
OK
ftp.exe transfer
Mput *.model
Put AB CD.model
Get AB CD.model
Mget *.model
AB CD.model on Windows
OK
Not done
Not done
OK
Scenario Description
The V4 models have been transferred from Windows login using ftp graphic command provided by Hummingbird. Conclusion: the graphic interface can be
useful for a small numbers of transfers.
Note: Concerning national character transfer, the ftp configuration must be in mode "NO filename verification" (which is the default).
Scenario 3: Transferring by TAR UNIX IBM 932 / FTP / WINZIP Windows ISO1
Model name IBM932
AB'Japanese'CD.model
OK (Garbaged characters)
OK
AB+CD.model
OK
OK
**The characters obtained after transferring Japanese filenames are garbaged because the resulting code page on Windows is ISO1.
Page 74
Version 5 Release 13
Infrastructure
Scenario Description
The V4 models were created on UNIX IBM932. The first one contains Japanese katakana SBCS characters and the second one the Plus/Minus character.
The TAR command is run on UNIX.
The FTP.exe command is run on Windows for transferring data.
The WinZip utility is run on Windows to extract the above mentioned data.
Scenario 4: Transferring by TAR UNIX IBM 932 / FTP / WINZIP Windows IBM932
Model name IBM932
AB'Japanese'CD.model
OK
OK
AB+CD.model
OK
OK
Scenario Description
The V4 models have been created on UNIX IBM932 . The first one contains Japanese katakana SBCS characters and the second one
the Plus/Minus character.
The TAR command is run on UNIX.
The FTP.exe command is run on Japanese Windows for transferring data.
The WinZip utility is run on Japanese Windows to extract the above mentioned data.
Conclusion: mixed environments can lead to unpredictable behavior on the filename. Our recommendation is to use the same code page (ISO 646
subset). Consequently, V4 models have to be read in the same code page where WinZip utility has been performed.
Version 5 Release 13
Infrastructure
Scenario 5: Using HUMMINGBIRD NFS
Model name under UNIX
AB+CD.model
AB>CD.model
AB<CD.model
AB*CD.model
AB?CD.model
AB"CD.model
AB:CD.model
Page 75
Scenario Description
A few V4 models containing Windows forbidden characters are read directly using NFS MAESTRO HUMMINGBIRD.
Conclusion
If the model name contains:
metacharacters * and ?
special characters
Infrastructure
Version 5 Release 13
Page 76
Scenario Description
A few V4 models containing Windows forbidden characters are read directly by DiskAccess.
Conclusion:
Although DiskAccess refused also the forbidden Windows characters, it is possible to read National ones ( for instance, Plus/Minus character ).
The same scenario has been performed between a Japanese UNIX and a Japanese Windows machine: equivalent results were obtained .The Plus/Minus
character and Japanese directories containing V4 models can be read directly by DiskAccess.
General Recommendations
We recommend that, when using these products, you activate the lock mechanism and keep the same case in file names.
We also recommend that you evaluate the product within the context and environment of your company before deploying it, in order to check that it
meets your needs and is appropriate for your processes.
Version 5 Release 13
Infrastructure
Page 77
About Filenames
This section specifies what you need to know about file names. There are a certain number of file
naming constraints you need to be aware of.
On both Windows and UNIX
Firstly, only the ISO-646 subset of characters is authorized (with the limitations described below).
ISO-646 provides the subset of characters common to all code pages, and is included in all industry
standard code pages such as ISO8859-x, EUC-xxx, etc.
The ISO-646 subset contains the principal symbols you characters you may need to use for naming
documents:
numbers 0 to 9
* (asterisk)
: (colon)
? (question mark)
\ (backslash)
| (vertical bar)
and the following special character is not supported on both Windows and UNIX:
/ (slash).
Version 5 Release 13
Infrastructure
Page 78
you cannot use national accented characters or any of the forbidden special characters listed
above when creating and saving documents; on UNIX, to enhance document interoperability
between the UNIX and Windows platforms, a filter is activated systematically to prevent you
from creating documents whose names contain special characters not supported on Windows
you cannot read documents created with Version 5, and renamed using your operating system,
if they contain national accented characters or forbidden special characters.
On Windows
*MASTER
*LISTFAM
PRJ tables using ":"
Impossible to read.
Version 5 Release 13
Infrastructure
Page 79
shortcut).
2. Select "Product", for instance. A new document (Product) will appear.
shortcut):
Version 5 Release 13
Infrastructure
Page 80
2. In the New dialog box, double-click the document type or select it then click OK. Choose
the document type from the following:
Part
Bear in mind that the geometry you create in Version 5 is contained in a "box"
whose dimensions are 100 m x 100 m. Therefore, creating elements exceeding these
dimensions may lead to unpredictable results.
For more information about the Part Design workbench, see the CATIA - Part Design
User's Guide.
Drawing
After selection of the standard to be used, a dialog box like this will appear:
Infrastructure
Version 5 Release 13
For more information about the Generative Drafting and Interactive Drafting
workbenches, see the CATIA - Generative Drafting User's Guide and CATIA Interactive Drafting User's Guide.
Product
Page 81
Infrastructure
Version 5 Release 13
For more information about the Assembly workbench, see the CATIA - Assembly
Design User's Guide.
Analysis
Page 82
Infrastructure
Version 5 Release 13
For more information about the Generative Part Analysis workbench, see the CATIA Generative Part Structural Analysis and the CATIA - Generative Assembly Structural
Analysis User's Guides.
CatalogDocument
Page 83
Version 5 Release 13
Infrastructure
Process
ProcessLibrary
ZipMill
Page 84
For more details about the above three document types, refer to the CATIA
Prismatic Machining Users Guide and the CATIA Surface Machinist Users
Guide.
This task shows you how to create a new document whether or not Version 5 is already running.
1. Either on the Desktop area of Windows or in the appropriate directory of the Windows
Explorer (making sure you do not select any items when doing so), right-click once then
select the New command.
Infrastructure
Version 5 Release 13
An empty icon indicating the document type is created (see "Starting a Session Using
Document Icons").
3. Click in the name field that appears with the icon just created and replace the default
name with a name of your own choosing (for example, replace NewPart.CATPart with
MyFile.CATPart).
4. Double-click on the icon that is created.
The new document is created. If you do not have a session running, a session is
opened.
Page 85
Version 5 Release 13
Infrastructure
Page 86
1. You may want to create a new document whose basic characteristics are the same as an
existing document. To do this, close the document you want to copy if not already closed
and select the File->New from... command.
The File Selection dialog box appears:
2. Select the existing document from which you want to create a new one and click Open.
An exact copy of the existing document is displayed with a default name. The only
difference between this document and the already existing one is that the new document
is given a new UUID by the File->New from... command. (This distinguishes File>New from... from File->Save As...)
Infrastructure
Page 87
Version 5 Release 13
The File->New from... command also supports multi-documents. In that case, the new
document will be based on a copy of the multiselection as a whole and not of each
document individually.
If the document(s) you select point(s) to other documents for which the action can be
performed, the New From dialog box is displayed:
The upper frame of the dialog box displays a list of documents to which at least one of
the selected documents points to (directly or not). The name, type and location of the
files are indicated as well as the status.
These documents will not be taken into account by the New From action, i.e. they will
just be loaded in your current session and thus, will not be visualized in the new
document window. They will be identified by the icon
The lower frame of the dialog box displays a list of documents for which the New From
action will be performed along with file information (name, type, etc.).
Infrastructure
Version 5 Release 13
Page 88
moves the whole list (except the CATProduct document) to the upper frame
When a document is selected in the lower frame, the Rename document button is
activated. Clicking this button opens the following dialog box:
Enter the new name of the selected document then click OK to validate. The new file
name will be displayed in the New Name column.
5. Save the new document giving it a name other than the default.
You can give the new document the same name as that of the already existing one if you
wish but if you do this you must put the new document in another directory.
Version 5 Release 13
Infrastructure
Page 89
If you wish to access V4 data such as V4 models, PROJECT files and library objects on Windows or
UNIX or access CDMA objects on UNIX you can do so provided you purchase the V4 Integration
product.
V4 models, PROJECT files or library objects residing on UNIX can be accessed from Windows using
the http protocol. (Make sure beforehand that an http server has been installed on the machine
where the V4 data resides.
The address to be specified should look something like this:
http://UNIXserver: port/V4datalocation
You will not be allowed to open a document created using Version 5 if its name contains national
characters or forbidden special characters. For a reminder, refer to "About Filenames".
Infrastructure
Version 5 Release 13
Page 90
Note: depending on the document environments you allowed in the Document settings, an
additional window may appear simultaneously to let you access your documents using an
alternate method. For detailed information, refer to "Opening Existing Documents Using
the Browse Window".
3. Click the "Files of type" list to display the list of document types which you can open:
Infrastructure
Version 5 Release 13
Check the "Show Preview" option to display a preview of the selected file (only on
Microsoft Windows workstations).
Page 91
Infrastructure
Version 5 Release 13
Page 92
Infrastructure
Version 5 Release 13
Lets you open V5 documents such as .catalog or .CATAnalysis files, for example
Page 93
Infrastructure
Version 5 Release 13
CATSystem
Functional system management file. For more information, refer to the Version 5 Product Function Definition and Version 5 - Product Function Optimization User's
Guides
cdd
CATIA-CADAM file
cgm
ANSI/ISO standardized platform-independent format used for the interchange of
vector and bitmap data
DenebProcess
dbnzip
dxf/dwg
Autocad DXF and DWG formats. Creates a CATDrawing document. For more
information, see "Exporting a CATDrawing into a DXF/DWG File" in the Version 5 Generative Drafting User's Guide
idf
Document generated by an IDF application. For more information, see
Version 5 - Circuit Board Design User's Guide
ig2
2D IGES file, saved as a CATDrawing document. For more information, see
"Importing a 2D IGES File into a CATDrawing" in the Version 5 - Data Exchange
Interfaces User's Guide
igs
IGES file saved as a Part Design document, i.e. a CATPart document. For more
information, see "Importing an IGES File" in the Version 5 - Part Design User's
Guide
jpg
Lets you browse JPEG files from within a session, without having to use another
application
ldf
library
V4 library document storing objects such as details, symbols, NC mill and lathe
tools and beam sections. For more information, see the Version 5 - V4 Integration
User's Guide
model
V4 model document. For more information about the V4 Integration workbench,
see the Version 5 - V4 Integration User's Guide
pdb
PDB files
picture
Lets you browse CATIA Version 4 picture files from within a Version 5 session
rgb
SGI format for pixel images
sdnf
session
Page 94
Version 5 Release 13
Infrastructure
stbom
Imports a SmartBOM (Bill Of Material) Briefcase in Version 5. For more
information, refer to "Export SmartBOM from Version 5 " in the Version 5 Product Structure User's Guide
step, STEP, stp and STP
Creates a CATProduct document. For more information, see "Importing a STEP
AP203 Document" in the Version 5 - Data Exchange Interfaces User's Guide
stl
Lets you browse stereolithography documents. For more information, see the
Version 5 - STL Rapid Prototyping User's Guide and to "Exporting CATPart Data to
an STL File" in the Version 5 - Data Exchange Interfaces User's Guide
tdg and TDG
STRIM/STYLER files
tif
Lets you browse TIFF files from within a Version 5 session, without having to use
another application
wrl
Lets you browse VRML (Virtual Reality Modeling Language) files. Note that you
cannot open these files on AIX platforms.
5. If you are sure you do not intend to modify the document in any way, you may want to
open the document in read-only mode. If so, check the box Open as read-only.
Warning: when opening a document pointing to other documents with the Open as
read-only box checked, bear in mind that the read-only mode only applies to the
selected root document. The pointed documents will be loaded in read-write mode
and may be loaded independently from the root document.
6. Click Open.
In case an error occurs when opening a file (e.g. unknown document name, nonsupported file format, corrupted file, etc.), an Incident Report windows opens. It displays
the error hisory and indicates for each error its type, object and description. This history
is maintained throughout the whole session, the errors being classified by degree of severity.
Page 95
Version 5 Release 13
Infrastructure
Page 96
Using the Windows Explorer or My Computer on (Windows) or the File Manager (UNIX)
This task shows you how to open an existing document via a document icon when no Version 5
session is already running.
1. Before you open a session, click My Computer or run the Windows Explorer and find the
location of the document you wish to open
Version 5 Release 13
Infrastructure
Page 97
2. Right-click then select the xxx object-> Open in New Window contextual command.
Page 98
Version 5 Release 13
Infrastructure
Note: this command is available for geometrical external references and external
parameters only.
For instance, you will be able to use this command when selecting a geometry pasted "As
Result With Link" in a CATPart document different from the one in which it has been
copied (the geometry will be identified by the symbol
).
2. Right-click then select the xxx object-> Open the Pointed Document contextual
command.
Infrastructure
Version 5 Release 13
Page 99
This window will appear in addition to the File Selection dialog box when using the commands listed below, provided that you
allowed the necessary document environments in your Document settings:
File->Open...
Edit->Links...
Replace Component
Catalog Browser.
The list of document access methods available from the Browse window will vary according to the document environments you
defined.
1. Select the Tools->Options... command then the General category and finally, the Document tab:
The Document Environments area lets you define the method(s) you will use to access your documents by allowing
the desired environment(s) selected from the list.
These document environments are:
Folder: default document environment (indicated by the status "Current") in which the dialog accesses the
folders containing the documents
DLName: document environment which lets you access the folders containing the
documents using DLNames
SmarTeam: lets you access SmarTeam projects stored in SmarTeam - CATIA Integration
SmarTeam Query: lets you access SmarTeam projects stored in SmarTeam - CATIA Integration using queries
SmarTeam2: lets you access documents stored in SmarTeam - CATIA Xtended Integration
Loaded document: lets you access documents loaded in the current session.
Infrastructure
Version 5 Release 13
Page 100
2. To allow a document environment, select it from the list then click the Allowed button. Repeat this step as many
times as necessary to allow all document environments.
For detailed information on document environments, refer to the Document tab (section entitled "Document
Environment" in the Version 5 - Infrastructure User's Guide.
The File Selection dialog box and the Browse window (displayed in background) open simultaneously as shown
below:
6. Click Cancel to close the File Selection panel and activate the Browse window:
Page 101
Version 5 Release 13
Infrastructure
Note that the icons displayed in the Browse window will vary with the document environments you have allowed in
step 2. The above picture is just an example.
In addition to that, some methods are discarded by default when using specific commands because they are not
relevant (for instance, "Catalog" is not available from the Catalog Browser command).
Let's have a look at the following matrix in which red symbols identify the discarded methods in relation to the
corresponding commands:
Commands
File->Open Edit->Links
Replace
Instantiate
Component
From
Document
Catalog
Browser
Environments
Folder
DLNames
SmarTeam
SmarTeam
Query
SmarTeam2
ENOVIA V5
Catalog
Loaded
document
X
X
Bear also in mind that other methods may be discarded by your Version 5 administrator and thus, may impact the
look of the Browse window.
Infrastructure
Version 5 Release 13
Refer to the Documen tab (section "DLName Integration") to learn how to define DLNames and use the
File Selection dialog box in the Version 5 - Infrastructure User's Guide.
File
Opens the usual File Selection dialog box which lets you browse your folders containing the documents:
Page 102
Infrastructure
Version 5 Release 13
Refer to "Opening Existing Documents" in the Version 5 - Infrastructure User's Guide for detailed
information on this dialog box.
Catalog
Opens a catalog browser which lets you browse then instantiate components stored in catalogs:
icon to access the document to be browsed, you must select the type
Note that after clicking the
"*.catalog" from the "Files of type" list before selecting the element you want to instantiate.
For detailed information on the Catalog Browser, refer to "Browsing a Catalog Using the Catalog Browser"
in the Version 5 - Component Catalog Editor User's Guide.
Loaded document
Opens the Session document dialog box which enables you to preview and select documents opened in your
current Version 5 session:
Page 103
Version 5 Release 13
Infrastructure
Note the following:
in the context of the Edit->Links... command, the selected element will open and replace the
element highlighted in the first place and the new element name will be displayed in the Links dialog
box.
Refer to "Editing Document Links" in the Version 5 - Infrastructure User's Guide for detailed
information on links between documents
in the context of the catalog browser, the object to be accessed must be of type "*.catalog.
The selected catalog will then open in the browser.
Enovia
Lets you perform a query for document-type objects in the ENOVIA V5 database.
This document environment is only available with a VPM Navigator license.
8. Once you have accessed the desired document, click OK or Open (depending on the method) to validate.
Page 104
Version 5 Release 13
Infrastructure
Page 105
1. Select the File command and click, at the bottom of the menu, the name of the file you
wish to open.
Infrastructure
Version 5 Release 13
Closing Documents
This task shows you how to close a document.
2. If changes have been made since the last save, the Close dialog box appears.
Specify whether the file is to be saved or not.
Page 106
Version 5 Release 13
Infrastructure
Page 107
2. In the Save As dialog box, specify the location of the document to be saved as well as its
name and type.
As far as STL format files are concerned, they cannot be saved using the Save As...
command when working in Wireframe mode. The reason is that STL files are generated
from the visualization tesselation and tesselation
triangles are not available when switching to the Wireframe mode.
Version 5 Release 13
Infrastructure
Page 108
The Save_as_new option lets you save an existing document under a new name but this
new document will be given a new UUID (Unique Universal IDentifier).
3. Click Save.
If the name you give the file already exists, the following message appears:
You will not be allowed to use national characters or forbidden special characters in the
document name. For a reminder, refer to About Filenames.
On Windows, documents cannot be stored in a folder for which delete authorization is
not set.
On UNIX workstations, the Save As dialog box lets you rename or delete the selected
file/folder by clicking the Rename or Delete contextual command.
After clicking the Delete command, a confirmation dialog box appears: just click OK to
delete the selected item.
When renaming a file or folder, if the new name you entered is already used, the item is
not renamed and a warning message is displayed.
Version 5 Release 13
Infrastructure
Page 109
A message appears in the status bar to confirm that the document is saved.
If the document you are trying to save points to parts, the following window will be displayed to warn you
that these parts will not be saved unless you use the File->Save All command:
If you are trying to save a document that is currently modified and saved by another user, the following
window will appear to warn that your modifications will be lost if you proceed:
When a document is saved, it is stored in the UTF8 Unicode format. This ensures that the data contained in
it can be read on both Windows and UNIX whatever the session code page used.
You can choose to set an automatic save for your file using the General tab of the Tools->Options...
command. For more information, see "Customizing General Settings".
If you save an existing file in another directory without changing the file name you will only be able to open
one of these files at any given time. If one of them is already open you will not be able to open the other.
This is because both files have the same UUID. To avoid this happening each file must have its own UUID.
This can be done by means of the File->New from... command. See Creating New Documents from Existing
Documents.
Version 5 Release 13
Infrastructure
Page 110
2. In the Save As dialog box, select the location of the document to be saved.
On UNIX, the Save As dialog box lets you rename or delete the selected file/folder by clicking the Rename or
Delete contextual command.
After clicking the Delete command, a confirmation dialog box appears: just click OK to delete the selected item.
When renaming a file or folder, if the new name you entered is already used, the item is not renamed and a warning
message is displayed.
The list of available formats may vary depending on the context you are working in. For detailed information on all
possible formats, refer to the list in Opening Existing Documents.
A few remarks:
STL files
As far as STL format files are concerned, they cannot be saved using the Save As... command when using the
Wireframe mode. The reason is that STL files are generated from the visualization tesselation and tesselation
triangles are not available when switching to Wireframe mode.
CATDrawing documents
Page 111
Version 5 Release 13
Infrastructure
you can now save a CATDrawing document in JPEG (*.jpg) and PDF (*.pdf) format using the File->Save As...
command.
Note for PDF: by default, saving a CATDrawing document in PDF format will generate as many .pdf files as there
are sheets. Each file name will be suffixed with "_Sheet_sheetnumber.pdf": for instance
"MyDrawing_Sheet_1.pdf", "MyDrawing_Sheet_2.pdf", etc.
If you want all the sheets to be in a single .pdf file, you need to export the "SAVE_AS_ONE_PDF" variable with
the value "1".
as explained above, CATDrawing documents can also be saved in TIFF format using the File->Save As...
command.
However, this functionality requires external settings to be defined either by setting or exporting environment
variables or by editing an external configuration file.
The environment variables you need to set or export are detailed hereafter:
Name
Description
Value
PRINT_CAPTURE_
RASTERFORMAT
Raster format
TIFF
True color uncompressed
TIFFTCPB
True color PackBits compressed
TIFFINDEX Indexed (256 colors) uncompressed
TIFFPB
Indexed (256 colors) PackBits compressed
TIFFGREY
Grey scale PackBits compressed
TIFFBWPB Bilevel (black and white) PackBits compressed
TIFFG4
Bilevel G4 Fax compression
PRINT_CAPTURE_DPI
DPI
PRINT_SETTING_PATH
(default is 150.0)
To export a variable
on Windows:
set variable_name=variable_value (e.g. "set PRINT_CAPTURE-DPI=200")
on UNIX:
export variable_name=variable_value.
To set a variable, refer to Customizing Your Environment on Windows or Customizing Your Environment on UNIX,
according to your operating system.
The configuration file is named CATPrint.ini and is located by default in a temporary directory. If you wish to modify
the default location, use the PRINT_SETTING_PATH environment variable as explained above.
The following is a syntax example of the configuration file to save a TIFF CCITT Grp4/T6 compression file at 200.0
DPI from a CATDrawing document:
Infrastructure
Version 5 Release 13
//
// Print configuration file
// -----------------------//
<CAPTURE_SECTION>
// For RASTERFORMAT (ALL TIFF: Other for internal use)
// "TIFF" * True color uncompressed TIFF file.</dd>
// "TIFFTCPB" * True color PackBits compressed TIFF file.</dd>
// "TIFFINDEX" * Indexed (256 colors) uncompressed TIFF file.</dd>
// "TIFFPB" * Indexed (256 colors) PackBits compressed TIFF file.</dd>
// "TIFFGREY" * Grey scale PackBits compressed TIFF file.</dd>
// "TIFFBWPB" * Bilevel (black and white) PackBits compressed TIFF file.</dd>
// "TIFFG4" * Bilevel G4 Fax compression
<PRINT_CAPTURE_RASTERFORMAT>TIFFG4</PRINT_CAPTURE_RASTERFORMAT>
<PRINT_CAPTURE_DPI> 200.0 </PRINT_CAPTURE_DPI>
</CAPTURE_SECTION>
Note: when saving a large CATDrawing format with a high resolution (i.e. > 250.0 DPI), memory and CPU
consumption increase very quickly. As a consequence, generating such a raster output may be impossible on low
system environments unless you work with an optimized configuration (CPU + memory).
Page 112
Infrastructure
Version 5 Release 13
Page 113
These tasks show you how to save some or all of the documents you opened and how to control their names and locations. In
addition to this, the Save All command lets you save very easily all modified or read-only documents.
If all the documents modified in the session can be saved without further interaction, a warning window appears to indicate
the number of documents to be saved and prompts you to confirm or not the save:
Just click "Yes" to save automatically all the documents or "No" to cancel the command.
If all the documents cannot be saved, the following dialog box will appear when some of the documents are new or readonly:
If you did not make any changes to any of the documents you want to save or if these documents are read-only files, this
dialog box will not appear.
Infrastructure
Version 5 Release 13
Page 114
3. Click the Save As... button to specify a name for each read only or new document.
The number of unsaved files is indicated at the bottom of the dialog box and a preview is displayed on the right..
4. Click OK to confirm.
If symbolic links exist between files, for example if a .CATDrawing document has been created from a Part document, the
names of each of these files will also appear and will be saved if the Part document is saved. However, if you want to be
able to save all files independently regardless of any existing links between files, check the option Enable independent
saves at the bottom of the dialog box.
Clicking the Save As... button is mandatory if you want to save your document under another name.
Infrastructure
Version 5 Release 13
Page 115
The "Save Management..." command lets you save all your modified documents under a new name and a new location.
Note: This command is relevant for loaded documents only. In case of unloaded documents, use the File->Send To command.
The Path column indicates all document that are currently used along with their paths.
The State column indicates the original state of each currently used document. For instance, if a document has been modified since last
load, the corresponding state (i.e. "Modified") is displayed in the State column.
The Action column enables you to check the actions you are performing on your documents (save, modification, etc.). Bear in mind that
the State column will keep on displaying the document original state and will not reflect the actions you performed.
Here are the various states that may be assigned to a document:
New: identifies a newly created document. You have to select a file name in order to save it
Read Only: identifies a modified and read-only document. You have to specify a new name for this document if you want to save it
Opened Read Only: identifies a non-modified, read-only document open in your session
Infrastructure
Version 5 Release 13
Page 116
4. Indicate the name and destination folder of the new created file, respectively in the File name and Save in fields.
5. Click the Save button.
When using the Save As... command for a .CATProduct document containing other modified components, these components will be
assigned the "Save Auto" state and will be saved when clicking OK.
However, some "document-to-document" links will not be taken into account, such as links that are not design prerequisites. For
instance, when saving a .CATDrawing document pointing to a modified .CATPart document, the state of the .CATDrawing document
remain unchanged.
6. Once you have saved a document in a new directory, you can use the Propagate directory button to save the files linked to this document
into the same directory.
Check that the linked files you wish to save appear in the same workbench as the product, otherwise you will not be able to run this
command. For instance, in case of a .CATAnalysis or .CATProduct document, clicking the Propagate directory... button will save any
part or product associated to this document.
Note that new documents with the "Auto Save" status are saved in the directory of the document selected in the list when clicking
Propagate directory, Save or Save As....
If we take the above capture as an example, a new document with the "Auto Save" status would be saved in "E:\users" since
"Car.CATProduct" is selected.
To go back the document original state, select the document then click the Reset button.
7. Click OK to confirm.
Infrastructure
Version 5 Release 13
Page 117
The Save Management... command will automatically save impacted files as well. If there are still unsaved files left when you click OK ,
the following message will be displayed:
Version 5 Release 13
Infrastructure
Page 118
This task shows you how to display properties for a document loaded in Version 5.
Note: the properties displayed under the Document tab can also be accessed from the FileDesk
workbench by selecting a document then the Properties contextual command.
Infrastructure
Version 5 Release 13
Page 119
Version 5 Release 13
Infrastructure
Page 120
Name of the document along with a symbol identifying the document type (a
CATDrawing in our example)
In addition to this, the version and release number (including Service Pack number, if
applicable) and the build date of the code level used for the last document save are
displayed.
Note that no version and build date information will be displayed:
if the document has never been saved (i.e. a new document) or if it has been saved
prior to V5R10
if the document is not a Version 5 document (for instance, a V4 model
document).
Some applications do not display all the properties available when the Properties dialog
box is first displayed.
You can click the More... button to access any other tabs: a progress bar will appear and
you can either wait until more properties are displayed or interrupt the command by
clicking the Cancel... button.
If interrupted, the Properties dialog box returns to its original state, i.e. as if the More....
button had not been clicked.
In both cases (interruption or not), the More... button then disappears.
2. Click the Standards tab to display the standards which may have been defined for the
documents.
Standards are defined by your administrator in XML (Extensible Markup Language) files
and let you set default values for element properties.
In our example, we will display the standards applied to a .CATDrawing document and
stored in CATDftStdLayerAndFilter.xml:
Infrastructure
Version 5 Release 13
Page 121
3. Click the + sign next to the desired node to display the corresponding structure.
In our example, we want to learn more about the current layer applied to the document:
Infrastructure
Version 5 Release 13
Page 122
As you can see it in the above capture, the current layer applied to the document is a
new layer named "My New Layer".
Would you need to customize some of these parameters, you can make your
modifications directly in the Standards tab or using an XML editor, provided that you are
logged as administrator.
For detailed information on customizing standards for layers and filters, refer to
Customizing Standards for Layers and Filters in this guide.
For detailed information on customizing drafting and generative standards (ANSI.xml,
ISO.xml, etc.), refer to Standards Administration in the Version 5 Interactive Drafting
User's Guide.
Infrastructure
Version 5 Release 13
Page 123
Infrastructure
Version 5 Release 13
Page 124
Infrastructure
Version 5 Release 13
3. Toggle the View->Geometry command on and off to display and hide the geometry.
Page 125
Version 5 Release 13
Infrastructure
Page 126
4. If you want to swap the focus between the tree and the geometry, select the View->Commands List...->Swap
view/tree command or enter c:swap view/tree in the power input field:
This enables you, for instance, to resize the specification tree as desired.
To deactivate the command, simply re-select the View->Commands List...->Swap view/tree command or re-enter
c:swap view/tree in the power input field.
Using this command is equivalent to clicking the axis system displayed in the bottom right corner which is another
method to swap the focus between the specification tree and the geometry.
Note: you can also customize the default font size of the tree by exporting the following variable which lets you set the
size by yourself:
export CATGraphSize=font_size (on UNIX)
or
set CATGraphSize=font_size (on Windows)
where "font_size" is the new default font size in millimeters.
For instance, "export CATGraphSize=5".
Infrastructure
Default font size
without exporting
CATGraphSize
variable:
Version 5 Release 13
Page 127
Version 5 Release 13
Infrastructure
Page 128
2. To restore the document window to its original size, right-click then uncheck the Full Screen
option.
Version 5 Release 13
Infrastructure
Page 129
On the Sun Solaris platform, we recommend that you set the following desktop resource
to always keep your Version 5 window on top:
Allow primary always on top
Version 5 Release 13
Infrastructure
Page 130
1. With the specification tree visible, select the View->Specifications Overview command (or press the
Shift and F2 keys) to display the Overview window containing a view of a portion of the specification
tree:
Infrastructure
Version 5 Release 13
Page 131
Infrastructure
Version 5 Release 13
Page 132
Infrastructure
Version 5 Release 13
Page 133
1. With geometry visible in the geometry area, select the View->Geometry Overview command.
The geometry is displayed in the overview window, but not the specification tree:
This drags the overview viewport through which you view the geometry. Only that part of the
geometry you see inside the overview viewport will be visible in the document window:
Version 5 Release 13
Infrastructure
Page 134
Note that you can resize the overview window itself to see the whole of the viewport.
3. Zoom the size of the overview viewport by dragging the handles located at the top right and bottom left
corners of the viewport.
Infrastructure
Version 5 Release 13
Page 135
Version 5 Release 13
Infrastructure
Page 136
2. Select the View->Tree Expansion->Expand First Level command to see the first level of
the tree:
Version 5 Release 13
Infrastructure
Page 137
3. Select the View->Tree Expansion->Expand Second Level command to see the second
level of the tree:
Version 5 Release 13
Infrastructure
Page 138
4. Select the View->Tree Expansion->Expand All command to see all the levels of the tree.
5. When an object is selected in the tree, you can use the View->Tree Expansion->Expand
Selection command. A dialog box opens and prompts you to indicate the number of levels to
expand:
Note that the dialog box keeps the last selection you made.
Infrastructure
Version 5 Release 13
Selecting Objects
Preselecting and Selecting Using the Pointer
Selecting Using the Selection Traps
Selecting Using the Preselection Navigator
Selecting Using the Other Selections... Command
Selecting Using the Search... Command (General Mode)
Selecting Using the Search... Command (Favorites Mode)
Selecting Using the Search... Command (Advanced Mode)
Storing Selections Using Selection Sets
Selecting Selection Sets
Selecting Using a Filter
Page 139
Version 5 Release 13
Infrastructure
Page 140
Whenever you are not using an application command, the Select command is active. Using the Select
command, you can select any object in your document. All the selection tools are available using this
command.
As you point to objects, different parts of the objects are highlighted, in the geometry area, and
the object name is highlighted in the specification tree:
Version 5 Release 13
Infrastructure
Page 141
Highlighting will only be active if you checked the option "Preselect in geometry view" (active by
default) using the Visualization tab via the Tools->Options... command. This option is active by
default. You can also set the preselected element linetype using the " Preselected element
linetype" option in the Visualization tab.
The face on the object opposite, for example, is highlighted in red.
You can also use the same tab to set a variety of useful selection features including selected
element color and pre-selected (highlight) linetype. Note that the selection color and preselection color are the same.
In the geometry area, you can select the constituent
elements of objects, in other words:
faces
vertices
edges
planes
axes.
Whenever you are using an application command, you can only select objects required as input
for the command. For example, when creating a hole in a pad, you are prompted to select a face
or a plane: no other elements can be selected.
Version 5 Release 13
Infrastructure
In our example, the selected face now changes color because we changed the selection color:
Page 142
Infrastructure
Version 5 Release 13
Edges are highlighted as you point them and arrows are displayed to indicate to which element
the edge belongs to.
This is especially useful in case of overlapped elements as shown in our example:
On certain objects, note that hidden faces and edges are also
highlighted as you point at them. Hidden faces and edges are
displayed in a different color.
Refer to "Selecting Using the Preselection Navigator" for a more
powerful method for selecting hidden or coincident elements.
Page 143
Version 5 Release 13
Infrastructure
Page 144
3. Drag the bounding outline until the object(s) you want to select is(are) completely inside
the bounding outline.
The objects must be completely inside the bounding outline: if not, they will not be
selected.
Press and hold down the left mouse key, and slide it to the right to select the icon.
The principle is the same: drag (using the left mouse button) to create the trap around the
object(s). Furthermore, you can start creating the trap by pointing to an existing object, and then
dragging.
Infrastructure
Version 5 Release 13
Page 145
works like the other traps, except that the trap you can draw is a
The Polygonal Trap icon
closed polygon. Drag to define the polygon around the object to be selected, then double-click to
close the polygon.
lets you select objects by simply drawing a paint stroke across them.
The Paint Stroke icon
Drag to create the paint stroke. Any object crossed by the paint stroke will be selected.
Version 5 Release 13
Infrastructure
Page 146
This task explains how to use the preselection navigator (or the keyboard arrows) for selecting hidden or coincident
elements, or elements located elsewhere in the specification tree.
Method 1
1. Click anywhere in the geometry area.
2. Position your pointer over the object you want to select.
3. Press any keyboard arrow (up, down, right or left) or the CTRL+F11 keys.
The preselection navigator appears.
Method 2
1. Select the Tools->Options... command. In the General category, select the Display sub-category then the
Navigation tab.
2. Check the option "Display the preselection navigator after ... seconds", set the spinner to the time delay, and
click OK.
The spinner sets the amount of time, in seconds, which elapses before the preselection navigator appears
after pointing at an object.
The selection tool is displayed after the time delay you set in step 2:
Infrastructure
Version 5 Release 13
Note: You can activate/deactivate the highlight of preselected face(s) by checking/unchecking the
"Prehighlight faces for preselection navigator" option under the Navigation tab.
In that case, the preselected face would look the following way:
Page 147
Version 5 Release 13
Infrastructure
Page 148
a circle providing a visual feedback for the pointed object. This circle with an opaque background shows the
preselected element and displays the surrounding elements in transparency. The circle keeps the proportions of the
current viewer
up and down in the object hierarchy using left and right arrows
a cross pinpoints the preselected location. Four arrows are used for navigating or scrolling through the object you
point at. These arrows turn black when you reach an extremity
a list of all the stacked elements you can preselect. This list indicates the selection path and the identity of each
element. This information is identical to the one displayed in the status bar.
You can choose to display or not the immersive list of elements you can preselect (shown in the example below). To
do so, check or uncheck the "Display immersive list for preselection navigator" option under the Navigation tab
an auxiliary viewer displaying the preselected object. This viewer also lets you perform viewing operations with the
mouse such as zoom, rotate or pan. By default, this viewer is not displayed and has to be activated via the
Navigation tab as explained further in this task.
An invisible area around the selection tool determines selection tool sensitivity.
1. Click the up arrow to navigate "in-depth", in other words, from the front to the back of the object, to highlight
hidden, superposed or coincident elements.
This method is particularly useful for large parts since it lets you select, for example, edges, faces, etc. which
are not visible or accessible near the front of the part.
Infrastructure
Version 5 Release 13
The cursor shape changes according to the type of the preselected element as shown below:
point...
edge...
or face:
Note: the preselection navigator lets you use the contextual menu.
You can also navigate between different objects, not just inside single objects. When one object hides
another, the preselection navigator will also let you select elements belonging to the hidden object.
2. Click the down arrow to navigate in the opposite direction, towards the front of the object.
Page 149
Infrastructure
Version 5 Release 13
Page 150
position your cursor over the circle, then click with the middle-mouse button to navigate inside the
object. As you click, the corresponding element path is highlighted in the list displayed to the right
move the mouse over the list of element paths. As you do this, the element corresponding to each path
you point at is pre-highlighted in the circle. Then, click the desired path to select the corresponding
element.
Moreover, when pointing at an element in the circle or at a path in the list, you can right-click to display the
contextual menu as shown in the following two examples:
Example 1 - when pointing at an element in the circle
Version 5 Release 13
Infrastructure
Page 151
You can also press the up and down keys to achieve the same effect, and validate your selection using the
ENTER key. Using any of these keys displays the selection tool automatically.
The up and down arrows also let you activate the multiple selection.
The navigation is cyclic: when you reach the end of the selection path using the up and down keys, the
preselection navigator automatically goes back to the starting point (i.e. the highest element in the
hierarchy) and you can then re-start navigating.
3. Click the left and right arrows to navigate up and down in the object hierarchy.
For example, click the left arrow and look at the specification tree to see each click on the left arrow takes
you to the top of the tree, then click the right arrow to navigate downwards.
Similarly, you can also press the left and right keys to achieve the same effect, and validate your selection
using the ENTER key or the left mouse button.
4. Select Tools->Options...->General->Display then access the Navigation tab and check the "Display auxiliary
viewer" option.
5. Click anywhere in the geometry area, then position your pointer over the object and restart navigating by
clicking the up or left arrow.
An additional window opens and displays the object with the element you have preselected:
Page 152
Version 5 Release 13
Infrastructure
The Auxiliary Viewer window lets you manipulate the object and perform viewing operations with the mouse
such as rotate, zoom or pan as shown below:
Rotate
Zoom
To hide the viewer, simply re-access the Navigation tab then deactivate the "Display auxiliary viewer" option.
6. Click the circle in the center to validate your selection and exit the preselection navigator.
Infrastructure
Version 5 Release 13
Page 153
The selection tool disappears, in any case, once a selection has been made, or if you point or click outside
the selection activation area around the selection tool.
However, the preselection navigator can be deactivated at anytime by pressing the Esc key.
Note: the preselection navigator cannot be used with selection filters.
Version 5 Release 13
Infrastructure
Page 154
Version 5 Release 13
Infrastructure
You can also navigate up and down the tree inside the Other Selections window using
the preselection navigator or the keyboard arrows, and select other objects.
The Other Selection... command is the only tool that lets you select characteristic
elements.
Page 155
Version 5 Release 13
Infrastructure
Page 156
product properties
elements through the value of a specific attribute (material name, dimensions, etc.)
objects created using a specific workbench, in the current document or throughout the whole document, in
the selection list.
Note that you can perform searches on model documents created using CATIA Version 4.
2. Click the
General
tab:
Infrastructure
Version 5 Release 13
Page 157
If the Select command was active before you selected the Edit->Search... command, it remains
active.
The Search...command does not prevent you from running other commands on the search results
(once selected). So you can also work with other commands while the Search dialog box remains
open. This means that you can:
If you select the Search button now, all items in the specification tree will be found.
Version 5 Release 13
Infrastructure
button:
The Search dialog box is resized to include a list containing the search results at the bottom of the
dialog box. You can deselect items in the list by clicking on them.
In our example, three objects and the corresponding path are highlighted in the list in the Search
dialog box.
Click the corresponding column header (i.e. Name or Path) to sort the search results alphabetically.
A query is also generated in the Query field and the sketch is preselected in the geometry area:
Page 158
Infrastructure
Version 5 Release 13
Page 159
Note: If several elements with the same name are found, whatever their type, a warning message is
displayed.
Infrastructure
Version 5 Release 13
Note that clicking OK has the same effect as clicking both the Select and Close buttons.
7. Run the Search... command once again using the Ctrl+F shortcut.
Page 160
Version 5 Release 13
Infrastructure
Page 161
The Query field displays the search query formulated in the search language. This helps you to become
familiar with the search language, which can be used for searching without using the Search...
command. For a complete description of the search language, refer to "Using the Search Language".
Click the down arrow at the end of the Query field to display previous search queries. Simply selecting
a search query executes the search (with the same filter). Queries are also stored across sessions
because they are stored with your settings. This enables you to recover queries from one session to
another.
You can also use this language when you are using power input mode. The object found will be directly
selected.
9. Enter the following names in the Name field then click the Search button each time to compare the
results:
Version 5 Release 13
Infrastructure
"sketch*" with the Case sensitive option checked gives the following result:
"Sketch*" with the Case sensitive option checked gives the following result:
Page 162
As you can see it, you can use the asterisk (*) as a wildcard. For example, entering:
*
and using the default settings for the other options in the Search dialog box will search for and select
all objects in the document. Similarly, entering:
Sketch*
will select all objects whose names begin with the character string "Sketch". Check the "Case
sensitive" option if you want the search to be case sensitive.
Note, however, that the other options allow you to filter your searches progressively.
In case you want to search for a name as it is displayed in the specification tree, check the "As
displayed in graph" option.
To illustrate this, suppose you have a part named "My_Part_Number"...
Infrastructure
Version 5 Release 13
... whose name usually appears the following way in the specification tree:
Let's suppose you customize the "Display Format" in the Infrastructure->Product Structure->Nodes
Customization tab by entering the following data:
The name displayed in the specification tree will now look like this:
Page 163
Infrastructure
Version 5 Release 13
Page 164
... since the search is based on the name displayed in the Instance Number field.
Whereas searching for the name *part* with the "As displayed in graph" option checked will give the
following result:
You can also sort the results alphabetically by Name and Path in the Search dialog box by clicking the
corresponding column header.
Double-clicking an element from the search result list enables you to edit this element. For instance,
double-clicking an element of type "Pad" will open the Pad Definition dialog box to let you modify its
parameters.
Infrastructure
Version 5 Release 13
2. In the Color field, select "From Element" from the pulldown list as shown below:
Page 165
Page 166
Version 5 Release 13
Infrastructure
3. In the geometry area, simply click the color to be searched then click the Search
button.
4. Click Close to deactivate the acquisition agent and display the Search dialog box.
2. Enter the name "line*1" in the Name field then click the Search button to search for lines whose names
end with "1":
3. Empty the value entered in the Name field then enter the workbench "Sketcher" in the Workbench field,
the type "Line" in the Type field.
If you select "From Element" in the Type field, the Search dialog box disappears and an acquisition
agent is activated:
Version 5 Release 13
Infrastructure
Page 167
Just select the type you desired in the geometry area, then click Close to stop the agent and display
the Search dialog box.
4. In the Color field, select "From Element" from the pulldown list then select a line from the geometry area
before clicking the Search button. In our example, we are searching for lines having the same color than
line 2 (i.e. "Dark Grey Green"):
Version 5 Release 13
Infrastructure
Page 168
The result shows that Line.2 is the only line with "Dark Grey Green" color.
Note: when searching for topological objects (by selecting "Topology" in the Workbench list), the
"Topology" search criterion can be combined only with an object type. You cannot combine it with a
color or a name, for instance.
6. Click OK to validate.
Version 5 Release 13
Infrastructure
Page 169
The
More...
button
becomes
the
Less...
button
and the
Search
dialog
box now
looks
like this:
Dashed (lets you choose the type of line to be searched for): choose "4"
The combo boxes of the general graphic properties are identical to those of the Graphic Properties
toolbar. For detailed information, refer to Displaying and Editing Graphic Properties.
You can also specify the layer and visibility in the Layer and Visibility fields:
in the Layer field, select the layer number in which you want to perform the search
in the Visibility field, choose either "visible" ( searches for visible elements) or "hidden" (searches
for elements hidden in the No Show space).
For more information about visible and hidden elements, refer to "Hiding and Showing Objects".
Version 5 Release 13
Infrastructure
The result shows that only one line matches these criteria:
5. Select the Less... button to return to the original Search dialog box.
Page 170
Version 5 Release 13
Infrastructure
Page 171
1. Run the Search... command using the Ctrl+F shortcut or by selecting the Edit->Search... command.
2. Click the
General
tab:
Version 5 Release 13
Infrastructure
Page 172
Everywhere: searches the whole specification tree from top to bottom, to find objects created
using all workbenches; if you are performing the search in a product structure document (in design
mode), the search will be performed throughout the whole product structure, inside all the
documents integrated in the product structure (if these documents are accessible in design mode)
For example, to understand how this option works in our document:
enter the name of what you are searching for, "*1" in our example to search for all objects
whose names end with "1"
click the Search button:
Version 5 Release 13
Infrastructure
Page 173
In "Element": the search will only locate objects belonging to "Element" , and that can be created
using the current workbench, where "Element" is the name of the active object.
For example, if you are using a Part document, objects created using the Part Design workbench
will be searched, but NOT objects created using the Sketcher workbench.
For example, to understand how this option works in our document:
enter the name of what you are searching for, "*1" in our example to search for all objects
whose names end with "1"
click the Search button:
Version 5 Release 13
Infrastructure
Page 174
Version 5 Release 13
Infrastructure
Page 175
Selecting this filter enables you to locate only the objects that can be created in the Part
Design workbench and that belong to "Product". The search does not reach the lower levels
in the tree: the individual elements that make up the different parts will not be searched.
From "Element" to bottom: searches the elements in the active "Element", to the bottom of the
tree, regardless of the workshop used to create them.
For example:
enter the name of what you are searching for, "*1" in our example to search for all
objects whose names end with "1"
click the Search button:
Version 5 Release 13
Infrastructure
Page 176
Version 5 Release 13
Infrastructure
Page 177
From current selection: this option will only be available if you already selected objects before
selecting the Search... command, and searches inside the selected objects to the bottom of the
tree. This is particularly useful when you know the object in which you want to search: you simply
select the object, then search inside the object.
For example:
enter the name of what you are searching for, "*1" in our example
Version 5 Release 13
Infrastructure
in the result list, select Pad.1 and Hole.1 then click the Select button: Pad.1 and Hole.1
are selected in the specification tree
Page 178
Infrastructure
Version 5 Release 13
Page 179
In the list box, selecting a workbench filters the list of types in the Type field: for example, if you
select the workbench "Part", the Type field will be filtered to contain only the element types available
in Part documents and if you select the type " ", the corresponding workbench will be displayed. The
same principle applies to the other document or workbench types.
If the type belongs to several workbenches, a warning message will be displayed.
When you select a new workbench, by default "*" remains in the Type field. This means that the
search will be performed on all types of elements created by all workbenches.
Whichever workbench is selected in the "Workbench" list box, you can search for element types
belonging to any other workbench by typing the name of the type in the "Type" field. If the element
type belongs to only one workbench, the correct workbench name is displayed in the "Workbench" list
box.
If you type only the first few characters of an object type, then press ENTER, the system will
automatically display the full name of the type. If several types contain the same characters, the first
name containing these characters is displayed.
Note: the object type is NOT necessarily the name you see in the specification tree.
When you choose "From Element" in the Type field then select an element in the geometry area, the
system automatically displays the Workbench and Type of the selected element.
Version 5 Release 13
Infrastructure
Page 180
From search results: the search is performed on the list of objects preselected in the list at the
bottom of the Search dialog box.
Infrastructure
Version 5 Release 13
Page 181
By default, "*" appears in the Color field. This means that the search will be performed on elements of
any color.
Select the desired color, or click More Colors... at the bottom of the color list to access the color
chooser to select basic or previously custom colors, or add new custom colors.
The option "From Element" lets you use the color of an existing element. To do so, select the element
whose color you want to use in your search. The selected color will be displayed in the Color field.
Refer to "Displaying and Editing Graphic Properties" for a full description of how to use the color
chooser.
When you apply basic and custom colors to elements, and search for elements using these colors, a
search query is generated. However, the RGB code is used instead of the color name for custom
colors. This is useful, for example, if you modify your color palette (for example, by deleting the
custom color, or deleting the color settings file in your settings folder) then retrieve a search query.
Because the query references the RGB values of the color and not the color name, changes to the
color palette will not affect the search: the search will always find elements referencing a color
expressed using RGB values. The names of basic colors, however, remain the same.
Infrastructure
Version 5 Release 13
Page 182
When the object is selected in the search result list, you can also use the "Center graph" and "Center
view" contextual commands.
Version 5 Release 13
Infrastructure
Page 183
The Favorites mode lets you save your favorite queries in order to reuse them as many times as you
wish, without having to reenter your search criteria.
This scenario assumes that you performed a quick search by type as explained in the General Mode
section.
Version 5 Release 13
Infrastructure
Page 184
Your query is displayed in the Favorites list. You can click the column headers to sort the
queries alphabetically.
Page 185
Version 5 Release 13
Infrastructure
Favorites are stored across sessions because they are stored with your settings in the
SearchFavoriteQueries.CATSettings file. This enables you to recover your favorite queries
from one session to another.
Note that your search queries can be stored independently from the language (they are
called "transformat queries"), thus enabling you to run queries created by other users
whatever the session language provided that they were not created before V5R9 SP1.
You can select a query then use one of the three icons displayed to move up
down
or delete
, move
this query.
Infrastructure
Version 5 Release 13
Page 186
Double-clicking a query in the Favorites mode automatically updates the data displayed
under the General tab accordingly and the object is preselected in the geometry area.
A query may be modified directly in the Favorites list by clicking its name or its content under
the corresponding column.
Version 5 Release 13
Infrastructure
Page 187
4. Click the query syntax in the Query column then replace the color. "Dark Grey Green" with "Pink
Salmo".
A warning message informs you that the color does not exist.
6. Repeat steps 4 and 5 to edit the query syntax once again but, this time, the color name to enter
is "Pink Salmon".
Version 5 Release 13
Infrastructure
8. Click the query syntax in the Query column then enter the following query:
NAME=Sketch*,all
9. Click the query name in the Name column then enter "MyQuery1".
button:
Page 188
Version 5 Release 13
Infrastructure
button:
Page 189
Version 5 Release 13
Infrastructure
You can use the power entry field to run a query and modify its syntax.
For instance, entering:
favorite=MyQuery1
or
f=MyQuery1
will not give any result. To be able to find an object, we must modify the filter option.
This can also be done in the power input field by entering, for instance:
favorite=MyQuery1, all
or
f=MyQuery1, all
Page 190
Version 5 Release 13
Infrastructure
Page 191
The Advanced search mode lets you compose more precise queries using a combination of search
criteria as well as the "And", "Or" and "Except" operating signs.
Any information entered in the General tab is reported in the Advanced tab as well as the name of the
last workbench on which you performed a search.
You can now record and run your search queries using macros. The recorded macro will be stored in a
.CATScript file containing a transformat query, which means that the query can be run whatever the
session language.
For detailed information on macros, refer to Recording, Running, and Editing Macros.
1. Use the CTRL+F keyboard shortcut or select the Edit->Search... command then click the
Advanced tab:
Version 5 Release 13
Infrastructure
Page 192
3. Select an attribute for the Attribute field. Each workbench corresponds to a list of types and
each type corresponds to a list of attributes, among which:
Color: select a color from the color chooser or use the color of an existing element
Set: a selection set indicating a numeric value with the corresponding unit of measure
Layer: indicate the layer of the searched element. Setting this attribute to "None" means
that you will search for any object which is not assigned to a layer.
Note that Layer and Visibility attributes are identical to those displayed in the Graphic
Properties toolbar.
Version 5 Release 13
Infrastructure
The above mentioned attributes are permanent attributes, i.e. associated to any element
type.
Depending on the value you select, the corresponding Attribute's criterion dialog box is
displayed.
In our example, select the attribute "Name" then enter the following value:
If you are searching for a character string whose value is empty, leave the field in the
Attribute's criterion dialog box empty so that the query syntax looks something like this:
'workbench'.type.attribute=
where
"workbench" is the workbench in which you are performing your search
"type" is the type of the object containing the string you are searching for
"attribute" is the attribute containing the empty string.
For instance:
'Product Structure'.Product.Product Description=
Page 193
Version 5 Release 13
Infrastructure
5. Click the
Page 194
Version 5 Release 13
Infrastructure
Page 195
8. Select the operating sign in the list box then enter a value in the field. You can also use the
default value (*) as a wildcard.
In our example, we selected the "=" operating sign and the value "5mm; 10mm" in order to
search for any element whose diameter is comprised between "5mm" and "10mm".
The number of operating signs displayed in the list depends on the attribute you chose. Here
is an exhaustive list of the available operating signs:
! = (different)
<
<=
>
>=
You can check the "Case sensitive" option if you want the search to be case sensitive. The
attribute name appears then in capital letters in the query.
Infrastructure
Version 5 Release 13
Page 196
Version 5 Release 13
Infrastructure
Page 197
Depending on the attribute you select, the Attribute's Criterion dialog box may displays a
pulldown list of attributes. The example below shows a list of criteria corresponding to a hole
type:
This dialog box may also let you choose a boolean attribute, in case you are searching for a
threaded hole, for instance:
Note: If you select the Drafting workbench, you can search for specific attributes such as
dimensions by selecting the "Dimension" value in the Type field then entering your value or
scale of value in the Attribute`s criterion dialog box.
For example:
Drafting.Dimension.Value<=140mm
searched for all objects created using the Drafting workbench, of type Dimension
with a value lower than 140 millimeters
Drafting.Dimension.Value='137mm-138mm'
searches for all objects created using the Drafting workbench, of type Dimension
with a value between 137 and 138 millimeters. These two values are separated by
"-".
The Drafting workbench also lets you search for elements of type Geometry such as 2D lines,
2D curves and so on. Refer to Edit/Search Dimension Status in the Version 5 - Interactive
Drafting User's Guide for detailed information.
Version 5 Release 13
Infrastructure
Page 198
1. Use the CTRL+F keyboard shortcut or select the Edit->Search... command then click the
Advanced tab:
Version 5 Release 13
Infrastructure
Page 199
The Product Structure workbench lets you search for elements which possess certain
properties (dynamic attributes) you defined for a product.
You assign properties to products (and parts in products) by selecting an element from the
Product property list box.
The properties you can search for (the same as those you assigned to the element) are:
Part Number
Revision
Definition
Nomenclature
Product Description
Component Description.
If you type only the first few characters of a property, then press ENTER, the system will
automatically display the full name of the property.
Once you have chosen the property, type in the value of the property in the "of value" field.
For example, if you assigned a description to the element, you must select the "Production
Description" property then enter text included in the description.
You can also define additional product properties such as Real, Integer, String, etc. by
clicking the Define other properties... button. For detailed information, refer to the Version
5 Product Structure User's Guide - Modifying Component Properties.
2. Select "Product Structure" in the Workbench field, "Product" in the Type field. The query syntax
is displayed in the editor:
Infrastructure
Version 5 Release 13
Page 200
In our example, the Product Structure product has the following user-defined attributes:
These attributes can be visualized by selecting the product in the specification tree then then
the Properties... contextual command.
Version 5 Release 13
Infrastructure
Page 201
3. Edit the query manually in the editor to add to search for the attribute Real.2. You can perform
your search using these four different queries:
'Product Structure'.Product.'Real.2'=12.3
means that you will search for an attribute named "Real.2" with a value equal to
12.3
'Product Structure'.Product.'Real.2'='10;40'
means that you will search for an attribute named "Real.2" with a value comprised
between 10 and 40
'Product Structure'.Product.'Real.2'!='12;12.25'
means that you will search for an attribute named "Real.2" with a value different
than 12 and 12.25
'Product Structure'.Product.'Real.2'<13
means that you will search for an attribute named "Real.2" with a value lower than
13.
Infrastructure
Version 5 Release 13
The search result indicates that Real.2 has been found in Product.
Page 202
Version 5 Release 13
Infrastructure
Page 203
The And, Or and Except buttons lets you combine several search criteria and refine your
query.
The query is displayed in the Generated queries field and can be modified, for example to
add brackets and group queries together.
2. In our example, we are searching for holes and pads created using the Part Design workbench
or whose names end with "1".
3. To do so, select "Part Design" in the Workbench field, "Hole" in the Type field then "Name" in
the Attribute field (enter the value "1*" for the name).
4. Click the Or button the select "Pad" in the Type field then "Name" in the Attribute field (enter
the value "1*" for the name).
The query syntax is displayed in the editor:
Version 5 Release 13
Infrastructure
Page 204
For more information on the search language, refer to the Using the Search Language task in
this guide.
A list containing the search results is displayed at the bottom of the Search dialog box:
Infrastructure
Page 205
Version 5 Release 13
You can add your query to your favorites by clicking the Add to favorites...
button.
For more information on favorites, refer to the Searching Using the Favorites Mode.
7. Click the Select button to select the objects in the geometry area.
Version 5 Release 13
Infrastructure
Page 206
8. If you wish to modify the query, you can do it very by typing a new query in the editor as
shown below:
'Part Design'.Sketch.name!=*2
or
'Part Design'.Sketch - name=*2
means that you will search for all sketches except those whose names end with "2".
Another example:
'Part Design'.Hole.name=*1 & 'Part Design'.Hole.Diameter<50mm
means that you will search for all holes whose names end with "1" and whose diameters are
lower than 50 mm.
You can copy the one of the above-detailed queries, paste it directly to the query editor then
start the search.
Version 5 Release 13
Infrastructure
Page 207
This task explains how to group selections and store them in selection sets.
Selection sets are saved with your documents. You can then use the Selection Sets Edition... command to add objects,
rename the selection set, or delete it.
Note that as an example, selection sets are already stored in the sample document but that does not prevent you from
creating other sets using the instructions below.
1. Select the Edit->Selection Sets Edition... command (or use the CTRL+G keyboard shortcut):
Infrastructure
Version 5 Release 13
Page 208
You can use the selection traps to add and remove objects grouped in a selection set.
4. To add more elements to your selection set, click the selection set name in the list, check that the "Add element"
mode is active then continue selecting elements.
In our example, add the hole to the selection set :
Version 5 Release 13
Infrastructure
Page 209
5. Check the "Select a face, edge, axis or vertex" option to be able to store sub-elements (such as faces or edges) in the
selection set.
The "Find owning Sets" radio button lets you find the set an element belongs to. To do so, click the desired element
then activate the "Find owning Sets" mode to highlight the corresponding group in the list.
Note: you can also find the set an element belongs to by selecting the desired element, then choosing the Edit>Find Owning Selection Sets... command. The Selection Sets Selection dialog box will appear to display the
name of the set as shown below:
Infrastructure
Version 5 Release 13
For detailed information on this dialog box, refer to Selecting Selection Sets.
Page 210
Infrastructure
Version 5 Release 13
Page 211
This task explains how to select groups once they have been stored in selection sets.
1. Select the Edit->Selection Sets... command (or use the CTRL+G keyboard shortcut):
The above picture shows 3 selection sets: Surfaces, Lines and Group.
2. Click one of the selection sets from the list. You can also use the CTRL key to select more
than one selection sets in the list.
The elements included in the selection set are highlighted in the geometry area:
Infrastructure
Version 5 Release 13
Page 212
3. Click the Select button or double-click the selection sets to select the highlighted elements.
The number of selected elements is displayed in the status bar.
If you want to reset the filter, i.e. remove a selection set from the list, just select the set
to be removed then click the Reset button.
However, note that elements stored in this set will still be highlighted in the geometry
area and in the specification tree.
Using selection sets is very useful for identifying very quickly a selected group of
elements.
Infrastructure
Version 5 Release 13
Page 213
icon lets you display the hidden elements in the No Show space:
Version 5 Release 13
Infrastructure
Page 214
You need access to a CATIA - P2 Generative Shape Design configuration to follow this scenario.
A .CATProduct containing a .CATPart must be open and one or more sketches created.
You can also open the SelectionFilter.CATProduct document
You need to activate the User Selection Filter toolbar by selecting the View -> Toolbars command and
clicking User Selection Filter.
the last icon on the right lets you perform a quick selection of
geometry. Refer to "Quick Selection of Geometry" in the
Version 5 - Generative Shape Design User's Guide for detailed
information.
Version 5 Release 13
Infrastructure
Page 215
If you deselect a type, it cannot be selected in the geometry anymore unless all other types are deselected
If you deselect a mode, it cannot be selected anymore for each active type unless other modes are
deselected
Activating both filter modes does not make sense. It is recommended to select either the Feature Element
Filter or the Geometrical Element Filter.
Version 5 Release 13
Infrastructure
Page 216
Infrastructure
Version 5 Release 13
Page 217
The Update Error dialog box appears: an element of the part is no longer recognised and needs to be
updated.
13. Click OK in the Extruded Surface Definition dialog box to create the surface.
Infrastructure
Version 5 Release 13
Page 218
The elements of lower dimension (points) are declared first. When element types have the same dimension,
the Feature Element Filter mode prevails over the Geometrical Element Filter mode
Infrastructure
Version 5 Release 13
Manipulating Objects
Undoing Actions
Redoing and Repeating Actions
Cutting and Pasting Objects
Copying and Pasting Objects
Using the Paste Special... Command
Deleting Objects
Displaying and Editing Graphic Properties
Using the Graphic Properties Toolbar
Using the Graphic Properties Wizard
Measuring Objects
Page 219
Version 5 Release 13
Infrastructure
Page 220
Undoing Actions
shortcut).
This cancels the last action performed.
2. If you want to undo one or more actions preceding the last one you simply have to repeat step
1.
Sometimes no action can be undone. When this is the case, the Undo icon is grayed out.
By default, a maximum of 10 global undo actions is possible. This maximum can be changed
using the Tools->Options->General->Performances setting.
3. If you want to display an history of actions that can be undone in the active document, click the
Undo with history
icon:
Infrastructure
Version 5 Release 13
Page 221
The Undo with history dialog box lets you choose the action(s) you wish to undo, the most
recent action being displayed at the top of the list.
Each action is identified by its name, for instance "SearchAgent" refers to the Edit->Search
command. Action names corresponding to an internal transition inside a command (e.g.
"Element selection...") are followed by ... to distinguish them from global commands.
Bear in mind that one history is used per document ; the history of actions is not forwarded
from one document to another. As a consequence, undoing actions in a document opened
several times simultaneously (e.g. when opening a CATPart and a CATProduct containing this
CATPart) may corrupt data . It is recommended not to undo actions in a document that has
been modified in another window.
4. Select the desired action then click OK (to redo the action then close the dialog box) or Apply
(to redo the action and keep the dialog box open).
Bear in mind that selecting an action implies that all former actions will also be selected and
thus, undone in order to keep the history. In our example, selecting the Contextual
selection... command will undo the first four actions displayed in the list.
You can undo the UI-Activation of an object, however this will also undo any other action
performed during the object activation.
For information, UI-Activation (User-Interface Activation) means that you edit or double-click
an object in order to make it UI-Active (User-Interface Active). The UI-Active object appears
in blue color in the specification tree.
Version 5 Release 13
Infrastructure
Page 222
This task shows you how to recover the last action undone, and repeat actions.
shortcut).
2. If you want to repeat the last action more than once, simply repeat step 1 as many times as
required.
The Redo can only be used to recover what you have canceled by performing an Undo. It
cannot be used to perform actions not canceled by an Undo.
A redo may recreate an active object. This is indicated by the caption Redo Active Object
opposite the Edit->Undo command.
Some actions cannot be redone. When this is the case the Redo action is grayed out.
A maximum of 10 undo actions is possible.
The Redo command is replaced in certain cases by the Repeat command, enabling you in
the right conditions to restart a command that you just used.
3. If you want to display an history of actions that can be redone in the active document, click the
Redo with history
icon:
Infrastructure
Version 5 Release 13
Page 223
The Redo with history dialog box lets you choose the action(s) you wish to redo, the most
recent action being displayed at the top of the list.
Each action is identified by its name, for instance "SpecialCom" refers to the Edit->Paste
Special command. Action names corresponding to an internal transition inside a command
(e.g. "Element selection...") are followed by ... to distinguish them from global commands.
Bear in mind that one history is used per document ; the history of actions is not forwarded
from one document to another. As a consequence, redoing actions in a document opened
several times simultaneously (e.g. when opening a CATPart and a CATProduct containing this
CATPart) may corrupt data . It is recommended not to undo actions in a document that has
been modified in another window.
4. Select the desired action then click OK (to redo the action then close the dialog box) or Apply
(to redo the action and keep the dialog box open).
Version 5 Release 13
Infrastructure
Page 224
in the geometry area or the specification tree, drag the selection (although not a
graphical cut, this is equivalent to the cut operation).
in the geometry area or the specification tree, drop what you are dragging (see
above).
The application workbenches offer a variety of specific cutting and pasting scenarios.
Contextual features such as fillets or extracts cannot be pasted if their parent element (edge,
face, etc.) has not been previously selected.
Version 5 Release 13
Infrastructure
Page 225
in the geometry area or the specification tree, press and hold down the Ctrl key and
drag the selection.
in the geometry area or the specification tree, drop what you are dragging (see
above).
Note that:
The application workbenches offer a variety of specific copying and pasting scenarios.
Contextual features such as fillets or extracts cannot be pasted if their parent element (edge,
face, etc.) has not been previously selected.
Infrastructure
Version 5 Release 13
Page 226
When pasting several kinds of features simultaneously, these features are be pasted with the first
paste format available in the Paste Special list, provided that each of the pasted features accepts
this format.
Let's suppose you multi-select then paste three features: "Body.1", "Body.2" and
"GeometricalSet.1":
the Paste Special formats available in this case are "As Result With Link" and "As Result" (in
order of appearance in the list of the Paste Special dialog box)
"GeometricalSet.1" does not accept the "As Result With Link" format.
Infrastructure
Version 5 Release 13
Page 227
This task explains how to use the Paste Special... command. This implies the understanding of the type of features you can paste using this command as
well as the various formats available for pasting elements.
Infrastructure
Version 5 Release 13
Page 228
In our example, the CCP.CATProduct document contains some of the types of features you can paste using the Paste Special... command. Here is the
detailed list of the features:
Part Body
Pad
Sketch
Geometrical Set
Constraints.
Then, depending on the type of object you are pasting, you will be able to choose between the following format(s):
As Specified in Part Document: the object is copied as it has been created but generally without its design specifications. For instance, surface features
cannot be copied with their design specifications whereas pads can
As Result With Link: the object is copied without its design specifications and is linked to the original object. In other words, whenever the original
object is modified, the copied object may be manually updated to reflect the changes
As Result: the object is copied without its design specification and without any link with the original object. It is considered as an autonomous entity
As Specified in Assembly
The following table sums up which feature can be pasted "as special" using which format:
Page 229
Version 5 Release 13
Infrastructure
Now let`s go to copying objects!
3. Select the Edit->Paste Special... command. The Paste Special dialog box opens and displays three paste options, detailed hereafter.
or
Infrastructure
Version 5 Release 13
Page 230
This solid can, in turn, be copied on the condition that it is pasted onto a mechanical body and in the first position in the mechanical body (in case
there is no body to paste the solid, a new body will be created).
Note that if you had selected a location for the copied element, the result would have been the same.
Infrastructure
Version 5 Release 13
Page 231
The object is copied with its design specifications, each component number being incremented.
In case of a solid with surface features, we recommend that you use the multi-selection to select individually each object to be copied. In order to
make sure to copy all the desired objects, you can use the Tools->Parent Children... or the Tools->Show Historical Graph... command to
display the genealogical relationships between the different components.
Another method is to use PowerCopies. For more information on using PowerCopies, refer to Version 5 Generative Shape Design User`s Guide Managing Power Copies.
Version 5 Release 13
Infrastructure
Page 232
The object is copied without its design specifications. The pasted object is identified by one of these two symbols:
a blue arrow indicates that the geometry has been pasted to the same document and is still linked to the original object.
The pasted object can be manually updated whenever the original object is modified.
This copy is located under a body named "Body.n", n being incremented according to the number of existing bodies.
In case the original body has been previously renamed by the user via the Edit->Properties->Feature Properties->Feature
Name command, the copy is located under a body named "Result of BodyUserName"
a circle indicates that the geometry has been copied from a document different from the document to which it has been pasted.
For more information on the various referenced geometry symbols, refer to Symbols Used in the Specification Tree.
Version 5 Release 13
Infrastructure
Page 233
when opening a document containing a body pasted "As Result with Link", the corresponding symbol displayed in the specification tree will be
. This symbol means that the pointed document has been found but not loaded. To correct this, select the object in the tree then the Load
contextual command or the Edit->Links... command then the Load button.
The symbol will then change to
to indicate that the object has been copied from a document different from the document it has been pasted
to and that it is synchronized with its reference
if you deactivate a solid pasted "As Result with Link", its symbol in the specification tree will change from
external link is deactivated (the solid is isolated just like a datum) but not the geometry.
to
This scenario assumes there are two documents: CCP.CATProduct, containing the elements to be copied, and the target document.
1. Select Point.1.
3. Select the Edit->Paste Special... command. The Paste Special dialog box opens and displays three paste options:
Infrastructure
Version 5 Release 13
Page 234
if you select PartBody, the point will be copied under the current body (if suitable), then
the first available Geometrical Set if there is one. The number of the copy is incremented, whatever Paste option you choose
In case no Geometrical Set exists, a new Geometrical Set will be created to paste the point.
if no paste location has been previously selected, the result is identical to the one detailed above, i.e. the point will be copied under the current
Geometrical Set (if suitable), then the first available Geometrical Set if there is one, whatever Paste option you choose:
Page 235
Version 5 Release 13
Infrastructure
or
if you wish to copy the point to a new document using the As specified in Part document option:
or
Version 5 Release 13
Infrastructure
Page 236
Note:
Page 237
Version 5 Release 13
Infrastructure
if you intend to copy the point to a new document using the As Result With Link option:
or
Infrastructure
Page 238
Version 5 Release 13
In both cases, the pasted element contains a green symbol indicating that it has been copied from a document different from the
document it is pasted to and that it is synchronized with its reference.
Note: bear in mind that the Copy->Paste command is an explicit action. As a consequence, a feature pasted "As Result With Link" may
be pasted as an external reference but will always appear in Show mode, even if the "Create external references in Show mode" has not
been activated in the Tools->Options->Infrastructure->Part Infrastructure->General tab.
if you intend to copy the point to a new document using the As Result option:
or
In both cases, the pasted element contains a red symbol indicating that the pasted element is isolated, i.e. it can no longer be edited.
Note: When pasting a geometrical set "As Result", only the geometrical elements located at first level will be pasted.
In the example below, when copying then pasting Geometrical Set.1 "As Result" onto Part1, the resulting copy (named "Result of
Geometrical Set.1") will only contain a Point since Geometrical Set.2 is not a geometrical element but a geometrical set of elements:
Version 5 Release 13
Infrastructure
Page 239
Pasting surface features (such as junctions, extrusions, etc.) using the Paste Special... command is identical to pasting wireframe
geometry as explained above. The only difference is that the surface feature will be pasted as "Surface.n" (the object number being
incremented accordingly) unless you renamed it via the Edit->Properties->Feature Properties command prior to copying it.
If the surface feature has been renamed, it will be pasted as "Result of SurfaceUserName".
Copying Contextual Features and Surface Objects Using the Geometry Area
This scenario aims at explaining how to paste contextual features and surface objects by selecting an object in the geometry area.
In our example, we assume there are two documents: CCP.CATProduct, containing the elements to be copied, and the target document.
Contextual Features
Version 5 Release 13
Infrastructure
Page 240
b. if you try to paste it to a pad with its sketch and you select one or more edges, the edge fillet is correctly pasted:
Infrastructure
Version 5 Release 13
Page 241
c. if you try to paste it to a pad with its sketch without selecting any paste location, an error occurs since several edges exist and the following
dialog box is displayed:
Version 5 Release 13
Infrastructure
Page 242
Click Edit then OK to close the Feature Definition Error dialog box
In the Edge Fillet Definition dialog box opens, select the object(s) to fillet as well as the radius value and the propagation. (Refer to
the Part Design documentation for more information on creating an edge fillet)
Note that if you selected the Edge.1 line the Edit dialog box would have appeared instead of the Edge Fillet Definition dialog
box to let you select the element to paste the fillet to.
Click OK to validate.
Infrastructure
Version 5 Release 13
Page 243
Selecting the Deactivate button results in the deactivation of the edge fillet representation, i.e. it appears in the specification tree only
with the following symbol:
Infrastructure
Version 5 Release 13
Page 244
Note: As far as contextual features with multiple entries are concerned, we recommend that you use PowerCopies to copy/paste multiple elements
or single elements taking multiple features as entry specifications. For more information on using PowerCopies, refer to the Version 5 Generative
Shape Design User`s Guide - Managing Power Copies.
Surface Objects
This window enables you to display the dependencies between the elements to be copied.
For detailed information on the Parent/Children... command, refer to the Version 5 Generative Shape Design User`s Guide - Parents and Children.
Infrastructure
Version 5 Release 13
Page 245
3. Once these dependencies are displayed, you can either select only the necessary elements (using the multi-selection) or select the whole Open Body
before pasting them using the Edit->Paste Special... command.
Infrastructure
Version 5 Release 13
Deleting Objects
1. Select the object or objects you wish to delete, either in the specification tree or in the geometry tree.
The object(s) selected are highlighted in both the geometry area and the specification tree.
2. Select the Edit->Delete command or the Delete... command in the contextual menu.
Deleting objects may lead to deleting other objects dependent on the object to be deleted.
3. Click the More>> button when necessary for more advanced deletion possibilities:
4. Select OK to confirm.
Page 246
Version 5 Release 13
Infrastructure
Page 247
The following properties can be inherited: color, transparency, line type and line weight. This
inheritance can be deactivated by doing one of the actions below depending on the property
you do want to inherit:
When a mechanical object (a pad, for instance) has been assigned a color, this color will used
to display the object. Otherwise, the object will be displayed using the color of its father
element (i.e. the Part Body).
To reset the inheritance from the father to the children, select the Reset properties command
from the Edit... menu or from the pad contextual menu. Bear in mind that this command
cancels any local modification applied to the graphic properties of the pad (including color and
transparency)
The following properties are set at the Part Body level and cannot be inherited: point symbol,
line thickness and line type.
Materials
When a material has been applied onto a part with the "Material" option checked in View>Render Style->Customize View (or the Shading with Material icon selected in the View
toolbar), the graphic properties defined in the Properties dialog box have no impact on the part
display anymore.
As a consequence, would you need to modify the transparency, for instance, this should be
made in the material properties. For detailed information on modifying material properties and
on materials in general, refer to the Version 5 - Real Time Rendering User's Guide.
Version 5 Release 13
Infrastructure
Page 248
2. Select the Edit->Properties command (or the ALT+Enter keyboard shortcut) or select
the Properties command on the contextual menu.
A Properties dialog box similar to the one below is displayed:
3. Click the Graphic tab to display the graphic properties of the current object:
Version 5 Release 13
Infrastructure
In the above dialog box, the graphic properties available for editing are:
LowInt
Layers.
However, do not forget that the look of the Properties dialog box will vary according to
the type of the selected object.
When displaying the graphic properties of an Assembly object, the dialog box will look
the following way:
Page 249
Version 5 Release 13
Infrastructure
4. To set object colors, click the Color combo box for Fill.
A list appears containing:
a list of sixteen default colors from the color palette, ready for use
Page 250
Version 5 Release 13
Infrastructure
The No Color option lets deactivate the color inheritance for Assembly objects. You can
then apply a color onto a face without having to modify the product color. To do so:
a.
b.
c.
d.
e.
f.
Page 251
Infrastructure
Version 5 Release 13
Page 252
If you select the the sub-element "EdgeFillet.1" then access its graphic properties, you
will see that the Fill Color combo box is available:
Infrastructure
Version 5 Release 13
You can then select the desired color from the combo box and click Apply or OK to
confirm.
The color will be applied to the selected face only:
Page 253
Version 5 Release 13
Infrastructure
Page 254
Note:
if you modify the geometry, the sub-element will keep its color when the geometry is
updated
if you create a new feature using the sub-element's surface, the color of the subelement will not be propagated to the new feature.
6. To access more colors, or to create your own colors, click the More Colors... option at the
bottom of the list to access the color palette:
In the Basic Colors area, the first sixteen colors (in the top two rows) are the same as
those in the previous list. The remaining four rows contain extra colors.
The Custom Colors area contains sixteen free boxes in which you can place your custom
colors.
7. Click the Define Custom Colors >> option to display the full color palette and color
customization tools:
Infrastructure
Version 5 Release 13
Page 255
Infrastructure
Version 5 Release 13
Page 256
8. Once you are happy with the color, click one of the free boxes in the Custom Colors area,
then Click the Add to Custom Colors option to add the custom color.
Version 5 Release 13
Infrastructure
11. To make the part more or less transparent, drag the Transparency slider to set the
appropriate value (between 0 and 255).
Note that you can set either of two transparency modes:
Screen Door
Alpha Blending
with the Performance tab using the Tools->Options command. For more information,
refer to "Customizing Performance Settings".
Page 257
Version 5 Release 13
Infrastructure
Page 258
As far as .asm documents are concerned, you can check or uncheck the Transparency
option to apply or not a transparency inheritance independently from the color of the
selected object.
12. To set color edges on parts, click the Color combo box for Edges and proceed the same
way.
13. To set edge line type and weight, use the appropriate combo boxes.
14. If you have selected a line or a curve, you can set the line and curve color, the linetype and
weight the same way as for parts.
15. If you have selected a point, you can set the point color in the same way as for parts. To
select the symbol used to represent the point, select the symbol from the Symbol combo
box.
16. In the Show, Pick and Layers area, the Shown check box indicates if the object is always
visible (i.e. in Show mode) or always hidden (i.e. in No Show mode).
This check box is displayed for information only and cannot be modified.
For more information about the show and no show modes, refer to "Hiding and Showing
Objects".
17. Still in the Show, Pick and Layers area, check the Pickable check box if you want the object
to always be selectable.
18. The Layer box indicates the number of layers the selected objects are assigned to.
Otherwise (when nothing is selected) it indicates the current layer.
Version 5 Release 13
Infrastructure
Page 259
When pointing to the Layer box, a tootip indicates whether the layer definition location is
stored in the document or in the user settings (i.e. the CATSettings directory).
However, bear in mind that this tooltip is displayed for information only, you cannot
modify the storage location which has been set as explained below:
Use the pulldown list to choose among the list of named layers and assign the chosen
layer to the selected objects: None, 0 General, 1-999 (according to the number of layers
in the Layer list). For more information, refer to "Assigning Objects to Layers".
The Layer box also contains the "Other Layers..." command which lets you create your
own named layers. Refer to "Creating New Layers" for more details.
Note: you can check the Low Intensity option to apply the low-intensity color to the
selected object. The color to be applied to low-intensity elements can be modified
defined in the Tools->Options->General->Display->Visualization tab.
19. The Rendering Style combo box lets you select the rendering style you want to apply to a
selected element, provided that this element supports rendering styles.
This rendering style will then be used to visualize the object independently from the
rendering style applied to the 3D window when using the Enable object view mode
visualization mode.
Note that this option is identical to the one provided in the Graphic Properties toolbar.
Version 5 Release 13
Infrastructure
Page 260
Part Body
You can apply a rendering style to each body composing the part body and this, even
if a body is embedded into another one.
All the elements gathered in the part body or in the body inherit the rendering style
of their parent. As a consequence, you cannot apply a rendering style to the child
solid features (such as a pad or a fillet)
Geometrical Set
You can apply a rendering style to the Geometrical Set as a whole and to each child
feature in the graph ; each feature may be applied a different rendering style. If no
rendering style has been applied to a feature, this feature will be displayed with the
rendering style applied to the father element or, if no father exists, with the
rendering style of the viewer used to display the feature
Shape Body
The behavior is identical to the one of the Geometrical Set except that different child
features may share the same visual representation and therefore, the same
rendering style.
By default, no rendering style is applied but you can choose among the following styles:
No Specific Rendering
This is the default mode. You can use it to remove a rendering style that has been
previously applied
Transparent
Displays the selected element in transparent mode:
Version 5 Release 13
Infrastructure
Wireframe
Displays the selected element in wireframe mode:
Shading
Displays the selected element in shading mode:
Page 261
Version 5 Release 13
Infrastructure
Some applications, Drafting for example, do not display all available tabs in the Edit>Properties dialog box when it is first displayed. Click the More... button to access any
other tabs. A progress bar will appear:
You can either wait until more properties are displayed or interrupt the command by
clicking the Cancel... button. If interrupted, the Properties dialog box returns to its
original state, i.e. as if the More.... button had not been clicked.
In both cases (interruption or not), the More... button then disappears:
Page 262
Infrastructure
Version 5 Release 13
Page 263
Infrastructure
Version 5 Release 13
Page 264
when changing the color of an object inheriting the color from its product via the Properties
dialog box, this change is not displayed on the object. You need to deactivate the inheritance for
the product to see the result
when changing the color of an object inheriting the color from its product using the Graphic
Properties toolbar, this modifies the product color (and not the one of the object).
1. To display the Graphic Properties toolbar (which is hidden by default), select the View>Toolbars->Graphic Properties command.
The Graphic Properties toolbar is displayed:
The capture below illustrates the relation between the displayed boxes and the display
they impact:
Version 5 Release 13
Infrastructure
Page 265
icon lets you apply graphic properties from one object to another. To
do so:
select the object(s) on which you want to apply new graphic properties
select the reference object, i.e. the object from which you will copy the graphic
properties.
When you modify one of the graphic properties for a pad, the new graphic property
supersedes the one applied to the father element (i.e. the Part Body). The pad will no
more inherit the Part Body graphic properties, even if you reset the modified graphic
property to its original state.
To reset the inheritance from the father to the children, set the modified graphic property
to "Auto" in the Graphic Properties toolbar.
3. Choose the color to be applied to the object using the Fill color box.
A list appears containing:
the Automatic option (which lets you make the color standard)
a list of sixteen default colors from the color palette, ready for use
Version 5 Release 13
Infrastructure
Page 266
The No Color option lets you apply a color onto a face without having to modify the
product color. To do so:
a.
b.
c.
d.
5. To access more colors, or to create your own colors, click the More Colors... option at the
bottom of the list to access the color palette.
Refer to Displaying and Editing Graphic Properties for detailed information.
Version 5 Release 13
Infrastructure
Page 267
Alpha Blending: similar to looking through clear glass. You can choose a value
between 1 and 255
Screen Door: similar to viewing an object through a mesh or a screen. This mode lets
you use only two values:
between 1 and 255 (1 pixel out of 2 is represented, which gives the illusion that
the transparency has been set to "50%" or "127/255").
with the Performance tab using the Tools->Options command. For more information,
refer to "Customizing Performance Settings".
8. Set edge line type and weight using the appropriate combo boxes.
If you have selected a line or a curve, you can set the line and curve color as well as the
linetype and weight the same way as for parts.
9. Set the point symbol you want to use to represent the point using the appropriate combo
box.
You can set the point color in the same way as for parts.
Version 5 Release 13
Infrastructure
Page 268
10. The Rendering Style combo box lets you select the rendering style to be applied to the
selected object, provided that is supports rendering style attributes.
By default, no specific style is applied. You can choose among the following styles:
Auto
Transparent
Wireframe
Shading
11. Use the pulldown list to choose among the list of named layers and assign the chosen layer
to the selected objects: None, 0 General, 1-999 (according to the number of layers in the
Layer list).
For more information, refer to "Assigning Objects to Layers".
The Layer box indicates the number of layers the selected objects are assigned to.
Otherwise (when nothing is selected) it indicates the current layer.
Refer Displaying and Editing Graphic Properties for detailed information.
icon to access the Wizard. Refer to Using the Graphic Properties Wizard for
detailed information.
Version 5 Release 13
Infrastructure
Page 269
This task shows you how to access and use the Graphic Properties Wizard. This wizard is a viewer that displays the graphic
properties of the selected object and its parents and thus, makes it easier to identify which parent each object's graphic property
derives from.
Note: The Wizard cannot be used for Drafting documents.
1. To display the Graphic Properties toolbar (which is hidden by default), select the View->Toolbars->Graphic Properties
command.
The Graphic Properties toolbar is displayed:
For detailed information on this toolbar, refer to Using the Graphic Properties Toolbar.
2. In the specification tree or geometry area, select the item on which you want information. In our example, we will select
PartBody (in Part1.2).
3. Click the
4. Use the combo box displayed in the bottom right part of the Wizard window to select the graphic property on which you
want information ("Show" in our example):
If did not select any item prior to launching the Wizard, the Wizard window will display "No Selection" and will let you
select an element from the specification tree or the geometry area.
Infrastructure
Version 5 Release 13
Page 270
Version 5 Release 13
Infrastructure
Page 271
5. Click the icons available in the Graphic Properties icon box or use the Graphic Properties combo box to select the graphic
property on which you want more information.
Note: when no information is found on a graphic property, "Not Defined" is displayed next to the object name.
The Graphic Properties icon box lets you use the following icons (you can click the desired icon on the picture below to
access the corresponding description):
Color: indicates the color of each object in the path (equivalent to "Color" in the combo box) in the
box displayed to the right.
In our example, the color of PartBody displayed in the global result area is "green":
Opacity: displays the opacity value applied to each item in the path (equivalent to "Opacity" in the
combo box). The background color also reflects the opacity. The lighter the color, the less opaque the
object:
LineType: displays the line type applied to edges (equivalent to "LineType" in the combo box). The
boundary of the box displayed to the right of each item is drawn according to the associated type as
shown by the following two examples:
Thickness: displays the line thickness (equivalent to "Thickness" in the combo box). When a
thickness has been defined, a line is displayed next to the object along with the corresponding value in
millimeters. The higher the value, the thicker the line:
Infrastructure
Version 5 Release 13
Symbol: displays the symbol used to represent the object, if any (equivalent to "Symbol" in the
combo box):
Show: indicates whether an object is displayed in Show or NoShow mode (equivalent to "Show" in
the combo box). These two different modes are identified by two different background colors and two
different pictures:
Pick: indicates whether an object can be selected or not (equivalent to "Pick" in the combo box).
These two different modes are identified by two different background colors and two different
pictures:
Layer: indicates which objects are visible or invisible (equivalent to "Layer" in the combo box). To
assign objects to layers, refer to Assigning Objects to Layers and to learn how to make objects visible
or invisible, refer to Using Visualization Filters.
The layer to which each object is assigned is identified by a different background color and the layer
number is displayed opposite the visibility information:
As you can see it in the above picture, no layer number is indicated for the global result.
LowInt: Indicates whether a low-intensity color has been applied to an object or not (equivalent to
"Low Intensity" in the combo box).
The default low-intensity color is "dark green" but you can change it in the Tools->Options->General>Display->Visualization tab.
When a low-intensity color has been applied, it is displayed in background. Otherwise, there is no
background color and the state is "Normal":
Page 272
Infrastructure
Version 5 Release 13
The Wizard window is automatically updated to display the graphic properties of the selected object.
Page 273
Version 5 Release 13
Infrastructure
Page 274
Measuring Objects
This task introduces the Scale Planes command which lets you measure objects directly on screen with a 1:1
scale (i.e. real size display) or with a lower/greater scale according to your needs.
Note: Perspective is related to the size of the object being viewed and the distance from the object
to the observer.
The Scale Planes command is also accessible via the Commands tab of the Customize dialog box.
For more information on customizing commands, refer to Customizing Command Properties in this
guide.
Infrastructure
Version 5 Release 13
Page 275
As shown in the picture, the scale plane is represented by a transparent grid which lets you visualize
the object displayed behind.
This grid is divided into squares, each of them being equal to a tenth of the default Width and Height
values indicated in the Scale Plane Properties dialog box.
Version 5 Release 13
Infrastructure
Page 276
6. Adjust the viewpoint so that the object is correctly snapped on the grid. To do so, follow the instructions
below according to the view you selected:
if you are working in a parallel view (i.e. cylindrical projection), running the Scale Planes
command moves the user viewpoint so that the object is automatically displayed in the selected
scale.
You just have to translate the viewpoint horizontally or vertically to align the object on the grid:
The zoom mode is locked when running the Scale Planes command in a parallel view.
if you are working in a perspective view (i.e. conical projection), zoom progressively until the
object is displayed in front of the grid then translate the object as necessary to align it with the
grid and facilitate the measurement:
Infrastructure
Version 5 Release 13
Page 277
Let`s take a look at our model which has been correctly positioned.
We are now able to measure the hole diameter:
4 squares of 10mm each = 40mm
according to the scale values defined in step 3.
Note: Translating or zooming the object does not affect the grid size since its dimensions are defined
in the Scale Plane Properties dialog box.
Infrastructure
Version 5 Release 13
7. Key in c:Scale Planes once again in the PowerInput field to exit the command.
Page 278
Infrastructure
Version 5 Release 13
Page 279
Infrastructure
Version 5 Release 13
Page 280
You can use a graphic manipulator referred to as the 3D compass to perform a certain number of
manipulations on certain objects created and managed by certain applications (for example, Product
Structure, Assembly, FreeStyle Shaper, DMU Navigator, etc.).
You can also use the compass to manipulate viewpoint representations ("cameras") used to capture
viewpoints and materials (in P2 mode using the Real Time Rendering application).
The 3D compass is always active. You can show and hide the compass by toggling the View>Compass command. Note that hiding the compass does not deactivate it.
The compass is displayed by default in the top right corner of the document.
The letters X, Y and Z represent the axes. The Z axis is the default orientation. The point close to the Z
axis is the free rotation handle used for freely rotating the compass and the document's objects at
the same time.
The red square is the compass manipulation handle you use to drag the compass and place on
objects to be manipulated. You can also rotate objects around this point.
The base of the compass, the XY plane, is the privileged plane. This concept is not useful when
simply using the Select command. It is only useful when using application commands that use
manipulators which require working planes (for example, when creating planar patches or modifying
control points using the FreeStyle Shaper).
Infrastructure
Version 5 Release 13
Page 281
manipulate viewpoints using the mouse and compass: this is just another way of panning and
rotating all objects in the document at the same time
move and rotate non-constrained objects using the mouse and compass
Moving objects in this context means physically moving them so as to redefine their spatial
coordinates with respect to the absolute axis system in a document. Moving should not be confused
with panning an object, which simply modifies the viewpoint from which you look at an object: the
position of the object in the document remains the same.
move and rotate non-constrained objects using the Edit... contextual command
set the plane in which you move objects parallel to the screen
use the privileged plane as a working plane in applications such as the FreeStyle Shaper
application, for example, when manipulating control point manipulators on planar patches and
curves.
If you are also using the Assembly application, which provides a number of advanced positioning tools,
consider the 3D compass as a preliminary tool for positioning components in space prior to fine
positioning of those components within the assembly.
If you are using a space mouse, you can also manipulate the 3D compass when it is in the scene,
otherwise the space mouse lets you manipulate the viewpoint.
Infrastructure
Version 5 Release 13
Page 282
Infrastructure
Version 5 Release 13
Page 283
rotate in a plane
pan in a plane
Note: the 3D compass and the absolute axis at the bottom right of the document are aligned identically by
default.
1. Rotate to see how the objects, 3D compass and the absolute axis are rotated together.
Page 284
Version 5 Release 13
Infrastructure
. You will also notice that the following parts of the compass are
The cursor shape changes to:
highlighted as you point to them:
compass axes
When you drag any part of the compass, the cursor shape changes to:
If you checked the option "Display manipulation bounding box" in the Visualization tab via the
Tools->Options command, a box will appear around the selected object if it can be manipulated
by the compass.
Infrastructure
Version 5 Release 13
Page 285
Infrastructure
Version 5 Release 13
Dragging close to the red square rotates the objects quickly; dragging further away from the red
square rotates more slowly. The rotation axis used is the same as that used when rotating using
the other rotation tools.
For example, dragging to the right the plane subtended by the arc ZY moves the objects on the
same plane like this:
Page 286
Version 5 Release 13
Infrastructure
Page 287
Select the View->Render Style->Perspective command to perceive the effect more easily.
6. Drag the free rotation handle (the point at the top of the compass) to rotate the objects freely like
this:
Version 5 Release 13
Infrastructure
Page 288
7. Point to either X, Y or Z to highlight the letter, then click the letter to make that axis perpendicular to
your eye-point.
Clicking the same letter reverses the point from which you view the objects. For example, clicking
the letter Z lets you view the document along the Z axis like this:
Infrastructure
Version 5 Release 13
Page 289
Version 5 Release 13
Infrastructure
Page 290
Note that object manipulation using the compass is also available for P1 users, except for those working in Part
Design and Generative Shape Design workbenches.
1. Point to the compass manipulation handle (the red square located on the privileged plane at the base of
the compass).
The axis is the Z axis by default. The square base represents the current privileged plane.
The privileged plane is realigned with one of the planes on the object and is snapped to the object.
Infrastructure
Version 5 Release 13
Page 291
3. Release the mouse button to drop the compass onto the object.
Dropping the compass onto the object snaps the compass to the object and selects it. The compass
changes color; the default color is light green. You set this color using the Handles option in the
Visualization tab via the Tools->Options command.
In our example, drag and drop the compass onto the part. One possible result could look like this:
Note that, in our example, the compass could also be oriented differently, depending on where you
drop the compass.
Note that the X axis is now w|x, the Y axis u|y, and the Z axis v|z; an extra letter is added is this way
to indicate that the axis in question is no longer oriented the same way as the absolute reference axis
in the bottom right corner.
Once the compass is snapped to the object, you can begin to manipulate the object. You do so by
simply dragging certain parts of the compass, exactly as you do to manipulate viewpoints as
explained in "Manipulating Viewpoints Using the Mouse and Compass". This time, the object (and not
the viewpoints) will be manipulated.
Version 5 Release 13
Infrastructure
Page 292
4. In our example, drag the X axis of the compass to move the part to the other side of the block, then
drop to reposition the part.
While dragging, the compass and a representation of the part are moved.
The distance from the origin of the axis (the red square or compass manipulation handle located on
the compass base) is displayed in real time as you move the object. The value displayed will be
preceded by the "-" sign (negative) if you move the object in the direction opposite to the compass
orientation.
The translation increments are preset: you cannot reset the translation increments displayed.
When you drop the compass, the pad will now be positioned approximately like this:
Version 5 Release 13
Infrastructure
Page 293
rotate the object in a plane (by dragging one of the compass arcs): the degree of rotation is also
displayed in real time
move the object in a plane (by dragging one of the compass planes): the distance from the origin
to the new location (along both axes in the plane) is displayed in real time
rotate freely about a point on the compass (by dragging the free rotation handle at the top of the
compass)
5. Drag the compass away from the selected object and drop it.
The compass is now disconnected from the object, but maintains its orientation:
Version 5 Release 13
Infrastructure
Page 294
6. To reorient the compass the same way as the absolute reference axis, and restore the compass to its
original position in the top right corner of the document, drag and drop the compass onto the absolute
reference axis.
The compass is repositioned at the default position and takes the default orientation:
Infrastructure
Version 5 Release 13
Page 295
To achieve the same effect, you can also press and hold down the Shift key, then drag and drop the
compass. Release the left mouse button before releasing the Shift key.
The View->Reset Compass command also restores the compass to its original position, but does
not restore the default orientation.
If you checked the option "Display manipulation bounding box" in the Navigation tab via the Tools>Options->General->Display command, a box will appear around the selected object if it can be
manipulated by the compass.
Infrastructure
Version 5 Release 13
Page 296
You can then drag any of the edges of the box to move the object in the corresponding direction. Note
also that the bounding box remains oriented the same way as the compass.
You can also align the compass on objects that the compass cannot manipulate: this technique is
useful if you want to detect a direction on the object for manipulating non-constrained objects.
In our example, you could drag the compass onto the pad and align it with one of the pad edges like
this:
Just click the OK button when warned that you cannot move the pad.
You can then select the pad and drag the compass to move the pad in the same direction as the edge
of the pad. This is the ideal solution for manipulating several objects at a time. To do so, select the
first object, then CTRL-click on other objects to add them to your selection.
Infrastructure
Version 5 Release 13
Page 297
reset the position of the compass (and selected object) via its manipulation handle (red square), by
specifying its X, Y and Z coordinates and rotation coordinates with respect to the center of the 3D scene
translate the object (or just the compass) to a new position in increments along the X, Y and Z axes
rotating the object (or just the compass) about the X, Y and Z axes in increments
translate over the distance between two elements (line/edge/plane) you select
rotate through an angle you set, or an angle between two elements (line/edge/plane) you select.
You can only use the Edit... contextual command with the same objects as those with which you can use
the compass (for example, a planar patch).
You need access to a CATIA - P2 FreeStyle Shaper configuration to follow this scenario.
Open the document Manipulators.CATProduct.
1. Drag and drop the compass onto the object, then point to the compass and right-click to display the
3D compass, or double-click the compass to display the contextual menu.
In our example, drag and drop the compass onto the planar patch and right-click:
Infrastructure
Version 5 Release 13
Page 298
2. Select the Edit... command to display the Parameters for Compass Manipulation dialog box:
Version 5 Release 13
Infrastructure
Page 299
The Parameters for Compass Manipulation dialog box stays open during manipulation.
Note that the current coordinates of the compass manipulation handle (red square), with respect
to the center of the 3D scene, are displayed in the corresponding fields for the Position option. In
our example, the center of the 3D scene, in this case, is the point of intersection of the 3 planes
located on the pad.
3. In the Coordinates area, select the axis system with respect to which you will edit the coordinates of
the compass. You can select
either the Absolute axis system: allows you to move the part with respect to the absolute axis
system of the product containing the part
or the one of the Active object: allows you to move the part with respect to the object which
is active. To define an object as being "active", just double-click it in the specification tree:
the object will then be highlighted in blue to indicate it is active.
For instance, let's suppose the active object is a part with a local axis system defined as
current: in that case, choosing Active will result in displaying the coordinates of the compass
with respect to the local axis system of the part.
4. Reset the X, Y and Z coordinates of the compass to zero, using the Position option, then click the
"Apply" button.
In our example, because you dropped the compass onto the planar patch, the compass and the
planar patch are moved to the center of the 3D scene as follows:
Page 300
Version 5 Release 13
Infrastructure
5. To translate the compass and planar patch by increments along an individual axis (U, V or W) using
the Increments options, set the translation values for an axis, then click the "up" or the "down"
arrow to translate in forward or reverse direction respectively.
6. To translate an object along a vector derived from two objects you select, click the "Distance" button
in the Measures area and select the two elements.
When you click the "Distance" button, all options and fields in the dialog box are grayed out.
You can select any of the following:
a point
a line
or a plane.
The value for the detected distance is highlighted in the appropriate fields, expressed in the units
of the compass. Note that, depending on the compass orientation, some or all of the X, Y and Z
coordinates may be calculated.
If the first element is a line or a plane, you can then select a second element or enter a distance.
For example, selecting a line implies that you want to translate the object in the direction of the
line, and you can enter the distance for the translation in the Distance field. However, if you just
select the two elements, the distance between the two is displayed in the Distance field, and the
object will be translated over this distance and in the same direction. If the second element is a
plane, the direction of translation is normal to the plane.
button or the
button to the right of the "Distance" option to
Then, click either the
translate the object in the reverse or forward direction.
button or the
Page 301
Version 5 Release 13
Infrastructure
8. To rotate the object through the angle between two elements, click the Measure Angle button and
select the two elements.
You can select a line or a plane. The angle value is displayed in the Angle field.
If the rotation axis is parallel to one of the compass axes, the value is also displayed in the
appropriate Rotation increment field, the 2 other ones being reset to 0.
Bear in mind that you can reset entered increments at any time simply by clicking the
icon.
Once the compass is snapped to the object, you can drag its arcs to translate or rotate the object
according to the increments you entered in the dialog box. When the dialog box is closed, the
increments are kept for the compass and bounding box motions.
When you wish to reset the compass and move it freely according to one direction, access the
Parameters for Compass Manipulation dialog box and set the corresponding value to 0.
Version 5 Release 13
Infrastructure
Page 302
3. Select an object.
In our example, select the planar patch:
Infrastructure
Version 5 Release 13
Note that if a new axis system has been created, selecting it in the geometry area or in
the specification tree will make the compass disappear. To make it re-appear, simply
select any other element in the geometry or in the tree.
Page 303
Version 5 Release 13
Infrastructure
Page 304
When you drop the compass onto an object, this orientation will be kept.
4. To reorient the compass, select the Lock Current Orientation command again.
Infrastructure
Version 5 Release 13
Page 305
1. In our example, drag and drop the compass onto the part like this:
Infrastructure
Version 5 Release 13
Page 306
Version 5 Release 13
Infrastructure
Page 307
To learn how to define a new three-axis system locally and how to set is as current, refer
to Axis System.
The result could look the following way, for instance:
Infrastructure
Version 5 Release 13
Page 308
Infrastructure
Version 5 Release 13
Page 309
If no axis system has been defined by the user, the compass is oriented according to the
global axis system displayed in the bottom right corner of the screen.
Infrastructure
Version 5 Release 13
Page 310
This task explains how to swap to a different privileged plane (XZ or YZ).
This command is not useful when simply using the Select command. It is only useful when using application commands that use
manipulators which require working planes, for example, when creating planar patches or modifying control points using the FreeStyle
Shaper.
You need access to a CATIA - P2 FreeStyle Shaper configuration to follow this scenario.
Open the document Manipulators2.CATProduct.
icon: control points appear on the patch, and the Control Points dialog box appears.
Infrastructure
Version 5 Release 13
Page 311
Note that the manipulators, by default, are oriented in the same plane as the privileged plane of the compass, in the XY plane.
5. Drag the compass onto the patch and align it in the following direction:
Infrastructure
Version 5 Release 13
7. Drag the compass away from the patch and drop it into empty space (in other words, not on another object).
The compass keeps the same orientation:
Page 312
Infrastructure
Version 5 Release 13
Page 313
Do not be confused by the fact that the compass axes do not change: the compass is reoriented to make the YZ the privileged
plane, even though the axes on the compass still indicate that the privileged plane is still XY.
Version 5 Release 13
Infrastructure
Page 314
This command is not useful when simply using the Select command. It is only useful when using application commands that use
manipulators which require working planes, for example, when creating planar patches or modifying control points using the FreeStyle
Shaper.
You need access to a CATIA - P2 FreeStyle Shaper configuration to follow this scenario.
Open the document Manipulators2.CATProduct.
icon.
Control points appear on the patch, and the Control Points dialog box appears.
Infrastructure
Version 5 Release 13
Page 315
Note that the manipulators, by default, are oriented in the same plane as the privileged plane of the compass, in the XY plane.
5. Drag the compass onto the patch and align it in the following direction:
Infrastructure
Version 5 Release 13
Page 316
The compass has now detected the orientation of the patch. Note that the manipulators, by default, are oriented in the same
plane as the privileged plane of the compass.
7. Drag the compass away from the patch and drop it into empty space (in other words, not on another object).
The compass keeps the same orientation:
Infrastructure
Version 5 Release 13
Page 317
Infrastructure
Version 5 Release 13
Page 318
Infrastructure
Version 5 Release 13
Measuring
Measuring Distances and Angles between Geometrical Entities and Points
Measuring Properties
Measuring Inertia
Page 319
Version 5 Release 13
Infrastructure
Page 320
Minimum distance and, if applicable angles, between points, surfaces, edges, vertices and entire products
Or,
Maximum distance between two surfaces, two volumes or a surface and a volume.
Insert the following sample model files: ATOMIZER.model, BODY1.model, BODY2.model, LOCK.model, NOZZLE1.model,
NOZZLE2.model, REGULATION_COMMAND.model, REGULATOR.model, TRIGGER.model and VALVE.model.
They are to be found in the online documentation filetree in the common functionalities sample folder cfysa/samples.
Restriction: Neither Visualization Mode nor cgr files permit selection of individual vertices.
Note: In the No Show space, the Measure Between command is not accessible.
icon.
In DMU, you can also select Analyze-> Measure Between from the menu bar.
The Measure Between dialog box appears.
Version 5 Release 13
Infrastructure
Page 321
You can also measure distances and angles with respect to a local V5 axis system.
A Keep Measure option in the dialog box lets you keep the current and subsequent measures as features. This is
useful if you want to keep the measures as annotations for example.
Some measures kept as features are associativeand can be used to valuate parameters or in formulas.
In the Drafting workbench, measures are done on-the-fly. They are not persistent. This means that they are
not associative and cannot be used as parameters.
A Create Geometry option in the dialog box lets you create the points and line corresponding to the minimum distance
result.
A Customize... option opens the Measure Between Customization dialog box and lets you set the display of measure
results.
In DMU, the Measure Thickness command is also accessible from the Measure Between dialog box. For more
information, see the DMU Space Analysis User's Guide.
Version 5 Release 13
Infrastructure
Page 322
P1-Only Functionality
In P1, the Measure Tools toolbar appears.
This toolbar has two icons:
Measure Dialogs
Exit Measure
Between (default type): measures distance and, if applicable, angle between selected items.
Chain: lets you chain measures with the last selected item becoming the first selection in the next measure.
Fan: fixes the first selection as the reference so that you always measure from this item.
3. Set the desired mode in the Selection 1 and Selection 2 mode drop-down list boxes.
Any geometry (default mode): measures distances and, if applicable, angles between defined geometrical entities
(points, edges, surfaces, etc.).
Note: The Arc center mode is activated in this selection mode.
This mode recognizes the axis of cylinders and
lets you measure the distance between two
cylinder axes for example.
Page 323
Version 5 Release 13
Infrastructure
Any geometry, infinite: measures distances and, if applicable, angles between the infinite geometry (plane, line or
curve) on which the selected geometrical entities lie. Curves are extended by tangency at curve ends.
Line
Plane
Curve
The Arc center mode is activated and this mode also recognizes cylinder axes. For all other selections, the
measure mode is the same as any geometry.
Any geometry, infinite
Any geometry
Picking point: measures distances between points selected on defined geometrical entities. Always gives an
approximate measure.
Version 5 Release 13
Infrastructure
Page 324
In the DMU section viewer, selecting two picking points on a curve gives the distance along the curve between
points (curve length or CL) as well as the minimum distance between points.
Notes:
The minimum distance option must be set in the Measure Between Customization dialog box.
Point only: measures distances between points. Dynamic highlighting is limited to points.
Edge only, Surface only: measures distances and, if applicable, angles between edges and surfaces respectively.
Dynamic highlighting is limited to edges or surfaces and is thus simplified compared to the Any geometry mode. All
types of edge are supported.
Product only: measures distances between products.
Products can be specified by selecting product geometry, for example an edge or surface, in the geometry area or the
specification tree.
Picking axis: measures distances and, if applicable, angles between an entity and an infinite line perpendicular to the
screen.
Simply click to create infinite line perpendicular
to the screen.
Intersection: measures distances between points of intersection between two lines/curves/edges or a line/curve/edge
and a surface. In this case, two selections are necessary to define selection 1 and selection 2 items.
Page 325
Version 5 Release 13
Infrastructure
Geometrical entities (planar surfaces, lines and curves) are extended to infinity to determine the point of
intersection. Curves are extended by tangency at curve ends.
Line-plane
Curve-plane
Curve-curve
Edge limits: measures distances between endpoints or midpoints of edges. Endpoints only are proposed on curved
surfaces.
Center of 3 points arc: measures distances between the centers of arcs defined by 3 points.
To define arc center, click three points on the
geometry.
Note: The resulting measure will always be
approximate.
Coordinate: measures distances between coordinates entered for selection 1 and/or selection 2 items.
4. Set the desired calculation mode in the Calculation mode drop-down list box.
Infrastructure
Version 5 Release 13
Page 326
Exact else approximate (default mode): measures access exact data and wherever possible true values are given. If
exact values cannot be measured, approximate values are given (identified by a ~ sign).
Exact: measures access exact data and true values are given. Note that you can only select exact items in the
geometry area or specification tree.
In certain cases, in particular if products are selected, a warning dialog box informs you that the exact measure could
not be made.
Approximate: measures are made on tessellated objects and approximate values are given (identified by a ~ sign).
Note: You can hide the display of the ~ sign using the Tools -> Options command (General ->
Parameters and Measure -> Measure Tools).
Dynamic highlighting of geometrical entities helps you locate items to click on.
6. Click to select another surface, edge or vertex, or an entire product (selection 2).
A line representing the minimum distance vector is drawn between the selected items in the geometry area. Appropriate
distance values are displayed in the dialog box.
Infrastructure
Version 5 Release 13
Page 327
By default, the overall minimum distance and angle, if any, between the selected items are given in the Measure Between
dialog box.
The number of decimal places, the display of trailing zeros and limits for exponential notation is controlled by the Units
tab in the Options dialog box (Tools ->Options, General ->Parameters and Measure). For more information, see the
Infrastructure User's Guide.
7. Select another selection and, if desired, selection mode.
8. Set the Measure type to Fan to fix the first selection so that you can always measure from this item.
9. Select the second item.
Using the Other Selection... command in the contextual menu, you can access the center of spheres.
11.If necessary, adjust the presentation of the measure:
You can move the lines and text of the measure.
Infrastructure
Page 328
Version 5 Release 13
The Properties command (Graphics tab) lets you change the fill color and transparency as well as the color, linetype and
thickness of measure lines.
Note: You cannot vary transparency properties, the current object is either the selected color or transparent.
12.Click OK when done.
If you checked the Keep Measure option in the Measure
Between dialog box, your measures are kept as features
and your specification tree will look something like this if
measures were made on the active product.
created parallel to the direction defined by the measure and sections entities selected for the measure only. All section
plane manipulations are available.
Note: You may need an appropriate license to access the Sectioning command.
Infrastructure
Version 5 Release 13
Page 329
Maximum distance
Maximum distance from 1 to 2: gives the maximum distance of all distances measured from selection 1.
Note: This distance is, in general, not symmetrical.
Maximum distance: gives the highest maximum distance between the maximum distance measured from selection 1
and the maximum distance measured from selection 2.
Note: All selection 1 (or 2) normals intersecting selection 1 (or 2) are ignored.
Infrastructure
Version 5 Release 13
Page 330
1. Click Customize... and check the appropriate maximum distance option in the Measure Between Customization dialog box,
then click OK.
2. Make your measure:
Infrastructure
Version 5 Release 13
Page 331
Note: All subsequent measures are made with respect to the selected axis system.
4. To change the axis system, click the Other Axis field and select another axis system.
5. To return to the absolute axis system, click to clear the Other Axis checkbox.
6. Click OK when done.
Editing Measures
In addition to editing the presentation of the measure, you can also edit the measure itself and change one of the
selections on which it was based. This is particularly useful in design mode where you no longer have to redo your
measure.
You can also change selections that no longer exist because they were deleted.
1. Double-click the measure in the specification tree or geometry area.
Infrastructure
Version 5 Release 13
Page 332
Version 5 Release 13
Infrastructure
Page 333
Measuring Properties
The Measure Item command lets you measure the properties associated to a selected item (points, edges, surfaces and
entire products).
This section deals with the following topics:
Measuring properties
Measuring in a local axis system
Customizing the display
Editing measures
Create Geometry from measure results
Exact measures on CGRs and in visualization mode
Associative measures
Using measures in knowledgeware
Measure cursors
Insert the following sample model files: ATOMIZER.model, BODY1.model, BODY2.model, LOCK.model, NOZZLE1.model,
NOZZLE2.model, REGULATION_COMMAND.model, REGULATOR.model, TRIGGER.model and VALVE.model.
They are to be found in the online documentation filetree in the common functionalities sample folder cfysa/samples.
Restriction: Neither Visualization Mode nor cgr files permit selection of individual vertices.
Note: In the No Show space, this command is not accessible.
Measuring Properties
This task explains how to measure the properties associated to a selected item.
1.Switch to Design Mode (Edit ->Representations ->Design Mode).
2.Set View -> Render Style to Shading with Edges.
Note: You cannot use this command, if Shading only is selected.
3.
Click the Measure Item
icon.
In DMU, you can also select Analyze -> Measure Item from the menu bar.
The Measure Item dialog box appears.
Version 5 Release 13
Infrastructure
Page 334
By default, properties of active products are measured with respect to the product axis system. Properties of active
parts are measured with respect to the part axis system.
Note: This distinction is not valid for measures made prior to Version 5 Release 8 Service Pack 1 where all measures
are made with respect to the absolute axis system.
You can also measure properties with respect to a local V5 axis system.
The Keep Measure option lets you keep current and subsequent measures as features. This is useful if you want to
keep measures as annotations for example.
Some measures kept as features are associativeand can be used to valuate parameters or in formulas.
In the Drafting workbench, measures are done on-the-fly. They are not persistent. This means that they are
not associative and cannot be used as parameters.
A Create Geometry option in the dialog box lets you create the center of gravity from measure results.
P1-Only Functionality
In P1, the Measure Tools toolbar appears.
This toolbar has two icons:
Measure Dialogs
Exit Measure
4.Set the desired measure mode in the Selection 1 mode drop-down list box.
Any geometry (default mode): measures the properties of the selected item (point, edge, surface or entire
product).
Point only: measures the properties of points. Dynamic highlighting is limited to points.
Edge only: measures the properties of edges. All types of edge are supported.
Infrastructure
Version 5 Release 13
Page 335
Thickness (DMU only): measures the thickness of an item. For more information, see the appropriate task in the
DMU Space Analysis User's Guide.
The Measure Item command lets you access the radius of an exact cylinder or sphere.
Using the Other Selection... command in the contextual menu, you can access the axis of a cylinder as well as the
center of a sphere to, for example, measure between two cylinder axes.
5.Set the desired calculation mode in the Calculation mode drop-down list box.
Exact else approximate (default mode): measures access exact data and wherever possible true values are given.
If exact values cannot be measured, approximate values are given (identified by a ~ sign).
Exact: measures access exact data and true values are given. Note that you can only select exact items in the
geometry area or specification tree.
In certain cases, in particular if products are selected, a warning dialog box informs you that the exact measure
could not be made.
Approximate: measures are made on tessellated objects and approximate values are given (identified by a ~
sign).
Note: You can hide the ~ sign using the Tools -> Options command (General ->Parameters and
Measure ->Measure Tools).
Infrastructure
Version 5 Release 13
Page 336
The dialog box gives information about the selected item, in our case a surface and indicates whether the result is an
exact or approximate value. The surface area is also displayed in the geometry area.
The number of decimal places, the display of trailing zeros and limits for exponential notation is controlled by the Units
tab in the Options dialog box (Tools-> Options, General-> Parameters and Measure). For more information, see
the Infrastructure User's Guide.
7.Try selecting other items to measure associated properties.
Infrastructure
Version 5 Release 13
Page 337
The Properties command (Graphics tab) lets you change the fill color and transparency as well as the color, linetype
and thickness of measure lines.
Note: You cannot vary transparency properties, the current object is either the selected color or transparent.
9.Click OK when done.
If you checked the Keep Measure option in the Measure Item dialog box,
your measures are kept as features and your specification tree will look
something like this if properties of the active product were measured.
Infrastructure
Version 5 Release 13
Page 338
1.Click Customize... in the Measure Item dialog box to see the properties the system can detect for the various types of
item you can select. By default, you obtain:
Edges
The system detects whether the edge is a line, curve or arc, taking model accuracy into account and displays the
properties as set in the Measure Item Customization dialog box.
Note: If the angle of an arc is less than 0.125 degrees, only the arc length is displayed in the geometry
area. The angle and radius are not displayed.
Surfaces
Center of gravity: The center of gravity of surfaces is visualized by a point. In the case of non planar surfaces,
the center of gravity is attached to the surface over the minimum distance.
Plane: gives the equation of a planar face. The equation of a plane is: Ax + By + Cz + D=0.
Perimeter: Visualization mode does not permit the measure of surface perimeter.
Infrastructure
Page 339
Version 5 Release 13
2.Set the properties you want the system to detect, then click Apply or Close.
The Measure Item dialog box is updated if you request more properties of the item you have just selected.
3.Select other items to measure associated properties.
Note: All subsequent measures are made with respect to the selected axis system.
4.To change the axis system, click the Other Axis field and select another axis system.
5.To return to the main axis system, click to clear the Other Axis checkbox.
6.Click OK when done.
Editing Measures
In addition to editing the presentation of the measure, you can also edit the measure itself and change the selection
on which it was based. This is particularly useful in design mode where you no longer have to redo your measure.
You can also change selections that no longer exist because they were deleted.
1.Double-click the measure in the specification tree or geometry area.
Infrastructure
Version 5 Release 13
Page 340
Version 5 Release 13
Infrastructure
Page 341
Measuring Inertia
The Measure Inertia command lets you measure:
icon.
In DMU, you can also select Analyze -> Measure Inertia from the menu bar.
Version 5 Release 13
Infrastructure
Page 342
The Measure Inertia dialog box appears. By default 3D inertia properties are measured.
The Measure 2D Inertia icon lets you measure 2D inertia properties of plane surfaces.
A Keep Measure option in the dialog box lets you keep current and subsequent measures as
features. Some measures kept as features are associative and can be used as parameters.
In the Drafting workbench, measures are done on-the-fly. They are not persistent. This
means that they are not associative and cannot be used as parameters.
A Create Geometry option lets you create the center of gravity and the axis system for principal
axes in a part from inertia results.
A Customize... option lets you define what will be computed and displayed in the dialog box.
Note: When you move the cursor over the geometry or specification tree, its appearance changes
Selecting Items
In the geometry area, you can select individual faces and edges on cgr files and in Visualization
mode.
Ctrl-click in the geometry area or the specification tree to add other items to the initial selection.
Drag (using the left mouse button) to select items using the bounding outline.
Items must be completely inside the bounding outline; if not, they will not be selected.
(P2 only) Use the Group command to make your multiple selection.
Notes:
Only items of the same type can be included in a multiple selection or a bounding
outline; you cannot mix volumes and surfaces.
Inertia measures made on a multiple selection of items are not associative.
Infrastructure
Version 5 Release 13
Page 343
The Dialog Box expands to display the results for the selected item.
The measure is made on the selection, geometry, assembly or part. To measure the inertia of
individual sub-products making up an assembly and see the results in the document window, you
must select the desired sub-product.
In our example, the item selected has no sub-products.
Version 5 Release 13
Infrastructure
Page 344
The dialog box identifies the selected item and indicates whether the calculation is exact or
approximate:
In Design mode, measures access exact data and wherever possible true values are given. Note
that it is possible to obtain an exact measure for most items in design mode.
In Visualization mode, measures are made on tessellated items and approximate values are
given.
In addition to the center of gravity G, the principal moments of inertia M and the matrix of inertia
calculated with respect to the center of gravity, the dialog box also gives the area, volume (volumes
only), density and mass of the selected item.
You can also compute and display the principal axes A. To do so, you must first activate the
appropriate option in the Measure Inertia Customization dialog box.
The density is that of the material, if any, applied to a product, part or part body:
If no density is found, a default value is displayed. You can, if desired, edit this value. If you do
so, all the other inertia values are re-calculated. The default value is 1000 kg/m3 for volumes
and 10 kg/m2 for surfaces.
If sub-products or part bodies have different densities, the wording Not uniform is displayed.
Notes:
You can access the density of parts saved as CGR files and opened in visualization mode. This
functionality is available in both a part and a product context.
To do so:
Select the Save density in cgr option in the Meaure Tools tab (Tools ->Options ->General >Parameters and Measure).
Open a part to which material has been applied and save as CGR type.
The density is stored in the CGR file.
Important: The material must be applied to the part node. If materials are applied to part
bodies, no density is saved.
Close the Part document.
Open the CGR file or switch to DMU Space Analysis and insert the part saved as CGR, then
Version 5 Release 13
Infrastructure
Page 345
You must be in design mode to access the density of part bodies to which materials have been
applied.
Unless specified otherwise, material inheritance is taken into account.
Density is a measure of an item's mass per unit volume expressed in kg/m3; surface density is
a measure of an item's mass per unit area expressed in kg/m2.
The number of decimal places, the display of trailing zeros and limits for exponential notation is
controlled by the Units tab in the Options dialog box (Tools ->Options, General ->Parameters
and Measure).
In the Geometry Area, axes of inertia are
highlighted and a bounding box parallel to the
axes and bounding the selected item also
appears.
Color coding of axes:
3. Click Customize... to customize the inertia computation and define what will be exported to the text
file.
4. Click OK when done.
If you checked the Keep Measure option in
the Measure Inertia dialog box, your
measures are kept as features and your
specification tree will look something like this.
Some measures kept as features are
associative and can be used as parameters.
You can write a macro script to automate your task. See Space Analysis on the Automation
Documentation Home Page.
Version 5 Release 13
Infrastructure
Inertia equivalents
Principal axes
3. Click Apply or OK in the Measure Inertia Customization dialog box when done.
Page 346
Infrastructure
Version 5 Release 13
Page 347
Version 5 Release 13
Infrastructure
Page 348
2. Drag the Edge Fillet icon from the toolbar onto a face of the pad.
As soon as you point at the pad face, the face is highlighted and the pointer changes to this shape
:
Infrastructure
Version 5 Release 13
Page 349
Infrastructure
Version 5 Release 13
Page 350
The drag and drop method of running commands is not available everywhere: refer to your workbench
documentation for more details.
Version 5 Release 13
Infrastructure
Page 351
You will select a fillet and copy it to another location on the same part.
Infrastructure
Version 5 Release 13
Page 352
3. Press and hold down the Ctrl key and drag the fillet to another edge on the part.
As soon as you point at the pad face, the face is highlighted and the pointer changes to this shape:
Infrastructure
Page 353
Version 5 Release 13
You can also move the fillet, instead of copying it. To do so, simply drag the fillet to the new
location. When you drag the fillet, the following symbol appears:
In certain cases, an object may be copied without pressing and holding down the Ctrl key before
dragging, when you were expecting the object to be moved. In this case, you will be informed that
a copy is being performed (and not a move) by the appearance of the
symbol. This is
typically the case when you attempt to drag an object created in one context (in one workshop)
onto an object created in another context (workshop). So, within the same document window, the
move is only allowed if the object onto which you drop your object can be edited in the current
context (workshop). For example, you cannot drag (move) a part onto a line in a sketch: the part
and the sketch were created in different workshops.
The drag and drop method of running commands is not available everywhere: refer to your
workbench documentation for more details.
Infrastructure
Version 5 Release 13
Printing Documents
About Printing, Capturing Images and the Album
Printing a Document Quickly without Customizing Print Settings
Previewing Documents Prior to Printing
Customizing Print Settings Before Printing Your Documents
Printing To a File
Printing Multi-Documents
Printing in Batch Mode
Page 354
Infrastructure
Version 5 Release 13
Page 355
you can print documents, capture and print images directly from the Capture toolbar, or print
images from the album
you can preview documents prior to printing, or preview images in the album
you can save images to other formats using the Capture toolbar or the album
you can copy images to the clipboard using the Capture toolbar or the album.
The fact that these functions are shared make it easy to use the print, capture and album functions
together.
For more information about capturing images and using the album, refer to "Capturing and
Managing Images for the Album".
Infrastructure
Page 356
Version 5 Release 13
The current document is sent to your default printer using the current print settings.
Version 5 Release 13
Infrastructure
Page 357
1. Select the File->Print... command (or the CTRL+P keyboard shortcut) to display the Print dialog box:
Version 5 Release 13
Infrastructure
Page 358
and zooming commands inside the Print Preview window, or select the
You can also preview the document size in real size by zooming.
To zoom, press and hold down the middle mouse button in the Print Preview window, then click the left mouse button
and drag (still holding the middle mouse button down). Zoom up or down to increase or decrease the document size;
the percentage of the real size is displayed top right as you zoom. For example, if you want to display the document
at its real size, zoom to reach 100%.
The Preview window is also available to preview images:
Infrastructure
Version 5 Release 13
Page 359
You can only print a document if a default printer has been set up. On Windows, you print using the default printer declared
by your Windows system administrator. However, on UNIX, you can only print a document if a default printer has been set
up using the File -> Printer Setup... command, as explained in Setting Up Your Printers on UNIX and Windows.
1. Select the File->Print... command (or the CTRL+P keyboard shortcut) to display the Print dialog box.
The type of printer you choose determines the default settings in the dialog box:
The Print window is also available via the Print icon in the Tools->Image->Capture... command and the Tools>Image->Album... command.
Version 5 Release 13
Infrastructure
Page 360
The area to the right is a preview area displaying a shaded rectangle representing the size of the image to be
printed, using the default paper format with the default margins. The image size matches the real size of the
geometry area in your document window, with respect to the selected paper format. Any changes you make to
page orientation, page setup (paper format, paper margins), image scale and position are instantaneously
displayed in this area.
Resizing the document window resizes the image accordingly. You can also resize the image by dragging the image
handles (using the left mouse button). The proportional relationship between image width and height is always
maintained. Note that these handles are not available if you check the Fit in Page option (the default setting).
2. Select a printer, or check the Print to file check box and enter the name of a file. Refer to "Printing To a File" for more
information.
Note: when selecting a printer on Windows, you can use the printers provided by Dassault Systmes, these
printers being managed with dedicated plot configuration files. Dassault Systmes Printer Manager is part of the
Version 5 Windows environment, combined with the native Microsoft printer manager.
3. You can use the combo box displayed next to the Printer Name field to filter the list of printers according to groups
that have been previously defined in the Printers tab.
To do so, just select a group in the combo box. The printer list to the right is automatically updated and displays
only the printers included in the selected group:
Note: "General" is the default value and displays all the printers set up by your administrator.
4. In case you wish to set up your printer, click the Properties... button to open the printer properties dialog box. The
look of the dialog box will change according to the driver. Just modify the desired parameters then click OK to
validate.
In case the driver is provided by Dassault Systmes, clicking the Properties... button will display the Printer
Properties dialog box described in Adding a Printer.
Infrastructure
Version 5 Release 13
Page 361
To scale the image, enter the scale percentage or use the scale spin box.
Whichever method you use, the scale field and the image width and height are updated:
Infrastructure
Version 5 Release 13
Page 362
The No Fitting option leaves the document to be printed to its original size, i.e. a scale 1:1.
The Fit to option lets you set the Scale of the image. You can specify the distance from the Left and Bottom
margins as well as the image dimensions in the Width and Height fields (changing Width automatically updates
Height, and inversely, in order to keep ratio constant).
Note: any modification to the Scale, Width or Height automatically impacts simultaneously these three
parameters.
7. Click the Page Setup... button to display the Page setup dialog box, and click OK when you have finished.
Infrastructure
Version 5 Release 13
Page 363
You can:
Note: the "Use Image Format" option is relevant for CATDrawing documents only. Refer to Printing MultiDocuments for detailed information on this option.
To set the paper format, select the format from
the Name list. If you set a new format, the
image of the paper format and the image to be
printed are resized accordingly. If the format
selected is incompatible with the printer
currently selected, a message will inform you
that the format should not exceed the dimension
for the printer. However, this does not prevent
you from setting the paper format.
In our example, the first image uses the A4 ISO
format, and the second the A3 ISO format:
The new paper format and corresponding page size are displayed in the Position and Size option box.
Best Rotation: used in conjunction with the Fit in Page option, scales the image up to the largest size which still
fits into the current paper format
Rotation: 90
Rotation: 180
Rotation: 270.
Version 5 Release 13
Infrastructure
Page 364
Document Area: this option is relevant for .CATDrawing documents only. Refer to Printing Multi-Documents.
10. Click the Options... button to access the Options dialog box and set the Color options determining the type of color
output.
Monochrome.
The gamma factor (between 0.1 and 5.0). A gamma factor of 0.1 produces a dark image, whereas a factor of 5.0
produces a lighter image.
Check the Print white vectors as black check box if you want to print white vectors as black on the resulting
printout.
11. Click the Banner tab and set the banner options:
if you want to show a banner on the printed output, use the banner field to print information about the current
print job in the banner ; this field contains the $USER, $DATE and $TIME variables which, by default, print
your username, and the current date and time in the banner at the bottom of the printed output. This field is
editable: you can delete the variables if required and replace them with a text of your choice
Position: setting Position to None removes the banner ; you can also position it Top Horizontal, Bottom
Horizontal, Left Vertical or Right Vertical
Insert logo: check this check box if you want to insert a graphic logo in the banner, and select the button to
navigate in your file system and select the graphic file to be used as the banner.
Infrastructure
Version 5 Release 13
Page 365
The banner option is also available when using the Generative Drafting application.
12. Click the Various tab and set the various options.
Set the Rendering Quality factor which determines the quality of printed output:
Low (screen): the quality of the printed output matches the screen resolution
Medium
High
Custom: selecting this factor lets you define precisely the print quality by indicating the desired dpi value.
The maximum value you can enter is 680 dpi for A4 format and 170 dpi for A0 format.
The higher the setting, the longer the print time, the larger the print file, the higher the image quality. This option
does not impact print previewing.
Note: You can also choose to scale or not the text to be printed by checking or unchecking the text Scaling option.
Infrastructure
Version 5 Release 13
Page 366
No thickness.
Flat
Square
Round.
13. Check the Tiling option if you want to tile the image and print it on several pages.
Once the Tiling option is checked, you can define more precisely the tiling options for your image by clicking the
Define... button to open the following window.
Infrastructure
Version 5 Release 13
Tile Count lets you specify the number of tiles to be used to cut the image horizontally or vertically (enter the
desired number in the corresponding field)
Paper overlap enables you to define the horizontal and vertical paper overlap using the spin boxes
Page 367
Position tiles lets you indicate the position of the tile on the paper by entering its coordinates in the "x" and "y"
fields. You can also specify the tile size by entering its dimensions in millimeters in the "width" and "height"
fields
The Tile Outline Printout checkbox enables you, when activated, to print the outline of each tile.
Version 5 Release 13
Infrastructure
Page 368
Activating the Remove Tile Mode grays all the fields displayed to the left. When the tiles have been removed, click
the Selection Mode icon
14. Select OK successively in each dialog box to confirm all your print settings then in the Print Dialog box click:
Apply to print the document without closing the Print dialog box.
Each time you print a document, a log output file is generated. The traces contained in the file give you
information on the printing date and time, the user name, the log file name, the printer name along with the print
mode (i.e. to a file or a device).
By default, this file is named Print.log and is located in a temporary directory:
C:\Temp\Print.log
/tmp/Print.log
(on Windows)
(on UNIX)
However, the default location and name may be modified by your administrator using the CATPRINTLOG external
variable.
For instance, setting
CATPRINTLOG='c:\test\MyPrint.log'
means that the log file named "MyPrint.log" will be located in the directory "test"...
...whereas
CATPRINTLOG=NONE
means that the log file will keep its default name and location.
Here is a log output sample:
Infrastructure
< Start Print
User: AJT
Date: 07/17/2002
Time: 16:31:17
Host: MYMACHINE
Printer: \\Printer1
Document: C:\Manipulators3.CATPart
Result: 1
End Print>
Version 5 Release 13
Page 369
Infrastructure
Version 5 Release 13
Printing To a File
1. Select the File->Print... command (or the CTRL+P keyboard shortcut) to display the Print dialog box.
The type of printer you choose determines the default settings in the dialog box.
You can also print to a file via the Print icon in the Tools->Image->Capture... command and the Tools->Image>Album... command.
Note: when selecting a printer on Windows, you can use the printers provided by Dassault Systmes.
Page 370
Version 5 Release 13
Infrastructure
Page 371
4. Enter a file name, or click the File Name... button to display the Print to File dialog box:
5. Type the name of the file in which you will store the image printout, then click the Save button to save the file and return
to the Print dialog box.
The file is saved with the .prn extension (the only extension available). The information in the file depends on the printer
you chose in the Print dialog box.
Note: the More... button is relevant only when printing multiple pages. Refer to Printing Multi-Documents for detailed
information.
Version 5 Release 13
Infrastructure
Page 372
6. When printing to a 3 PLM Printer (refer to Adding a Printer for detailed information), you can click the Properties... button
to access the printer properties:
7. In the Submission Scripts group box, activate the Custom radio button next to "Declaration" to specify the default output
file name: each time you print a document, an output file is created at the location you specify in the text field.
8. Click the Edit Script... button which is now activated. This button lets you access the Runtime Script in the window below:
Version 5 Release 13
Infrastructure
Page 373
9. You can use the following environment variable contained in the default script to create your own script:
10. Click OK to validate your modification in the script window then OK again to close the Printer Properties dialog box.
12. To print the file, access the folder in which the file has been saved and use the copy command, for example:
copy myfile.prn LPT1
where "LPT1" is the local print port,
or if the printer is on a network:
copy myfile.prn \\servername\printername
where "servername" is the name of the print server, and "printername" is the name of the printer.
On UNIX, use the operating system command appropriate for your platform.
Infrastructure
Version 5 Release 13
Page 374
Printing Multi-Documents
This task explains how to print one or more sheets inserted in your document.
In addition to Drafting documents, this functionality is available for V4 documents (.model) and multipage image formats (such as
TIFF, JPEG, BMP, etc.).
1. Select the File->Print... command (or the CTRL+P keyboard shortcut) to display the Print dialog box.
3. If you want to print to a file instead of a printer, check the "Print to File" check box then enter a file name or click the File
Name... button. This file will containing your image printout will be saved with a .prn extension.
When printing multiple sheets to a file, click the More... button to open the File Name Selection dialog box which
displays the file name you have entered in step 3:
Version 5 Release 13
Infrastructure
Page 375
if you want to print all your sheets to a single file, you just have to check the "Print to One File" option.
Checking this option automatically grays the field below since it is not relevant anymore.
You can then click OK to validate and close the File Name Selection dialog box.
if you prefer to store each image printout in a separate file, i.e. generate as many .prn files as there are sheets, use
the "Set the name of the file" field.
This field lets you specify the name of the .prn file (if not already specified). It also lets you indicate the position of
the number in the file name by inserting the # character where desired. The "#" character is used as a wildcard and
is incremented for each .prn file generated.
For instance, printing 3 sheets using the following syntax:
print#.prn
will create 3 .prn files named "print1.prn", "print2.prn" and "print3.prn".
Whereas printing 3 sheets using the syntax:
#print.prn
will create 3 .prn files named "1print.prn", "2print.prn" and "3print.prn".
Bear in mind that you will have to print each generated .prn file individually. Refer to Printing To a File for detailed
information on printing .prn files.
Note: if you do not use the "#" character in the .prn file name, a single .prn file will be created even if the "Print to
One File" option has not been checked and only the last sheet will be printed (whichever option has been selected in
the Range area).
When finished, click OK to validate and close the File Name Selection dialog box.
After clicking OK, the Print to File field will reflect the changes you have made as shown below:
4. In the Range area, indicate whether you want to print All Sheets or only the Active Sheet.
In case you want to print a given number/range of existing sheets, check the Sheet Numbers radio button before
entering the corresponding sheet numbers in the field below.
5. If you have activated the Sheet Numbers option, you can click the Sheets... button to open the Image Selection dialog box
which lets you select the sheet(s) you wish to print:
Infrastructure
Version 5 Release 13
Page 376
By default, all the sheets are selected but you can deselect the sheets you do not want to print by clicking them in the
list. The Reset button lets you re-select all the sheets displayed, if needed.
You may check the Clip to Sheet Format option if you want the drawing representation to be clipped to the sheet format.
You may also check the Print Detail Sheet option if you intend to print sheets of type Detail.
8. Click the Options... button to access the Options dialog box and set the Color options determining the type of color output
then the Page Setup... button to display the Page setup dialog box.
Note: you can check the "Use Image Format" option to automatically adapt the printer format to the current format of
the CATDrawing document to be printed. This option is especially useful when printing sketches.
Checking this option automatically activates the "No Fitting" option (in the Position and Size area under the Layout tab)
in order to leave the document to be printed to its original size.
Once the option is checked, all the fields are grayed in the dialog box and the Form Name pulldown list displays the
value "User" to indicate a specific format.
In the Print dialog box, the printer format will change to the current document format:
Version 5 Release 13
Infrastructure
Page 377
Selection: lets you define on screen a rectangular zone to be printed with respect to the drawing scale
Click the
button then drag and drop the mouse to define the clipped zone. For more information, refer to
Document Area: prints the area that has been previously defined for each sheet of your .CATDrawing document in
the Drafting workbench.
This area is defined using the "Print area" option displayed in the sheet properties. For detailed information, refer to
"Editing Sheet Properties" in the Version 5 Interactive Drafting User's Guide.
Note that:
if you did not define any print area prior to accessing the Print dialog box, the "Document Area" option will not
appear in the list
the sheets for which no print area has been defined will be printed according to the options set in the Position and
Size area (under the Layout tab).
11. Click the Tiling option to tile the image to be printed. Once this option is activated, you can click the Define... button to set
the tiling options. Refer to Customizing Print Settings Before Printing Your Documents for more information.
Version 5 Release 13
Infrastructure
Page 378
12. If you print to a 3D PLM printer (refer to Adding a Printer for detailed information), you can click the Properties... button
to access the printer properties:
13. In the Submission Scripts group box, activate the Custom radio button next to "Declaration" to specify the default output
file name: each time you print a document, an output file is created at the location you specify in the text field.
14. Click the Edit Script... button which is now activated. This button lets you access the default Runtime Script displayed in
the window below:
Version 5 Release 13
Infrastructure
Page 379
15. You can use the following two environment variables contained in the default script to create your own script:
%CATPRT_DOC_SHEET_COUNT% indicates the number of sheets to be printed. This variable will be automatically
updated by the application
16. Click OK to close the Runtime Script window then Apply to validate your print settings and print the document without
closing the dialog box.
Note that clicking OK will also validate your settings and print the document but will close the dialog box.
Information on V4 Sheets
A new utility named "CATPrtSheet" lets you print information on your V4 sheets from the command line.
1. Open a Command Prompt window.
2. Change to the installation folder:
C:\Program Files\Dassault Systemes\B13\intel_a\code\bin (on Windows)
or
/usr/DassaultSystemes/B13/OS_a/code/bin/ (on UNIX)
Version 5 Release 13
Infrastructure
Page 380
4. Access the folder in which the output file has been generated then open this file to see the sheet-related information.
Infrastructure
Version 5 Release 13
Page 381
This task describes how to use the Print Batch utility in order to print documents without running Version 5.
These documents may be Version 5 files (such as .CATProducts, .CATParts files, etc.), raster files (bmp, tiff, etc.), vector files
(CGM, HPGL, HPGL2) and Version 4 models.
You must first access the Print Batch interface. To do so, follow the instructions below:
On Windows
/usr/DassaultSystemes/B13/OS_a/code/command/
Version 5 Release 13
Infrastructure
Page 382
Note: you can also access the print batch interface using the Batch Monitor in a Version 5 session. For detailed
information, refer to Using the Batch Monitor in this guide.
The batch-specific online documentation can be accessed directly from the Print Batch interface by clicking the
icon in the top right corner (on Windows) or the Help button (on UNIX).
1. Select a printer using the pulldown list displayed next to the Printer Name button. This list lets you filter the list of
printers displayed to the right. You can choose either
General: default mode. All the printers you have set up will be displayed in the printer list to the right
a printer group you defined in the Printers tab. In that case, only the printers included in the selected group will be
displayed in the printer list.
You can also check the "Print to file" check box and enter the name of a file.
Refer to "Printing To a File" for more information.
2. In case you wish to set up your printer, click the Properties... button to open the printer properties dialog box. The look
of the dialog box will change according to the driver. Just modify the desired parameters then click OK to validate.
In case the driver is provided by Dassault Systmes, clicking the Properties... button will display the Printer Properties
dialog box described in Adding a Printer.
then navigate to the file(s) you want to print then click Open to validate.
Version 5 Release 13
Infrastructure
Page 383
The File Selection box now lets you access your CATDrawing documents more easily. To do so, select CATIADrawing
in the "Files of type" field so that only CATDrawing documents are displayed.
The file names are displayed along with their path, parameters and printer.
Once the files have been put in the list, some icons are activated to let you modify the printing order:
4. Click the Default Printing Parameters button to define the parameters used by default for all printed documents in the
Printing Parameters dialog box.
Version 5 Release 13
Infrastructure
Page 384
The Layout tab lets you define the page orientation, the image size and position, etc. and is identical to the Print
dialog box accessed via the File->Print... command.
5. Click the Page Setup... button to open the Page Setup dialog box. Refer to Customizing Print Settings for detailed
information.
6. Click the Options... button to access the Options dialog box. Refer to Customizing Print Settings for detailed information.
The Printing Parameters dialog box also enables you to define the visualization mode used for printing by selecting the
desired mode from a pulldown list in the Visualization tab:
Clicking the Layer Filter... button opens the Visualization Filters dialog box which lets you edit or create visualization
filters:
Infrastructure
Version 5 Release 13
Page 385
The default current filter "All visible" is applied automatically: it lets you see all the contents of the document. This
filter cannot be deleted.
Refer to Using Visualization Filters for detailed information.
If you are printing CATDrawing documents, you can access the MultiDocuments tab:
In the Range area, indicate whether you want to print All Sheets or only the Active Sheet
You may check the Clip to Sheet Format option if you want the drawing representation to be clipped to the sheet
format
You may also check the Print Detail Sheet option if you intend to print sheets of type Detail.
7. In case you want to use parameters which are different from the default ones for a specific file, select the file from the
list then click the Parameters... contextual command to open the Parameters dialog box:
Infrastructure
Version 5 Release 13
Page 386
This dialog box enables you to apply parameters other than the default one proposed by selecting another printer,
another orientation and so on.
The Printing Parameters button gives you access to the above-detailed Printing Parameters dialog box except for the
MultiDocuments tab which gives you access to more parameters:
When printing CATDrawing documents, you can print a given number/range of sheets by checking the "Sheet
Numbers" radio button then:
You can now use the MultiDocuments tab to print the drafting of Version 4 models.
To do so, activate the "Sheet Numbers" option then enter the number(s) of the workspace(s) to be printed in the field
below.
You can also click the Sheets... button then select the desired workspace(s) in the Image Selection dialog box:
Version 5 Release 13
Infrastructure
Page 387
By default, all the documents are selected but you can deselect the documents you do not want to print by clicking
them in the list. The Reset button lets you re-select all the elements displayed, if needed.
Click OK to validate your selection and close the window.
Once the parameters have been modified, the status of the customized file changes from "Default" to "Customized" in
the Parameter column and the printer name (if different from default printer) is displayed in the Printer column.
Note: if needed, you can reset the customized parameters to the default parameters by right-clicking the desired file
from the list then selecting the Reset Parameters contextual command. In that case, the status of the file will
change from "Customized" to "Default".
8. If you want the corresponding CATScript file to be saved in a specific location, click the CATScript Generation... button.
A CATScript window displaying the content of the CATScript file: click the Save As... button then indicate the name and
location of the file before clicking Save to validate.
By default, the CATScript file is saved in a temporary folder.
Running a batch printing using the PrintBatch command will automatically generate a file named
PrintBatchParameters.xml and saved in a temporary folder by default. If you want to save this file under another
name and in another location, just click the Print Batch Parameters Saving... button
Running your batch via the Batch Monitor will also generate a file in a temporary folder. This file will be named
"PrintBatchParameters" suffixed by the hour at which the batch was run (for instance,
PrintBatchParameters_14.41.25.xml to indicate that the batch was run at 14.21.25 PM). To save this file under
another name and in another location, just click the SAVE button.
In both cases, the generated XML file can be edited manually. Refer to Editing the XML file.
You can preview the file(s) to be printed simply by selecting a file from the list then clicking the Preview contextual
command. However, note that you will not be able to use zooming commands for CATDrawing, CATProduct and
CATPart documents.
9. Choose whether you want to run the batch locally or on a remote computer by activating the corresponding radio button:
Run Local: default option. When checked, the batch will be run in local on your local machine
Run Remote: check this option then indicate the name of the remote machine on which the batch will be run. The
remote machine will use the printers set up on your local machine.
Note that:
when using Windows printers, you can run the batch in remote mode on Windows machines only
when using 3DPLM printers, you can run the batch in remote mode either on UNIX or on Windows machines.
Infrastructure
Version 5 Release 13
Page 388
For detailed information on running batches in remote mode, refer to Running Batches Using the Batch Monitor in this
guide.
10. Click the RUN button to print the selected documents then the CANCEL button to close the Batch Printing window.
Note that running the batch printing via the Batch Monitor lets you select a license using the Licensing Setup...
button. For detailed information, refer to Using the Batch Monitor.
Would you need to modify the name of the printer to be used, this can be done very easily in the XML file by
indicating the new printer name in the <PRINT_OUTPUT_PRINTER> parameter:
If you are printing CATDrawing documents, you can edit the sheet name and number in
<PRINT_VISU_IMAGE_NAME> and <PRINT_VISU_IMAGE_NUM> respectively:
Infrastructure
Version 5 Release 13
This XML file can be used later on to run the batch printing without having to access the Print Batch dialog box.
To do so:
(on Windows)
or
./catstart -run CATUTIL -Name PrintBatch /u/usr/parameters.xml
(on UNIX)
Page 389
Infrastructure
Version 5 Release 13
Page 390
Page 391
Version 5 Release 13
Infrastructure
Note that the command activated by default in the Capture toolbar depends on the
command last used for capturing:
if the Pixel Mode command was activated last, then it will be activated by default
when displaying the Capture toolbar
if the Vector Mode command was activated last, then it will be activated by default
when displaying the Capture toolbar.
vector image.
When working in HRD (Dynamic Hidden Line Removal) mode, vector images are
captured in real HLR mode and thus, may look rather different from what you see on
screen.
Note also that when working in pixel mode, cast shadows cannot be captured.
Version 5 Release 13
Infrastructure
Page 392
check the Show Banner option if you want to show a banner on the capture. This lets
you access the Banner field containing the $NAME, $DATE and $TIME variables
which, by default, print your username, and the current date and time in the banner
at the bottom of the capture. This field is editable: you can delete the variables if
required and replace them with a text of your choice
check the Capture Only Geometry option if you want to capture the geometry
without background. Note that this option cannot be used for vector images
choose the Color mode from the pulldown list: either Color, Greyscale or
Monochrome.
The Pixel tab lets you set the following options, provided you are working in Pixel mode
(otherwise, the tab is grayed):
Version 5 Release 13
Infrastructure
Page 393
check the White Background option if you want the capture to be taken on a white
background
check the Capture White Pixels as Black option if you want to print white pixels as
black on the resulting capture
check the Anti-Aliasing option to modify the appearance of lines in order to make the
jagged edges look smoother
check the Constant Size Capture option if you want the captured images to be the
same size when displayed to a scale of 1:1, whatever their resolution
set the Rendering Quality factor which determines the quality of output:
Low (screen): the quality of the output matches the screen resolution
Medium
Highest
Custom.
The higher the setting, the greater the quality of the capture. Use the Preview icon to
compare captures made with different rendering quality factors.
Version 5 Release 13
Infrastructure
If you choose the Custom value in the Rendering Quality pulldown box (where you see
the value "Low (screen)" right now), the More... button will become activated to let you
access the Image size dialog box:
This dialog box enables you to define the print Width, Height and Resolution:
first, choose the Resolution, either in pixels/inch (.dpi) or in pixels/cm. The highest
the resolution, the longer the capture generation (and with a price to pay in
performance)
define the print Width and Height.
The values indicated in the Pixel Size group box are displayed for information
only to give you an idea of the image size in pixels, according to the Print Size
you defined.
click the Album... button to define your preferences for storing the images you are
going to capture in the album:
Page 394
Version 5 Release 13
Infrastructure
JPEG
HUFFMAN
Fax Group 4.
When you select the JPEG compression type, the Quality slider is
activated to let you define more precisely the compression quality
(from 0 to 100 %). the higher the value, the better the quality.
The Vector tab lets you set the following options, provided you are working in Vector
mode (otherwise, the tab is grayed):
Page 395
Version 5 Release 13
Infrastructure
select the Semantic Level type which enables you to choose the rendering mode:
Discretized (i.e. when the image suffers from a lack of points, points are
distributed to fill the gaps and ensure linearity)
Low
Polyline
select the format from the pulldown list: either CGM or Generic PostScript,
then set the properties for the chosen format if necessary:
. if you select the CGM format, clicking the Properties... button opens the
Advanced Configuration dialog box:
This dialog box contains four tabs which let you define the various parameters
associated to the CGM format.
. if you select the Generic PostScript format, clicking the Properties... button
opens the following dialog box:
Page 396
Version 5 Release 13
Infrastructure
Page 397
You can choose the desired level for PostScript generation and activate the
Encapsulated PostScript (EPS) format as well. EPS does not contain page
description directives and is designed for portable exchange between
applications and platforms. It may also be included in a larger PostScript
document.
In Shading mode, in which edges are not displayed, capturing vector images is not
useful, and produces images that cannot be viewed in the album: you capture only lines
and edges in vector mode, not shaded surfaces.
Once the captured image is generated, the Capture Preview window opens:
Version 5 Release 13
Infrastructure
Page 398
This window provides a preview of the captured image that will be stored in the album if
you click the Album
icon.
This window also enables you to use the following icons to:
Version 5 Release 13
Infrastructure
Page 399
For detailed information on how to display images in the album, refer to Previewing
Images in the Album and Editing Images in the Album.
The contents of the album are stored on your system in a non-editable file in the location
defined by the CATTemp environment variable. Deleting this file deletes the contents of
the album.
Infrastructure
Version 5 Release 13
Two capture modes are available: viewer mode and screen mode.
Viewer mode
in the
drag the outline by dragging the "x" symbol at the center of the outline
or resize it by dragging the handles at each corner, or the sides of the outline.
Page 400
Version 5 Release 13
Infrastructure
5. Click the Capture icon
Page 401
to generate
icon or
Screen mode
This "multiviewer" capture mode lets you perform an extended selection of images, which is especially useful to capture several
windows or dialog boxes simultaneously, for instance.
4. Click in the geometry area and drag to create a bold bounding outline around the area to be captured.
You can select any elements of the screen, not only those displayed in the Version 5 application window. In our example.
As you drag, the height and width of the outline you are drawing (expressed as the number of pixels) are displayed:
Version 5 Release 13
Infrastructure
to generate
Page 402
Version 5 Release 13
Infrastructure
icon or
Page 403
Page 404
Version 5 Release 13
Infrastructure
1. Select the
Tools>Image>Album...
command to
display the
album
contents.
The system automatically assigns names to each image. Images are named "Capture_xxx", where
"xxx" is a number from 001 to 999.
For each captured image, the name, class (raster, 2D vector, etc.) and type (tiff, bmp, jpg, etc.) are
displayed.
Images can be classified by class or type simply by clicking the corresponding column title.
2. By default, captured images are stored in the Album temporary folder located in:
C:\Documents and Settings\user\Local Settings\Application Data\DassaultSystemes\CATTemp\
This path is displayed at the bottom of the Album dialog box when selecting an image from the list but
you can change it whenever you want simply by clicking the
desired storage folder.
Selecting an image from the list also lets you display it in the preview area to the right. This allows
you to identify easily the image content.
icon lets you refresh the list of files stored in the current path.
Version 5 Release 13
Infrastructure
Page 405
information on the selected pixel image (name, path, creation date and time, etc.) under the File tab...
... as well as memory information (memory size, pixel format, pixel width and height, etc.) under the
Memory tab:
Page 406
Version 5 Release 13
Infrastructure
If you select a vector image, the Capture information window is slightly different from the one above
but also gives file and memory information:
Just click OK to close the information window and go back to the album contents.
4. Select an image from the list and click the Preview icon
to display the Print Preview window:
Version 5 Release 13
Infrastructure
6. This time,
select several
images in the
list.
You can
perform
multiple
selections
by Ctrlclicking,
Shiftclicking or
dragging
using the
left mouse
button.
Page 407
Version 5 Release 13
Infrastructure
Page 408
Our
example
shows that
all images
in the
album
have been
selected:
All selected images are now displayed together in the Print Preview window. Performance and image
quality will be determined by the number of images on the preview page.
Page 409
Version 5 Release 13
Infrastructure
You can use the Fit All In icon and zooming commands inside the Print Preview window.
click the
icon to copy the desired image from the album to the clipboard. For detailed
information, refer to Copying Images to the Clipboard (Windows Only)
click the
icon to open the image Editor window which lets you edit pixel images. For detailed
information, refer to Editing Images in the Album
delete images from the album. For detailed information, refer to Deleting Images from the Album
print images from the album. For detailed information, refer to Printing Images from the Album.
8. To save the edited image under another name and/or another format, click the
name to the image and navigate to the desired location before clicking OK to confim the save. Refer to
Saving Images to Other Formats for detailed information.
Version 5 Release 13
Infrastructure
2. Choose the image to be displayed in the preview area to the right by selecting it in the list.
3. Click the
Page 410
Version 5 Release 13
Infrastructure
Page 411
The
icon displays general information on the image file (size, type, etc.) and memory (memory
information are identical to those displayed when displaying the Image information window).
4. Click the
below:
icon to adjust the color brightness, contrast and gamma using the corresponding slider as shown
Page 412
Version 5 Release 13
Infrastructure
After clicking OK to validate, the result is displayed in the preview area to the left.
Note: clicking the Clears picture button opens a warning window which prompts you to confirm the removal.
Click "Yes" to validate or "No" (or "Cancel") to cancel the removal and go back to the Editor.
zoom in
resize the image to scale 1:1 (i.e. real size display), there is no pixel interpolation
fit the image into the space available in the display area
, to the left
or to the right
Version 5 Release 13
Infrastructure
Page 413
Zoom In
Page Down
Zoom Out
Ctrl + Page Up
Zoom Best
Zoom 1:1
6. Use the
The Navigator lets you visualize the image and zoom in or out either using the
and
icons,
respectively, or the horizontal scrollbar. The default zoom ratio is 1:2.
Any visualization change you have made in the Navigator simultaneously updates the image displayed in the
Editor as shown below:
Infrastructure
Version 5 Release 13
Page 414
You can also pick wherever you want in the Navigator preview to set the position of the viewpoint center in the
Editor preview:
Page 415
Version 5 Release 13
Infrastructure
When finished, click OK to exit the Navigator and go back to the Editor.
pick
the color to be used for painting. To do so, just click the icon to activate the picking mode then
choose the painting color either from the color palette or from the image.
The current color square displayed in bottom left part is then modified accordingly:
In case you do not wish to use a color picked from the image, you can make your choice directly
from the color palette using the mouse:
to draw
custom brushes
to draw
custom airbrushes
to draw
interrupted
segments
brush
airbrush
interrupted segments
uninterrupted segments
filled rectangle
filled ellipse
to draw
uninterrupted
segments
to draw
rectangles
to draw
ellipses
to apply a fill
color.
Version 5 Release 13
Infrastructure
a brush type from the Brushes palette if you draw brushes or segments:
a fill mode (either outline, filled or blank) if you draw rectangles or ellipses:
overwrite the already existing image with the modified one by clicking "Yes"
or to save the image under a new name ("capture_000" by default) in TIFF format by clicking "No".
Clicking "Cancel" lets you exit the editor without saving the image.
The image is automatically saved in the album with a name identical to the original image:
Page 416
Infrastructure
Page 417
Version 5 Release 13
Note that you can also copy the desired image from the album to the clipboard by clicking the
detailed information, refer to Copying Images to the Clipboard (Windows Only).
icon. For
Version 5 Release 13
Infrastructure
2. Select the
image(s) to be
deleted from the
album.
In our
example, we
want to delete
"Capture_000".
A warning window opens to prompt you to confirm the removal. Click "Yes" to validate or "No" to
cancel the removal and go back to the Album.
Page 418
Infrastructure
If you click
"Yes", the
image list is
updated.
In our
example,
"Capture_000"
has been
deleted.
Version 5 Release 13
Page 419
Version 5 Release 13
Infrastructure
Page 420
2. Select the
image(s) to be
copied to the
clipboard.
The selected image is copied to the clipboard, from where it can then be pasted into another
application document (for example, a word processing package).
Infrastructure
Version 5 Release 13
Page 421
You paste data into OLE-compliant documents using either the Paste command or the Paste Special...
command:
the Paste command simply copies the data into the OLE-compliant application
the Paste Special... command offers two modes: you can either paste (embed) the data as normal, or
link the copied data to its source.
For general information about linking and embedding data from Version 5 documents in OLE-compliant
applications, refer to "Using Version 5 Data in OLE-Compliant Applications".
There is a quicker alternative: you can also select the Tools->Image->Capture... command and simply
click the Copy icon in the Capture toolbar. This captures the image and copies it directly to the clipboard.
The image is not stored in the album.
Version 5 Release 13
Infrastructure
2. Select the
image(s) to be
saved to another
format.
The formats to
which you can
save depend on
the format
(pixel or
vector) of the
image you
selected.
Page 422
Version 5 Release 13
Infrastructure
Page 423
For detailed information about JPG and TIFF format, browse the following Internet sites:
http://www.jpeg.org and http://www.ijg.org
http://www.partners.adobe.com/asn/developer/PDFS/TN/TIFF6.pdf
A bitmap is a set of pixels arranged in lines and columns and is fully described by its width and
height, its color depth (bits per pixel) and its compression scheme. The format common format is
true color (24 bits per pixel). An additional color component, called Alpha component, may be used
to define the transparency of each pixel. The bitmap format generally supports compression (either
lossless or lossy). Some of these bitmaps are coded on 8 bits and the pixels are indexed on a color
table, called the palette.
The advantage of bitmap files is that they can reproduce complex scenes (for instance photographic
or photo-realistic images) that could not be reproduced using basic geometrical shapes.
The following table summarizes information about bitmap files and the various formats you can use
to save your images in the album:
Page 424
Version 5 Release 13
Infrastructure
Bit depth
8 16 24
32 None
X
Compression
Maximum
RLE JPEG ZLIB CCITT size in pixels
BMP
JPEG
PNG
RGB
TIFF
2G*2G
64K*64K
2G*2G
64K*64K
2G*2G
Comments
Standard
bitmap
storage on
MS-Windows
Very few
applications
support the
lossless JPEG
mode
Successor of
the GIF
format
Supported by
very few
applications
Very popular
and general
format
recognized by
most imaging
applications
PDF: Portable Document Format is a platform-independent page description file format designed
for platform exchange. It may contain text, vector graphics and bitmaps.
For detailed information about PDF, browse the following Internet site:
http://www.partners.adobe.com/sn/developer/acrosdk/DOCS/PDFRef.pdf
HP-GL/2-RTL: Hewlett-Packard Graphics Language file format is an instruction set developped for
controlling plotters. HP-GL, which as been developped for pen plotters, is now obsolete. HP-GL/2RTL is an evolution of HP-GL providing more graphic primitives (such as polygons or curves) and
a support for bitmaps.
Version 5 Release 13
Infrastructure
Page 425
Vector files contain geometrical descriptions of the image elements.These elements may be lines,
dots, rectangles, circles, polygons, splines, text with font information or bitmaps (only in metafiles)
and are used to reconstruct the final image. Each element has its own attributes specifying its size,
its relative position in the whole image, its color and filling type.
The advantage of vector files over bitmap files is that image scaling does not affect image
appearance. When zooming bitmap files, pixels become visible as shown in the example below:
Vector image
Bitmap image
CGM ISO
CGM CALS
CGM ATA.
The table below summarizes the purposes of the above mentioned formats:
Page 426
Version 5 Release 13
Infrastructure
Purpose
Printing/Plotting
Data Exchange
Format
HP-GL/2-RTL
PS
EPS
CGM
DPI:
resolution in
dots per
inch (DPI)
width
height
and click OK or
Cancel.
You do not need to open the album first to save images to other formats. The Save As... icon is also
available by selecting the Tools->Image->Capture... command and clicking the Save icon in the
Capture toolbar, allowing you to save to a file directly (without saving the image in the album).
Page 427
Version 5 Release 13
Infrastructure
Compressing Images
Here are listed the several methods you can use to compress images:
RLE
Run-length encoding is the easiest and fastest compression method. However, it cannot achieve high
compression ratios like those of more sophisticated compression algorithms. The compression ratio mainly
depends on the data content.
This method is suitable for images with large uniformly colored areas, typically found in computer graphics.
Most bitmap files support run-length encoding (such as TIFF, BMP, etc.)
JPEG lossy compression
This method looses information by removing details the human eyes can hardly perceive. The reconstructed
image is not identical to the original one. The loss of visible details may be minimized at the expense of the
compression factor.
Typically, you can compress images by a factor of 20 without losing the subjective quality. The lossless
JPEG compression is also part of the JPEG file format but is supported by very few applications
LZW
This method is used for GIF and TIFF files and removes redundancies in the picture. The LZW algorithm and
the GIF format are both patented. Note that this method is not available in CATIA.
ZLIB
This lossless compression method belongs to the same category as the LZW method. It is used for PNG
format which is meant to be a non-patented successor of the GIF format. Note that this method is not
available in CATIA.
CCITT/Fax encoding
CCITT Group 3 and CCITT Group 4 are lossless data compression methods for black and white (bi-level)
images, which are typically scanned images with a great size. These two methods are mainly used for TIFF
files.
The table below shows the most appropriate compression method for a specific image type:
Photographic
Bi-level
Typical ratio
Compression
Lossy JPEG
ZLIB
5:1
CCITT G4
None
20:1
15:1
1:1
You can save images in bitmap format without having to compress them. There is no loss of information but the
file size is impacted, since it is bigger.
Version 5 Release 13
Infrastructure
Page 428
Infrastructure
Version 5 Release 13
Page 429
Images are printed the same way as any other document. Refer to "Printing Documents" for a full description
of how to print.
You do not need to open the album first to print images. The Print command is also available by selecting the
Tools->Image->Capture... command and clicking the Print icon in the Capture toolbar, allowing you to print
the file directly (without saving the image in the album).
Version 5 Release 13
Infrastructure
Page 430
Note that the name of the video file to be generated and the current video format are both indicated. In our
example, the video file name is "movie00000.avi" and the video format is "Microsoft AVI".
The Video... command is available whether a document is open or not. In case no document is open, the
"Document Window" option will be grayed.
to access the Video Properties dialog box which lets you set up the video capture
Version 5 Release 13
Infrastructure
Page 431
Generic AVI (SUN) with two options: Uncompressed and Motion JPEG (or M-JPEG)
Still Image Capture: available on all operating systems, this format is not generated by operating systemdependent libraries and provides still, compressed JPG captures
Quicktime (IRIX)
MPEG (IRIX).
If you install the appropriate CODEC for the MPEG format, you will be able to generate MPEG format files on
Windows (you can download video CODECs from the Microsoft Support Internet site).
4. If you want the video file name (and number) to be set automatically, check the Automatic File Name option, which is
activated by default.
If you do so, the system automatically names the video file starting with the prefix "movie00000" and appends the
video extension (avi, jpg, etc.). In our example, the video file name is "movie00000.avi" when you set the video
format to "Microsoft AVI".
Each time you generate a new video file using the Recording button, the file number will be incremented
(movie00001.avi, movie00002.avi, etc.).
If you uncheck this option, the Name field becomes editable and the prefix changes to "MOVIE", for example
"MOVIE.avi". You can then rename the file in the Name field, along with a drive and folder (or directory) name, like
this for example on Windows:
c:\Videos\MyMovie.avi
When you first access the dialog box, it specifies the default folder:
C:\TEMP\ (Windows)
/tmp (UNIX).
C:\Videos\ (Windows)
/u/users/steve/videos (UNIX).
Version 5 Release 13
Infrastructure
Page 432
This dialog box lets you choose among a list of predefined video and screen standards using the following pulldown
lists:
Video standards:
DV (PAL or NTSC)
However, note that you can also customize the selected video standard by entering your own dimensions in the
Custom fields. In that case, the push button under Fixed Area will display "CUSTOM" along with the entered
dimensions to indicate that the size has been fixed by the user.
Screen standards:
When satisfied, click OK to validate and go back to the Video Properties dialog box.
Version 5 Release 13
Infrastructure
Page 433
above the
Still holding down the left mouse button, drag the "+" pointer. As you drag, each part of each application window is
highlighted.
In the example below, dragging the "+" pointer inside the Version 5 window highlights the frame of the window...
Infrastructure
Version 5 Release 13
Note that when you release the mouse button, the selected window is highlighted like this:
Page 434
Version 5 Release 13
Infrastructure
Page 435
Area: lets you draw a rectangular area anywhere on the screen, for capturing what happens inside this area only.
above the
Drag (using the left mouse button). As you drag, you draw a rectangle like this, and the size of the rectangle is
displayed:
Infrastructure
Version 5 Release 13
Note that when you release the mouse button, the selected area is highlighted like this:
Page 436
Infrastructure
Version 5 Release 13
Page 437
using the timer will record a frame every "n" milliseconds (you set the value using the editable field or spinner):
note that if you set a low value, the system will record a high number of frames, which will consequently impair
performance and create a larger video file
if you do not check the Timer option, the system will record a frame only each time the viewpoint is updated
(by rotating, zooming, etc.).
7. On Windows only, check the Include Cursor option if you want the cursor to be visible in the recorded sequence.
Version 5 Release 13
Infrastructure
Setting Movie Replay Parameters
Page 438
Page 439
Version 5 Release 13
Infrastructure
On Windows, the Compressor list contains several options among which "Full Frames (Uncompressed)". Selecting
this option prior to recording has the following effects:
to
button is activated and you can click it to open the Video Player
The window that opens is empty but you just need to click the Playing
Version 5 Release 13
Infrastructure
Page 440
display information on the recorded video (width, height and number of frames). Note that the
Properties button is grayed out when the video is replaying, you have to click the Pause or Stop button to
activate it. Clicking this button opens the Movie Properties dialog box:
The data shown in this dialog box are displayed for your information only, you cannot modify them.
When replaying the video, a slider at the bottom of the player window indicates the progression and displays the
corresponding frame number.
13. When finished replaying your video, click Cancel to close the Video Player.
Infrastructure
Version 5 Release 13
Viewing Objects
Activating Viewing Tools
Fitting All Geometry in the Geometry Area
Panning
Zooming In
Zooming Out
Zooming In On An Area
Viewing Along a Normal to a Plane
Rotating
Editing the View Angle
Testing Visualization Performance
Testing Visualization Performance
Page 441
Infrastructure
Version 5 Release 13
Page 442
You do not have to use the viewing tool commands or icons to perform all viewing operations. For quick access, you can also use just the
mouse, the keyboard or the pen to activate a certain number of viewing tools, as indicated in the table below:
Mouse
To use the mouse to...
Do this...
Center the display at a specific location Click the middle mouse button.
Pan
Rotate
Press and hold down the middle mouse button, then the left (or right) mouse button, and drag (still holding
both buttons down).
Zoom
Press and hold down the middle mouse button, then click the left (or right) mouse button and drag (still
holding the middle mouse button down).
in three steps:
Clicking the corresponding icon runs the corresponding command once only. Using the View->Modify command or pressing and holding down the
middle mouse button activates a permanent viewing mode for each command, until you click to exit.
Note: See "Hiding and Showing Objects" for information about showing and hiding, and "Using Rendering Styles" for hidden line rendering.
the IntelliMouse (two buttons plus a wheel) is an alternative to the 3-button mouse: pressing and hold down the wheel the same way as the middle
mouse button (but rolling the wheel is not supported)
a 2-button mouse may alternatively be used (the third button is emulated using a key combination).
Page 443
Version 5 Release 13
Infrastructure
This key combination using a 2-button mouse ... ... and this key combination on a 3-button
mouse...
Do this...
Pan
Then:
With ALT and right button held down, press and hold down
CTRL or left button, then drag.
Press and hold down the middle mouse button, then the left Rotate (3D/zoom/2D)
(or right) mouse button, then drag.
Then:
Release the CTRL or left button.
Press and hold down the middle mouse button, then click the Zoom
left mouse button, then drag (still holding the middle mouse
button down).
Press and hold down CTRL ALT and the right button, then
drag.
Press and hold down CTRL and the middle mouse button,
then drag.
Zoom
SpaceMouse
The SpaceBall or SpaceMouse can be used, in addition to the mouse, to perform graphic viewing manipulations (zoom, pan, rotate,
etc.).
On Windows, from R12 onwards, the SpaceBall/SpaceMouse support requires a 3DXWare driver to be installed in place of the old SpaceWare or
Magellan driver that are not supported anymore. To download the latest 3DXWare driver, browse the following Internet site:
http://www.3DConnexion.com
Keyboard
You can use these shortcuts in Examine mode only.
Do this...
Pan
Then:
Page 444
Version 5 Release 13
Infrastructure
Then:
Zoom In
Zoom Out
Then:
Press the left arrow
To...
Rotate
Pan
Zoom out
Zoom in
Note that the viewing operation performed when double-clicking depends on the option you selected in the "Action on double-click" pulldown list
available in the Tablet Support tab.
Page 445
Version 5 Release 13
Infrastructure
icon.
Fit All In zooms the current view out so that all the document contents fit into the space
available in the geometry area.
Before
After
Page 446
Version 5 Release 13
Infrastructure
Panning
This task explains how to move the current document contents by panning the camera viewpoint.
icon.
2. Drag the left mouse button to a new location, then release the mouse button.
Before
After
Page 447
Version 5 Release 13
Infrastructure
Zooming In
This task explains how to zoom in by predetermined increments.
icon.
You zoom in by one increment each time you click on the icon. To zoom up close (as
illustrated), click on the icon several times in succession.
Before
After
You can also use the View->Zoom In Out command and drag (left mouse button) to
zoom in progressively, not by increments.
Page 448
Version 5 Release 13
Infrastructure
Zooming Out
icon.
You zoom out by one increment each time you click on the icon. To zoom out (as
illustrated), click on the icon several times in succession.
Before
After
You can also use the View->Zoom In Out command and drag (left mouse button) to
zoom out progressively, not by increments.
Version 5 Release 13
Infrastructure
Page 449
Zooming In On An Area
2. Drag (left mouse button) to draw the bounding outline containing the area on which you
want to zoom in.
The area now viewed is the area you captured inside the bounding outline.
Page 450
Version 5 Release 13
Infrastructure
2. Select a plane.
The object is projected onto the selected plane so you can now view along a normal to
the plane.
Before
After
Note: if you select an element other than a plane, the object will be projected onto an
imaginary plane tangent to the selected element. This plane will be created at the point
where you clicked and will be set parallel to the screen.
icon.
Page 451
Version 5 Release 13
Infrastructure
Rotating
icon.
2. Press and hold down the left (or right) and middle mouse buttons to see the rotation sphere symbol appear
around the object.
Note that do not have to use the viewing tool commands or icons to rotate an object. For quick access,
you can also use just the mouse: press and hold down the middle mouse button, then the left (or right)
mouse button, and drag (still holding both buttons down).
Before
After
Infrastructure
Version 5 Release 13
Page 452
This task explains edit interactively the view angle. The view angle sets the angle of the pyramid-like
shape with which you look at the geometry (available in perspective views only):
1. Select the View->Commands List... command then choose "View Angle" from the list or enter
directly c:view angle in the power input field.
The View Render Style dialog box prompts you to choose the desired view mode: either
"Perspective" or "Parallel".
Version 5 Release 13
Infrastructure
Page 453
2. Select "Perspective".
A green circle appears with an arrow indicating the current view angle as shown below:
Note that the current view angle is identical to the view angle you define in the Camera
properties when working with user-defined views.
3. Drag the green arrow (which turns red) to change the view angle. Bear in mind that the angle
cannot exceed 90.
Version 5 Release 13
Infrastructure
Page 454
At this step, you can click Cancel to close the View Render Style dialog box and go back to
the current view angle.
4. When you are happy with the result, click OK to close the View Render Style dialog box and
apply the new view angle.
Version 5 Release 13
Infrastructure
Page 455
the level of detail you want to view in your geometry while moving using the Define Dynamic Level of Detail command
the size in pixels of objects to be hidden/displayed in your geometry while moving using the Define Dynamic Pixel Culling command.
Dynamic level of detail and dynamic pixel culling allow you to modify more quickly the values set in the Performances tab.
However, bear in mind that the values you define here apply only to your current Version 5 session, contrary to the values defined via the
Performances tab which are stored in your settings files and thus, are kept from one session to another unless they are explicitly modified.
LODs are used in a product context in Visualization mode: as a consequence, you must activate the cache for your LOD settings to be
taken into account (check the "Work with the cache system" option in the Tools->Options->Infrastructure->Product Structure>Cache Management tab)
check the "Generate CGR with level of detail" in the Cache Management tab.
activate at least the "Triangles" mode in the Custom View Modes dialog box.
3. Select the category All Commands that lists all commands available.
Infrastructure
Version 5 Release 13
4. Select the Define Dynamic Level of Detail command from the command list.
5. Drag the command from the command list to the toolbar to which you want to add the command.
7. Repeat steps 5 and 6 to drap and drop the Define Pixel Culling command.
In our example, the two commands have been added to the Standard toolbar:
Page 456
Version 5 Release 13
Infrastructure
8. Set your own values either by entering them directly in the corresponding field or by using the spin box:
for pixel culling, you can enter a value comprised between 0 and 40. The higher the value, the more
quickly you will be able to move large parts
for level of detail, you can also enter a value comprised between 0 and 40. The higher the value, the
lower the level of detail.
You can see that your new values have been taken into account.
Page 457
Version 5 Release 13
Infrastructure
Page 458
c:TestVisuPerfoDraw
The test dialog box opens:
Version 5 Release 13
Infrastructure
Vertical: corresponds to the default axis which is vertical and parallel to the screen
the angle for each rotation step (in degrees) in the Angle field
Page 459
Version 5 Release 13
Infrastructure
Page 460
Static Mode
Dynamic Mode.
Depending on the mode you select, the test will be performed according to the value you
set in Level of Details area available in the Tools->Options->General->Display>Performances tab:
selecting "Static Mode" means that the test will be performed using the value set
with the "Static" slider.
selecting "Dynamic Mode" means that the value used for the test will be the one
defined with the "While Moving" slider.
The parameters you defined are applied and the corresponding result performance is
displayed in the Visualization Time area which indicates the mean time per frame as well
as the total visualisation time (both in milliseconds) as shown below:
Infrastructure
Version 5 Release 13
Page 461
Infrastructure
Version 5 Release 13
Navigating
Navigating in Examine Mode
Navigating in Walk Mode
Navigating in Fly Mode
Changing Views
Viewing Objects against the Ground
Magnifying
Looking At Objects
Turning Your Head To View An Object
Snapping Viewpoint
Page 462
Infrastructure
Page 463
Version 5 Release 13
You can also access the Examine mode via the Examine icon
when using the beginners walk and fly modes.
Version 5 Release 13
Infrastructure
Page 464
Beginner's mode
Before using the Walk navigation mode, you must be in a perspective view (View->Render Style>Perspective). If you attempt to activate Walk mode, you will be prompted to switch to a perspective view.
These commands are also available via the View->Modify command in the menu bar.
icon in the View toolbar then drag (left mouse button) to define your starting
Page 465
Version 5 Release 13
Infrastructure
A green arrow appears along with a circular target located at the center of the view.
The speed at which you first approach the object depends on the initial distance from the object, and is
calculated automatically. The speed is optimized so that you reach the point you target in approximately
10 seconds.
5. Still holding the left button down, drag to the right or left, or up or down, to change direction.
You walk in the direction in which you drag. The further you drag away from the center of the view
Dragging to the left lets you view the object as if you had turned your head to the left; dragging to the
right produces the same effect in the opposite direction.
6. Drag the cursor back towards the center of the view to continue walking straight forward in the new
direction.
or Decelerate
the Walk icon again followed by the left mouse button to pursue your walk.
Version 5 Release 13
Infrastructure
Page 466
You can also set mouse sensitivity and collision detection using the appropriate options in the Visualization tab,
accessed via the Tools->Options command.
Before using the Walk navigation mode, you must be in a perspective view (View->Render Style->Perspective).
It is easier to walk through documents in contexts where you would find a virtual ground, i.e. in buildings, planes or
ships for example.
2. Press and hold down the middle mouse button to define the horizontal view plane.
3. Still holding the button down, drag to the left or to the right to determine the direction in which you wish to
walk.
In the Walk mode, press and hold down the middle mouse button until you've finished navigating.
4. When in the direction in which you wish to walk, click the left mouse button to begin walking.
You begin to walk forward in the chosen direction.
A green arrow appears along with a circular target located at the center of the view, like when using the
beginner's walk mode:
Version 5 Release 13
Infrastructure
Page 467
5. Still holding the middle button down, drag left or right to change direction:
Dragging to the left lets you view the object as if you had turned your head to the left; dragging to the
right produces the same effect in the opposite direction.
6. Drag the cursor back towards the center of the view to continue your walk straight forward in the new
direction.
Infrastructure
Version 5 Release 13
Page 468
Pressing the PageUp and PageDown keys modifies your speed. Speed is indicated in the status bar.
When a collision is detected, the green arrow turns red, whether you navigate in beginner's or advanced
Walk mode:
Infrastructure
Version 5 Release 13
Page 469
You can also set mouse sensitivity and collision detection using the appropriate options in the Visualization tab,
accessed via the Tools->Options command.
Version 5 Release 13
Infrastructure
Page 470
In Fly mode you can move upward or downward on any horizontal view plane as you move forward or backward
(backward in advanced mode only).
Two fly modes are available:
Beginner's mode
Before using the Fly navigation mode, you must be in a perspective view (View->Render Style->Perspective).
If you attempt to activate Fly mode, you will be prompted to switch to a perspective view.
The icons used in the beginner's fly mode appear in the View toolbar:
These commands are also available via the View->Modify command in the menu bar.
Version 5 Release 13
Infrastructure
icon in the View toolbar then drag (left mouse button) to define your starting
Page 471
A green arrow appears along with a circular target located at the center of the view:
Page 472
Version 5 Release 13
Infrastructure
The speed at which you first approach the object depends on the initial distance from the object, and is
calculated automatically. The speed is optimized so that you reach the point you target in approximately
10 seconds.
5. Still holding the left button down, drag to the right or left, or up or down, to change direction.
You fly in the direction in which you drag. The further you drag away from the center of the view
6. Drag the cursor back towards the center of the view to continue flying straight forward in the new direction.
or Decelerate
When you collide with a solid object when flying, you will slide along the object's surface, and you will no
longer fly through the object, providing a more realistic effect. This feature is also available in Advanced
Fly mode.
Pressing the Shift key and dragging lets you bank left or right.
Page 473
Version 5 Release 13
Infrastructure
You can also mouse sensitivity and collision detection using the appropriate options in the same
Visualization tab.
Before using the Fly navigation mode, you must be in a perspective view (View->Render Style ->Perspective).
Fly is used in exactly the same way as Walk, the only difference being that in Fly mode you can move upward or
downward on any horizontal plane as you move forward or backward.
However, note that when using a Space Mouse, you can fly with six different degrees of freedom, which means that
you can navigate through a document in a direction other than the one in which you are looking at the object.
2. Press and hold down the middle mouse button to define the initial horizontal view plane.
3. Still holding the button down, drag to the left or to the right, or up or down, to determine the direction in
which you wish to fly.
In the Fly mode, press and hold down the middle mouse button until you've finished navigating.
Infrastructure
Version 5 Release 13
Page 474
4. When in the direction in which you wish to fly, click the left mouse button to begin flying.
You begin to fly straight forward in the chosen direction.
A green arrow appears along with a circular target located at the center of the view, like when using the
beginner's fly mode.
The speed at which you first approach the object depends on the initial distance from the object, and is
calculated automatically. The speed is optimized so that you reach the point you target in approximately 10
seconds.
5. Still holding the middle button down, drag left or right to change direction.
You fly in the direction in which you drag. The further you drag away from the center of the view, the
greater the change in direction.
6. Drag the cursor towards the center of the view to continue flying forward in the new direction:
Infrastructure
Version 5 Release 13
Page 475
Pressing the PageUp and PageDown keys modifies your speed. Speed is indicated in the status bar.
Each press of the key increases or decreases the speed by approximately 40%.
You can also set gravitational effects, mouse sensitivity and collision detection using the appropriate
options in the same Visualization tab, like when using the beginner's fly mode.
Version 5 Release 13
Infrastructure
Page 476
Changing Views
Individual views are created as you navigate through your design in examine, walk and fly modes.
Views are stored and can be reviewed. In walk and fly modes, views are created each time you
pause during your walkabout or fly around.
1. Navigate in Examine mode (zoom, pan, etc.) to create and save several different views.
2. Select the View->Modify->Previous View command.
The previous view is displayed in the geometry area.
3. Select the View->Modify->Previous View command again.
Version 5 Release 13
Infrastructure
Page 477
1. Select View->Ground.
The ground plane is displayed in the geometry area.
To hide the ground, simply repeat the same step.
2. Drag (left mouse button) the ground up or down to a new location, then release the mouse
button.
The ground is repositioned as defined.
Infrastructure
Version 5 Release 13
Page 478
Magnifying
This tasks explains how to obtain a magnified view of your document in a separate window.
The section magnified is defined by the magnifier viewport which appears over the object
in your document:
Version 5 Release 13
Infrastructure
Page 479
2. Point to the + symbol and drag it to move the viewport and magnify another area of the
document:
3. Point to one of the handles and drag it to size the magnified area up and down.
symbol appears.
Infrastructure
Version 5 Release 13
All the viewing and manipulations performed in the document window are also reflected
in the Magnifier window. For example, rotate the object to see how the object is also
rotated in the Magnifier window:
Page 480
Page 481
Version 5 Release 13
Infrastructure
Looking At Objects
This tasks explains how to look at the document in a specific direction by targeting through a userdefined viewport.
Before
After
Page 482
Version 5 Release 13
Infrastructure
Before
After
Page 483
Version 5 Release 13
Infrastructure
icon in the
View toolbar.
Before
After
Version 5 Release 13
Infrastructure
Page 484
Snapping Viewpoint
This tasks explains how to adjust the viewpoint automatically after rotating it so that it matches
the standard view it comes closest to.
2. Manipulate the current viewpoint by rotating the object using the mouse (press and hold
down the middle mouse button then press the left/right button and drag still holding both
buttons down):
Note that the viewpoint will not be snapped if you use the compass to manipulate the
viewpoint.
Version 5 Release 13
Infrastructure
The viewpoint is adjusted and snapped to the nearest standard view (Top View in our
example) is applied:
To deactivate viewpoint snapping, simply click the Viewpoint Snapping icon or uncheck
the Viewpoint Snapping command from the View menu.
Page 485
Infrastructure
Version 5 Release 13
Page 486
Version 5 Release 13
Infrastructure
Page 487
Hiding Objects
This task explains how to hide objects by transferring them to the No Show space (they are no
longer displayed).
1. Select an object.
In our example, select the line.
View->Hide/Show->Hide/Show command.
The object is no longer displayed: it has been
transferred into the No Show space.
In our example, the line is no longer displayed.
Note also that if you have several document
windows open containing the same objects, the
object is transferred to the No Show space in
each document window.
Note: In case you select multiple elements, only the space of the first selected element
will be taken into account by the Hide/Show command. For instance, if the first element
of the multi-selection is in the No Show space, the Hide/Show command will transfer all
the selected elements to the Show space, whatever their original space.
Infrastructure
Version 5 Release 13
Page 488
After selecting an object, you can also use select the Edit->Properties command, click
the Graphic tab, and set the Shown option to achieve the same effect.
A component placed in no show in the product structure will appear in low highlighting in
the tree.
Version 5 Release 13
Infrastructure
This task explains how to display objects transferred to the no show area.
1. Display the same geometry as in the preceding
example,
In our example, a line which was originally
displayed is now in the no show area.
icon to display
Note: In case you select multiple elements, only the space of the first selected element
will be taken into account by the Hide/Show command. For instance, if the first element
of the multi-selection is in the No Show space, the Hide/Show command will transfer all
the selected elements to the Show space, whatever their original space.
Page 489
Infrastructure
Page 490
Version 5 Release 13
You can continue working on objects in the No Show space. You can also select objects
and transfer them back to the Show space using the Hide/Show
icon.
Version 5 Release 13
Infrastructure
Page 491
the Wireframe (NHR) and Dynamic Hidden Line Removal (HRD) modes are not
accessible from the View toolbar anymore. These two rendering styles can now be
activated from the Custom View Modes dialog box
customized view parameters can be applied by selecting the Customize View
Parameters icon in the View toolbar or the View->Render Style->Customize
View Parameters command. This opens the Custom View Modes dialog box with the
options that have been previously activated. Just click OK to apply these view
parameters to your document.
Page 492
Version 5 Release 13
Infrastructure
Shading (SHD)
This tasks explains how to display objects in shading mode.
Setting a part in Dynamic hidden line removal mode to Shading mode has the following
effect:
Before
After
Page 493
Version 5 Release 13
Infrastructure
1. Select the View->Render Style->Shading with Edges command or click the Shading
with Edges
icon.
Setting a model from Shading to Shading with Edges has the following effect:
Before
After
Version 5 Release 13
Infrastructure
Page 494
Three basic rendering styles are also provided in the Customize View Modes dialog box to let you manage more easily the
visualization of edges. Refer to the corresponding documentation for detailed information.
1. Select the View->Render Style->Shading with Edges without Smooth Edges command or click the
Shading with Edges without Smooth Edges
icon.
Setting a shaded model from Shading with Edges to Shading with Edges without Smooth Edges has the
following effect:
Page 495
Version 5 Release 13
Infrastructure
1. Select the View->Render Style->Shading with Edges and Hidden Edges command or click the Shading
with Edges and Hidden Edges
icon.
Setting a model from Shading with Edges to Shading with Edges and Hidden Edges has the following effect:
Before
After
Version 5 Release 13
Infrastructure
Page 496
icon.
Note that you can also select the View->Render Style->Customize View
Parameters command then check the "Material" option.
Setting a shaded part to Shading with Material has the following effect:
"Shading" only
"Shading" + "Material"
("Roughcast" material has been applied)
Version 5 Release 13
Infrastructure
Page 497
Shading
Transparent
Wireframe.
When V5 elements have been assigned one of the above-mentioned rendering styles, this style supersedes the one of the 3D
window.
Note: rendering styles are taken into account in the following order: first, the rendering style of the parent document and then,
the rendering style of the child document. For instance, if you apply the "Wireframe" rendering style to a product and the
"Transparent" rendering style to its part, activating "Rendering style per object" will display the whole object in wireframe. But if
you select the product then set it to "No Specific Rendering", then the object will be displayed as "transparent". This is also true
for geometrical sets.
This scenario assumes that rendering styles have been defined for the various elements contained in your sample document.
In the example below, two surfaces have been selected and assigned two different rendering styles:
Surface 1:
"Wireframe" rendering style
Surface 2:
"Shading with Edges" rendering style
Version 5 Release 13
Infrastructure
Page 498
2. Check that the Shading mode is activated and see the result in the geometry area:
The whole object is displayed in "Shading" mode even if some elements have been assigned a different rendering style.
3. Now, activate Rendering style per object in the Options area. This displays each element with its specific rendering
style:
Infrastructure
Version 5 Release 13
In our example, Surface 1 is displayed in "Wireframe" mode and Surface 2 in "Shading with Edges" mode.
For detailed information on the various rendering styles available in the Custom View Modes dialog box, refer to
Customizing the View Mode.
Page 499
Infrastructure
Version 5 Release 13
Page 500
Note that you can also select the View->Render Style->Customize View Parameters command.
Version 5 Release 13
Infrastructure
Page 501
In our example, the Shading parameter is checked: this means that the view mode for the current
document is "Shading".
2. Customize your own view parameters by checking or unchecking the appropriate options.
In certain cases, checking one option may also activate other options. Each time you check or
uncheck an option, the current view is updated dynamically to take your settings into account.
All edges
Displays objects with all edges, whatever their type (smooth or not). You can also use the
Shading with Edges command. This mode replaces the former "Smooth Edges - visible" mode
available in the Tools->Options->General->Display->Visualization tab.
All edges
Wireframe: when "All edges" is activated, you can deactivate the "Shading" mode to
display the object in wireframe. However, note that the Version 5 wireframe display does
not correspond to the Version 4 display. The full equivalence may be obtained by checking
"All edges" and "Outlines".
Version 5 Release 13
Infrastructure
Wireframe
All edges
No smooth edges
Hides smooth edges on your objects. You can also use the Shading with Edges without
Smooth Edges command. This mode replaces the former "Smooth Edges - invisible" mode
available in the Visualization tab.
Do not forget to activate "Edges and points" in order to be able to check "No smooth edges":
Page 502
Page 503
Version 5 Release 13
Infrastructure
All edges
No smooth edges
Outlines
This option is useful if you always want to display outlines for parts created from surfaces of
revolution, for example, shafts, and cylinders. This setting determines whether you see outlines or
not.
"Outlines" off
No shading
"Outlines" on
No shading
Whereas edge display is computed by your workstation's graphic adapter, outline display is computed
by the display software. Note that, in large assemblies, displaying outlines may affect display
performance. You may want to switch outline display off in this case.
Isoparametrics
This option is used in conjunction with the "Enable isoparametrics generation" option available in the
Performance tab.
No isoparametrics
Page 504
Version 5 Release 13
Infrastructure
Mesh
Shading
This area lets you define the type of shading to be used when displaying objects. You can choose
among the following modes:
Gouraud
Displays objects in Gouraud shading. This surface-shading technique interpolates linearly a color
or a shade across a polygon in order to make the object appear smoother. This is the default
visualization mode:
"Gouraud" shading
Material
Lets you visualize materials that have been applied onto your objects. You can also use the
Shading with Material command.
Refer to "Applying Materials" in the Version 5 - Real Time Rendering User's Guide for detailed
information on how to use materials.
"Gouraud" shading
"Material" shading
(with "Roughcast" material)
Version 5 Release 13
Infrastructure
Triangles
Displays the triangles on the object's faces as shown below:
"Gouraud" shading
Page 505
"Triangles" shading
Transparent
Enables you to display the whole object in transparency mode provided that the Shading option is
activated.
"Gouraud" shading
"Transparent" shading
Version 5 Release 13
Infrastructure
"Gouraud" shading
Page 506
"Gouraud" shading
Options
Rendering style per object
This option lets you take into account the rendering style of V5 elements when visualizing them in a
3D window.
Refer to Rendering Style per Object for detailed information.
Infrastructure
Version 5 Release 13
Page 507
3. Select OK if you want to save your customized view parameters, or Cancel to exit without saving them.
When selecting OK, your view parameters are stored with your settings.
You can then apply these settings to the current document by selecting the Customize View
icon in the View toolbar or the View->Render Style->Customize View
Parameters
Parameters command: this will re-open the Custom View Modes dialog box with the options you
have previously activated. Just click OK to validate and apply the view parameters to your document.
Infrastructure
Page 508
Version 5 Release 13
Perspective view
Parallel View
Perspective is related to the size of the object being viewed, and the distance of the object from the observer.
Note that, before using the Walk and Fly navigation modes, you must be in a perspective view.
Infrastructure
Version 5 Release 13
Page 509
Infrastructure
Version 5 Release 13
Page 510
Page 511
Version 5 Release 13
Infrastructure
The three sliders at the bottom of the dialog box control respectively (from top to bottom):
ambient coefficient: defines the intensity of light emitted in any direction by the object, even if not
lit by any light source. The ambient light is essentially used to show objects or parts of objects that
are not illuminated directly by the light source.
Ambient = 0.50
Ambient =
1.00
diffuse coefficient: defines the intensity of light diffused by the object when lit by a light source:
Diffuse = 0.50
Page 512
Version 5 Release 13
Infrastructure
Diffuse = 1.00
specular coefficient: defines the intensity of light reflected in one particular direction. This
coefficient affects the highlight on shiny surfaces. The higher the value, the bigger the the specular
spot:
Specular = 0.50
Specular =
1.00
To define the desired value, you can drag the desired slider or use the spin box next to it either by
clicking the up and down arrows or by entering a value directly in the field.
2. Drag the handle down and towards the bottom right: the light is now coming from the bottom right:
Infrastructure
Version 5 Release 13
Page 513
Version 5 Release 13
Infrastructure
Page 514
In our example, using two light sources means that the lighting is now too bright.
4. Drag the brightness slider (the first slider in the list) to the left or use the spin box next to it to reduce
the brightness.
Version 5 Release 13
Infrastructure
Page 515
5. Now drag the lower handle up towards the top left to change the direction of the corresponding light
source.
Infrastructure
Version 5 Release 13
Page 516
Infrastructure
Version 5 Release 13
Page 517
Infrastructure
Version 5 Release 13
You can also color light sources using the color chooser.
Page 518
Version 5 Release 13
Infrastructure
Page 519
2. Drag the cross inside the spectrum to instantaneously change the color in the small box below the
spectrum.
The HSL (Hue, Saturation and Luminance) and RGB (Red, Green and Blue) values vary according to
where the cross is located. You can also enter HSL and RGB values in the fields provided to suit your
exact color specifications.
Move the arrow up or down to vary the brightness of the custom color.
Version 5 Release 13
Infrastructure
Page 520
This tasks explains how to achieve 3D depth effects, namely, clipping geometry between clipping
planes and creating fog effects.
You can keep the Depth Effect dialog box open and continue working with other
commands. You will be able to understand the results obtained by setting depth effects
by zooming in and out.
Version 5 Release 13
Infrastructure
You can also drag the vertical lines representing the near and far clipping planes to
produce the same effect.
Page 521
Version 5 Release 13
Infrastructure
The back (far) section of the geometry is clipped. You now only see what is located
between the near and far clipping planes.
Page 522
Version 5 Release 13
Infrastructure
Page 523
Infrastructure
Version 5 Release 13
Page 524
Version 5 Release 13
Infrastructure
Page 525
This task explains how to use standard views. Standard views are predefined viewpoints you can use to display your
document.
*front
*back
*left
*right
*top
*bottom
*iso.
When you apply standard views, the views are no longer rezoomed. Note also that, if the "Animation during
viewpoint modification" option is checked in the Navigation tab, the change of view will be animated.
Version 5 Release 13
Infrastructure
Page 526
You can also use the quick access icon bar (accessed via the View toolbar) for applying standard views more
quickly.
3. You can modify the standard view properties by selecting a view in the list then clicking the Properties button. The
Named Views Properties dialog box is displayed:
Version 5 Release 13
Infrastructure
Page 527
4. Select one of the three standard views by clicking it from the "Orientation to apply" pulldown list: By Default, By
Default (Reversed) which means that the orientation will be reversed along X and Y axes or Custom if you want to
define your own orientation.
If you select Custom, you can click the end of each grey arrow to modify the orientation as shown below (just
keep on clicking the arrow until you reach the desired orientation):
Version 5 Release 13
Infrastructure
Page 528
5. The Use local axis option lets you position standards views according to the default or current axis system, whether
defined locally or not.
To set an axis as current, just right-click it in the specification tree then select the Set as current command.
In case your current axis sytem is left-handed, the standard views will be positioned according to the global axis
system.
For detailed information about defining a three-axis system locally, refer to Axis System.
6. If you want to select by yourself the axis to be used to position your view, click the Select axis to use option. This
activates the Start axis selection button.
7. Click the Start axis selection button then select the axis according to which your view will be positioned.
Version 5 Release 13
Infrastructure
Page 529
1. Select the
View>Named
Views...
command and
double-click
the desired
view.
You are
now ready
to
customize
the view.
2. Adjust the
different view
parameters
(zoom,
rotation, etc.)
until you are
happy with
the result.
Version 5 Release 13
Infrastructure
3. Select the
View>Named
Views...
command,
then click the
Add button to
add the view
to the list.
The default
name of
the view is
"Camera
1", and the
name is
also
displayed in
an editable
field below
the list.
4. Rename the
view in the
editable field
as required
and press
Enter, or click
Apply.
Page 530
Version 5 Release 13
Infrastructure
5. If you want to
set the
camera
properties
(the
properties of
the view),
click the
Properties
button to
access the
Camera
Properties
dialog box.
Page 531
Version 5 Release 13
Infrastructure
Page 532
Target: coordinates of the center of rotation of the camera (the point located at the
center of the viewport). You can set the center of rotation by clicking the middle mouse
button on the desired point: the coordinated are memorized with the camera
View angle: sets the angle of the pyramid-like shape with which you look at the
geometry (available in perspective views only). A large angle has the effect of zooming
out to make the geometry look small; a small angle has the reverse effect
Zoom: zoom factor (available in parallel views only).
6. If you want to modify any customized view you already saved, select it, modify the view
parameters again, then click the Modify button to save your changes.
When working in P3 mode, you can use an alternate method to define the view angle. Refer
to Editing the View Angle for detailed information.
You can also delete views by selecting the view from the list and clicking the Delete button.
The Reverse button lets you view the object from the reverse angle.
Only the VRML 97 format is supported and therefore, you need to check that the "VRML 97" option is
activated in the VRML tab before saving your document.
1. Select the File->Save As... command then choose the wrl format in the "Save as type" list.
Infrastructure
Version 5 Release 13
Page 533
2. Open your document in a VRML viewer: the named views defined in Version 5 are accessible.
Infrastructure
Version 5 Release 13
Page 534
Version 5 Release 13
Infrastructure
Page 535
The document looks like this when you first open it:
1. Click the "+" symbol next to PadandCylinder, then the "+" symbol next to Pad to see the following:
Version 5 Release 13
Infrastructure
You can now see clearly that the two features are named PadandCylinder and Pad.
Page 536
Version 5 Release 13
Infrastructure
Page 537
None
0 General
1 - 999 (even though they are not visible at first in the Layer list).
3. Select PadandCylinder in the tree, click the arrow on the Layer box, then select "0 General" from the list.
PadandCylinder is assigned to the layer "0 General". The Layer box now looks like this:
see only the number because all layers are identified primarily by their number.
. You
Infrastructure
Version 5 Release 13
Page 538
If no objects are selected, the current layer is displayed in the Layer box. If an object is selected, the name of
the layer on which the object is located is displayed in the box. Consequently, to find out which layer an object
is assigned to, select the object and look at the Layer box
You can also create new objects on a specific layer by setting the appropriate layer in the Layer box first. Any
new objects will be created on this new current layer
The link between a given feature or object and a given layer is stored with the document
To change the current layer, first make sure no object is selected, then enter the layer number in the box
Version 5 Release 13
Infrastructure
Page 539
Version 5 Release 13
Infrastructure
Page 540
4. Click OK.
The layer you just added ("Layer 1") is now the current layer, and it is displayed in the
Layer box like this:
If you select an object before creating the new layer, it will be transferred automatically
to the new layer created.
Version 5 Release 13
Infrastructure
Page 541
Note: the Delete button lets you remove the name of the layer you selected from the
list (except if this is the name of the current layer). Clicking the Delete button will not
delete the layer itself since a layer cannot be removed.
However, naming a layer is totally independent from assigning objects to it. As a
consequence, you can edit or remove the layer name without impacting the geometry.
Visualization filters referencing this layer will still be valid as well as any objects you may
have assigned to it.
Clicking the Num and Name buttons presents the lists in numerical and alphabetical
order.
the current filter and filter description (refer to "Using Visualization Filters").
3. Rename the layer as desired by using the Other Layers... command as described in "Using
the Named Layers Dialog Box".
Whichever method you use, note that you do not create any new layers as such: the
layers 0 - 999 are automatically provided. Adding layers adds them to the list in the
Named Layers dialog box, and to the list in the Layers box.
Version 5 Release 13
Infrastructure
Page 542
The document looks like this when you first open it:
Version 5 Release 13
Infrastructure
Page 543
The default current filter "All visible" is applied automatically: it lets you see all the contents of the
document. This filter cannot be deleted.
Criterion: this list box contains the operators you can use: =, !=, >, <, <= and >=;
The default operator is "="
the list box to the right lists the named layers (you can type any layer number between 0 and 999)
And and Or buttons provide you with the corresponding logical functions for combining layers:
"And" lets you add criteria (for instance, "Layer=0 & Layer=1" means that objects displayed in
both layer "0" and layer "1" will be displayed)
"Or" lets you filter according to at least one of the criteria you define (for instance, "Layer=0 +
Layer=1" means that objects contained in layer "0", or in layer "1", or in both layers will be
displayed).
Version 5 Release 13
Infrastructure
The Filter list specifies the final filter syntax. The default filter syntax is:
layer = 0
which means that the filter contains layer "0".
layer = 0 & layer =1
means that the filter contains layer "0" AND layer "1".
layer = 0 + layer = 1
means that the filter contains layer "0" OR layer "1".
4. Click OK.
This creates a new
filter "Filter001"
(with the default
filter syntax) in the
Visualization Filters
dialog box:
Page 544
Page 545
Version 5 Release 13
Infrastructure
When pointing to the desired filter name, a tootip indicates whether the filter definition location is stored
in the document or in the user settings (i.e. the CATSettings directory).
However, bear in mind that this tooltip is displayed for information only, you cannot modify the storage
location which has been set as explained below:
Note that you can also customize the filter application. For more information, refer to Customizing Layer
Filters.
5. Select the root object Layers in the tree, then select the View->Toolbars->GraphicProperties command
to look at the Graphic Properties toolbar.
6. Click the Layer box, then type "0".
The root object is now assigned to the layer number "0".
7. Select PadandCylinder in the tree, click the arrow on the Layer box, then select "0 General" from the list.
PadandCylinder is assigned to the layer "0 General". The Layer box now looks like this:
8. Select Pad in the tree, click inside the Layer box, then type "1".
Pad is assigned to the layer "Layer 1". The Layer box now looks like this:
9. Select "Filter001" in the Visualization Filters dialog box and click Apply.
The objects are no longer displayed, and the filter remains active.
10. This time, select the root object Layers in the tree, click the Layer box, then type "1" to assign it to layer
"1".
The filter is still active, but this time only the object Pad becomes visible:
Infrastructure
Version 5 Release 13
To see all the objects again, select the "All visible" filter then click Apply.
Page 546
Infrastructure
Version 5 Release 13
Page 547
Version 5 Release 13
Infrastructure
Page 548
You can create macros either by recording an interaction sequence or by editing a file (written in a
scripting language) to insert the functions you wish. You can also modify an existing macro, either
recorded or created from scratch, to best fit your needs. Once the macro is created, you can run it
by selecting Tools->Macro->Macros..., selecting the macro, and clicking Run.
Macros can be stored in the current document or in a file in an external library. If a macro is
created while a document is current, either by means of recording an interaction sequence or
editing a file, and is stored in an external file, a link is kept in the current document to the file
containing the macro.
Script Development Tools and Languages
You can use the following scripting tools and languages, depending on the platform you are running
on.
On Windows
CATScript: these macros are written in Basic Script, stored in CATScript-type documents, and
can be run on both Windows and UNIX
Visual Basic Script (VB Script), at minimum level 5.0 , which is part of the operating system:
macros written in Visual Basic can be run on both Windows and UNIX.
The use of VB Script is recommended for developing Windows/UNIX-compatible macros.
Although CATScript macros written in previous releases continue to work, we recommend that
you prefer VB Script to CATScript
Visual Basic for Applications (VBA) Version 6.0: this product is installed with Version 5: macros
written using VBA can only be run on Windows. Among the advantages of using VBA, note that:
On UNIX
Visual Basic Script 3.0 for UNIX (from Mainsoft) (shared libraries are installed when installing
Version 5).
Infrastructure
Version 5 Release 13
Page 549
Recording a Macro
This task explains how to record a macro from a dialog sequence.
You can store the recorded macro in the current document or in a file. Even if you choose to store the
macro in a file, if a document was current when you began to record the macro, a link is created in
this document to the file storing the macro, and the macro can afterwards be selected and run using
this link from the document. If you want to record a macro that is not pointed to by any document,
you need to store the macro in a file, and you can either start recording with no current document, or
delete the created link from the current document when the macro is recorded.
in a macro library: the macro will be stored in a directory (or a VBA project if it exists)
What macro types you can store and where you can store them are summarized in the
following table:
Page 550
Version 5 Release 13
Infrastructure
Where Stored
Language
Used
Editor
File
Extension
In Document
In Directory
In VBA
Project
CATScript
(Basic Script)
Default or
external
.CATScript
Yes
Yes
No
VB Script
(Visual Basic)
Default or
external
.catvbs
Yes
Yes
No
VBA
Visual Basic
Editor only
.catvba
No
No
Yes
Opening the list for this option displays the following by default:
By default, the only macro library library available is your E: folder. You can also choose to
store the macro in the current document (a CATProduct document in our example).
3. Click the Macro libraries... button if you want to add, create or remove macro libraries.
The Macro libraries dialog box appears:
Infrastructure
Version 5 Release 13
Only the E: folder is available because you have not yet created any other macro libraries.
Page 551
Version 5 Release 13
Infrastructure
Page 552
5. Click the Add existing library... button and navigate to select the library or VBA project, or
click the Create new library... button and create the new macro directory of VBA project, and
provide names when prompted.
You can also select a library from the list then click the Remove selected library button to
delete it.
6. Make sure the Language used: option is set to the desired language.
10. When this is complete, click Stop in the Stop Recording dialog box, or select the Tools>Macro->Stop Recording command. Your macro is now ready for replay.
Version 5 Release 13
Infrastructure
Running a Macro
This task explains the different methods of running a macro.
Method 1
Method 2
1. Explore your file system and locate the .CATScript file.
Page 553
Version 5 Release 13
Infrastructure
Page 554
2. Double-click the .CATScript file, or select the file and select the Open contextual command.
A session is started and the macro is executed.
Double-clicking a .catvbs macro does not run the macro.
Method 3
1. On Windows, run a command like this:
cnext -env CATIA.V5R13.B13 -macro E:\tmp\Mymacro.CATScript
or like this:
cnext -env CATIA.V5R13.B13 -batch -macro E:\tmp\Mymacro.CATScript
to run the macro in batch mode, where "Mymacro.CATScript" is the name of the macro
file.
On UNIX, run a command like this:
CNEXT -macro "/tmp/Mymacro.CATScript"
CNEXT -batch -macro "/tmp/Mymacro.CATScript"
or like this:
./catstart -d /CATEnv -env CATIA.V5R13.B13 -object "-macro /tmp/Mymacro.CATScript"
./catstart -d /CATEnv -env CATIA.V5R13.B13 -object "-batch -macro
/tmp/Mymacro.CATScript"
to run the macro in batch mode, where "Mymacro.CATScript" is the name of the macro
file.
You can add macros to a toolbar using the Tools->Customize... command. Select the Commands
tab, then the Macros category: all the macros will be detected and listed. You can then drag and
drop them onto toolbars for convenient access.
Infrastructure
Version 5 Release 13
Editing a Macro
In our example, we already created "Macro1.vbs" using VB Script, which is preselected and listed in the available macros list.
Use the "Current macro library or document" field or the "Macro libraries" button if you have other macros available.
If the macro is a CATScript document or a VB Script file, the default editor is displayed like this:
Page 555
Infrastructure
Version 5 Release 13
Page 556
You can change the editor for CATScript and VB Script macros by using the Macros tab. For more information, refer to Macros.
If the macro is a .catvba project module, the VBA editor is displayed like this:
Infrastructure
Version 5 Release 13
Page 557
On UNIX
By default the emacs is opened by default. You can always replace it by your favorite editor by exporting the EDITOR variable.
Use the Rename... button to rename the selected macro, the Delete button to delete it.
Use the Select... button and navigate to select a macro if it is not stored in a macro library.
3. Modify the macro instructions as you want, and save the macro, or cancel the modifications.
Version 5 Release 13
Infrastructure
2. Set the current macro library or document for storing the macro.
3. Click the Create... button, select the type of macro to create and name it.
Page 558
Infrastructure
Version 5 Release 13
Page 559
Infrastructure
Version 5 Release 13
Page 560
Linking the document means that all changes made to it in a Version 5 session are also made
to the document inserted in the OLE-compliant application.
However, if you move the target file to another directory the link is severed. The graphic
representation still exists but can no longer be edited (unless the link is repaired via the EditLinks menu in the OLE-compliant application.
Embedding the document means that a copy of the document is inserted in the document within
the OLE-compliant application. As no links are created, any changes made to the document in
the Version 5 session are not made to the document in the OLE-compliant application.
The linked or embedded document appears as an image (or, if you specify otherwise, as an icon).
When the document is double-clicked, a normal Version 5 session is displayed.
Version 5 Release 13
Infrastructure
Page 561
Version 5 supports the Microsoft /regserver and /unregserver options for OLE. If you experience
problems with OLE features, for example, if double-clicking a document icon does not start a
session as expected:
1. Log on as administrator.
2. Open a command prompt window.
3. Go to the folder where Version 5 is installed, typically:
C:\Program Files\DassaultSystemes\B13\intel_a\code\bin)
4. Run the following command once only:
cnext /regserver
If you have installed several levels of Version 5, running this command activates (for OLE purposes)
the level of Version 5 installed in the folder in which you run the command.
Version 5 Release 13
Infrastructure
Page 562
2. In the Object dialog box, click on the Create from File tab.
3. Click on Browse...
4. In the Browse dialog box, specify the file location and click on OK to confirm.
5. A frame containing OLE.CATProduct is inserted at the desired location in your OLE-container file:
Version 5 Release 13
Infrastructure
Page 563
6. If you want to work on the Version 5 document, double-click on this frame. A normal Version 5
session is displayed.
However, the opened document is not the original one you inserted in your OLE-compliant
application: it is a temporary document (with a different name) stored in your temporary settings
located in the CATTemp folder.
When you have finished making the changes, close and save the Version 5 document. Bear in
mind that any changes you could make and save in Version 5 are saved in this temporary
document.
You will see that the changes you have just made are reflected in the OLE-container document.
If you click again the frame in the OLE-container document, you will see that the temporary
document re-opens in Version 5 (with the modifications you have saved, if any). If a session is
already running, the document will re-open in the current session, otherwise a new Version 5
session will start.
Note: deleting the frame in the OLE-container document closes the document in Version 5.
Infrastructure
Version 5 Release 13
Display as icon: if you prefer the Version 5 document to appear iconified, select this option.
Page 564
Version 5 Release 13
Infrastructure
Page 565
1. In the OLEcompliant
application,
place the
cursor where
you wish to
insert the new
data and
select the
Insert->Object
command.
The Object
dialog box
appears:
2. In the Object dialog box, check that the Create New tab is selected.
The document type CATIA Model is listed but cannot be selected (because it is non-editable).
4. Click on OK to confirm.
Version 5 Release 13
Infrastructure
5. A gray frame
is inserted at
the desired
location in
your OLEcontainer file
and a normal
Version 5
session
appears:
6. When you have finished working on the new document close and save it.
In the Object dialog box, there is the option Display as icon. If you prefer the Version 5
document to appear iconified, select this option.
Page 566
Version 5 Release 13
Infrastructure
Page 567
3. Click in the geometry area and drag your cursor to draw a rectangle around the part you
see in OLE.CATPart:
Version 5 Release 13
Infrastructure
Page 568
5. Once the captured image is generated, the Capture Preview window opens and you can then
click the Copy
The selected image is now in the clipboard from where it can be pasted into an OLEcompliant application.
In the Paste Special dialog box, there is the option Link to file.
For more information about this option, see "About Object Linking and Embedding (OLE)"
Infrastructure
Version 5 Release 13
Page 569
Infrastructure
Version 5 Release 13
Page 570
This task shows you how to send Version 5 data in the mail. (This is available on Windows only.)
All the data, including linked documents, is included in the send, provided it can be found. Any data that can be opened in a Version 5 session, including
V4 models, can be sent.
Before doing anything, make sure you have saved all the files you intend to send.
2. Select the File->Send To Mail command. The Send To dialog box appears:
Infrastructure
Version 5 Release 13
Page 571
Version 5 Release 13
Infrastructure
Page 572
In the upper part of the dialog box you can see a list of all the different documents linked to the document you selected for the send operation.
The four columns provide information about the file name, the file type, the location and whether or not the file was found.
between the two lists. The dialog box will then look something like this:
Infrastructure
Version 5 Release 13
Page 573
The files have now been sorted. The list in the lower part of the box shows a list of those files that will be sent. In the upper list remain those
files that could not be found. This can be remedied by using the Tools->Options->General->Document tab or Edit->Links commands (see
"Linked Document Localization" or "Editing Document Links").
If you prefer, you can select the files in the upper list individually and transfer them to the lower list using the icon
If you want to select the files by type, place the cursor inside the list and right-click to display the list of file types and then select the
appropriate type. (Selecting by type in this way operates of course in the lower list as well.)
Before sending your documents in the mail, you may want to check the size of the documents to be sent. You will find this in the lower lefthand corner.
The OK button may be grayed out. This means that problems shown in the Problem column have not been resolved.
Page 574
Version 5 Release 13
Infrastructure
As well as the information provided in the upper list, the lower list also contains a column showing potential problems such as duplicate file
names. There are two occurrences of duplicate file names in the case shown above. There are different ways of resolving this. You can:
select one of the identically named files and click the icon
to move it to the upper list i.e. not include it in the files to be sent
To cancel the rename, select the new name just entered in the Rename dialog box, delete it and click OK. The old name is restored.
You can of course move all files to the upper list at any time by using the icon
5. Click OK. You will now be prompted to give the name of your e-mail system.
Version 5 Release 13
Infrastructure
Page 575
If the document to be copied is linked to others, those documents will also be copied to the directory (or diskette)
you choose, provided they can be found.
Any data that can be opened in a Version 5 session, including V4 models, can be copied.
Before doing anything, make sure you have saved all the files you intend to include in the copy.
Note: you do not need anymore to open the document(s) before sending them to a directory.
1. Select the File->Send To Directory command. If no file has been previously opened, the File Selection
dialog box appears:
If you opened files prior to selecting the File->Send To Directory command, the Send To Directory
dialog box will directly appear. Jump to step 3. to follow the scenario.
Infrastructure
Version 5 Release 13
Page 576
In the upper part of the dialog box you can see a list of all the different documents linked to the
document you selected for the copy operation.
Note that all documents are displayed, whether they are directly or recursively linked to the selected one.
The four columns provide information about the file name, the file type, the location and whether or not
the file was found.
between the two lists. The dialog box will then look something like this:
Infrastructure
Version 5 Release 13
Page 577
The files have now been sorted. The list in the lower part of the box shows a list of those files that will be
copied. In the upper list remain those files that could not be found. This can be remedied by using the
Tools->Options->General->Document tab or Edit->Links commands (see "Localizing Linked Documents"
or "Editing Document Links").
to transfer them
If you prefer, you can select the files in the upper list individually and use the icon
to the lower list.
If you want to select the files by type, place the cursor inside the list and right-click to display the list of
file types and then select the appropriate type. (Selecting by type in this way operates of course in the
lower list as well.)
Page 578
Version 5 Release 13
Infrastructure
5. If you want to keep the same directory structure in the target directory check the Keep Directory Structure
box between the two lists. Once checked, this box remains selected when you next use the Send To
Directory command.
Bear in mind that this option will not be available or will have no effect if the files to be copied have no
directory structure in common.
It might be useful, especially if copying files to a diskette, to know the size of the documents to be
copied. You will find this just above the Copy to: field.
The OK button may, as in the case shown above, be grayed out. This means that problems shown in the
Problem column have not been resolved.
As well as the information provided in the upper list, the lower list also contains a column showing
potential problems such as duplicate file names. There are two occurrences of duplicate file names in the
case shown above. There are different ways of resolving this. You can:
select one of the identically named files and click the icon
include it in the files to be copied
check the Keep Directory Structure button thus avoiding having files with the same name in the same
directory
rename one of the files using the Rename Target button
6. If you want to give one of the files a different name in the target
directory, select the file and click the Rename Target button in the lower
right-hand corner of the dialog box.
The dialog box opposite appears specifying the name of the file
selected. Enter the new name and click OK.
To cancel the rename, select the new name just entered in the Rename dialog box, delete it and click OK.
The old name is restored.
You can of course move all files to the upper list at any time by using the icon
7. Enter the path of the target directory in the Copy to: field using the Browse button if necessary and click
OK.
This field is in fact a list and contains the nine destinations last used.
8. Click OK.
Infrastructure
Version 5 Release 13
Page 579
If the target directory contains any files with the same name as any copied, the Confirm File Replacement
dialog box will be displayed. Click the appropriate button.
When the copy has been performed the Files Copied dialog box appears telling you the number, size and
type of the files copied.
Infrastructure
Version 5 Release 13
Page 580
Version 5 Release 13
Infrastructure
Page 581
2. In the General category, select the General tab, uncheck the option "Load referenced
documents", then click OK.
Infrastructure
Version 5 Release 13
Page 582
Version 5 Release 13
Infrastructure
Page 583
As you can see, the relationships between the document opened and any others are
clearly shown. You may have to click on the Fit All In icon
to see everything,
especially with complex relationships. All types of V5 data and V4 models can be viewed in
this way.
You can leave the Desk window open when you modify the relationships or add or delete
any of the documents in the view. As the view is automatically updated, you can see the
changes as you make them.
The relationship in our sample document includes a child document that has not been
loaded (see "Load
Referenced Documents"). Unloaded documents are shown in reverse video.
The colors used to identify the various document types are the following ones:
black (reverse video) for documents that are not loaded in the current session
The example below illustrates a document including a child document that has not been
found.
Page 584
Version 5 Release 13
Infrastructure
Most of the commands provided in this toolbar are available from the contextual menu as
well and will be detailed further in this task.
5. In the Desk window, select the document Part1.CATPart, then select the Load contextual
command or click the Load
The specification tree will be updated as a result i.e. the symbol representing the
document will change to that of a loaded document: the part is now loaded.
Note that you can select the Open contextual command or click the Open
the Desk toolbar whenever you want to open a document, loaded or not.
icon from
Infrastructure
Version 5 Release 13
Page 585
6. If you want to see the properties of any loaded or unloaded document, select the document
then select the Properties contextual command.
The Document Properties dialog box below appears:
Refer to Displaying Document Properties for detailed information on the Document tab.
Version 5 Release 13
Infrastructure
Page 586
You can also click the Standards tab to display the standards which may have been
defined for your document.
The Standards tab is used mainly to display drafting and generative standards (when
working with .CATDrawing documents) but it can also be used to display standards
defined for general parameters such as graphic properties or layers and filters.
Refer to Displaying Document Properties for detailed information on the Standards tab.
7. If you want to open a loaded or unloaded document, select it then select the Open
contextual command.
8. You can now unload loaded documents. Unloading a document means that this document is
not stored in memory anymore.
Select the document(s) to be unloaded in the Desk window then click the Unload
icon or use the Unload contextual command. This opens the following dialog box:
Version 5 Release 13
Infrastructure
Page 587
The "List of documents to unload" dialog box gives you information on the document(s)
that will be unloaded. Selecting an item from the list displays its preview to the right.
Click OK to validate the unload and close the dialog box or Cancel to close the dialog box
without unloading the document(s).
If one of the documents to be unloaded has been modified, a warning message will
appear instead of the "List of documents to unload" dialog box and will prompt you to:
click No if you want to save the modified document (using the File->Save
Management command) before unloading it.
or click Yes if you do not want to save your modifications and open directly the "List
of documents to unload" dialog box. In that case, your modifications will be lost.
The documents that are unloaded appear in black (reverse video) in the Desk window to
indicate that they are not loaded in the current session anymore:
Note:
when an unloaded document points to other documents, the pointed documents are
also unloaded
when unloading a part that belongs to several products, the Unload command applies
to all the products containing this part.
Once a document has been unloaded, you can load it again using the Load command.
You can also use the Desk File Management toolbar...
... to move, rename and delete documents. Note that this toolbar can be used either in
Folder or DLName document environment.
Page 588
Version 5 Release 13
Infrastructure
select the desired document(s) from the Desk then click the Move
command.
A warning window informs you that only the persistent file name(s) will be moved. This
means that the selected document(s) will be physically moved to the location of your
choice but the links to these documents will not be relocated and thus may no longer
work.
Click OK to close the warning window then use the File Reception Box dialog box that
opens to navigate to the target directory:
After clicking OK to close the File Reception Box, a pop-up message will prompt you to
validate the new location and warn you that some links may be broken. Bear in mind that
the Move command neither check nor relocate links between documents, you will have to
do it manually using the Edit->Links... command.
Note: the content of the moved document(s) remains unchanged.
Version 5 Release 13
Infrastructure
Page 589
document(s) to be moved.
A warning window informs you that only the persistent file name will be moved. This
means that the selected document(s) will be physically moved to the location of your
choice but the links to these documents will not be relocated and thus may no longer
work.
Click OK to close the warning window then use the File Selection dialog box that opens to
access the directory from which the document(s) will be moved:
Select the desired document(s) then click the Open button to access the File Reception
Box dialog box which lets you navigate to the target directory:
Infrastructure
Version 5 Release 13
Page 590
After clicking OK to close the File Reception Box, a pop-up message will prompt you to
validate the new location and warn you that some links may be broken. Bear in mind that
the Move command neither check nor relocate links between documents, you will have to
do it manually using the Edit->Links... command.
Note: the content of the moved document(s) remains unchanged.
10. To rename a document, select the document to be renamed then click the Rename
command or click directly the Rename command then use the File Selection dialog box to
navigate to the file to be renamed.
In both cases, a warning window informs you that only the persistent file name will be
modified, the name of the loaded document will not be impacted. This means that the new
document name will appear in your Explorer window, for instance, but the original name
will still be displayed when loading your document in a Version 5 session. As a
consequence, links may no longer work.
Click OK to close the warning window then enter the new name in the Rename dialog box
that opens:
Page 591
Version 5 Release 13
Infrastructure
Bear in mind that the Rename command neither check nor relocate links between
documents. If links are broken, you have to relocate them manually using the Edit>Links... command.
11. To delete one or several documents, select the document(s) to be deleted then click the
Delete
command or click directly the Delete command then use the File Selection
Be careful not to select any loaded or open document, otherwise a warning message will
inform you that the removal is not allowed.
After selecting the file(s) to be deleted, a warning window informs you that some links
may no longer work.
Bear in mind that the Delete command neither check nor relocate links between
documents, you will have to do it manually using the Edit->Links... command.
File Selection dialog box which lets you navigate to the document to be found.
Page 592
Version 5 Release 13
Infrastructure
CATDUAV5... option from the Desk toolbar. This opens the Data Upward Assistant in your
Version 5 session.
For detailed information on how to use the Data Upward Asssistant, refer to Using
CATDUA V5 in Interactive Mode in this guide.
The FileDesk workbench also lets you use the following commands:
Edit->Links: once you have selected a document shown in white (i.e. loaded) in the
Desk then the Links... contextual command or the Link Edition
icon from the
Desk toolbar.
Note that while using the Links... command, you can select other documents from the
Desk to display their related items interactively in the Links dialog box
File->Save All
File->Save Management.
For more information on these commands, refer to the corresponding task in this guide by
clicking one of the above hyperlinks.
Infrastructure
Version 5 Release 13
Page 593
Only direct links i.e. external documents directly pointed to by the active document can be displayed using the Edit->Links...
command. Thus, inactive documents must be activated before displaying their links.
Note that you can also select an element from the graph to display its links.
The file-related information in the bottom left-hand corner of the Links dialog box indicates the Pointed document, i.e.
the path and name of the document pointed to in the session.
Version 5 Release 13
Infrastructure
Page 594
Under the Links tab, several columns are displayed to provide link-related information:
"In Instance": the product instance in which the pointed element has been selected (this column is displayed for
products only)
"Link type": the type of the link, e.g. Instance, ViewLink, Import, CCP and so on
"Status": the status of the link. A link may be assigned one of the following statuses:
OK
Not synchronized
Isolated.
Note: when working with a disconnected network, any linked document loaded in your current Version 5 session
before disconnection will still be found and thus, will be assigned the status "OK".
However, an error message will be displayed when trying to load the document.
If the linked document has not been loaded before disconnection, the status will be "Document not loaded" and an
error message will also be displayed when trying to load or save the document.
2. Use the "Link type filter" and the "Owner Filter" drop-down lists to filter the information to be displayed respectively in
the "Link type" and "Owner" columns.
By default, these lists contain the value "All" which means that no filter is applied and thus, all links are displayed
regardless of their type and owner.
3. Click the Pointed documents tab to display only the documents pointed to by the current object. By default, the document
selected in the Links tab is also selected when accessing Pointed documents.
As soon as one of the displayed lines is selected, the Open button is activated:
Infrastructure
Version 5 Release 13
Page 595
For detailed information about managing document links using this tab, refer to Editing Document Links.
You can view the links of a specific element (without displaying those of the current document viewed as a whole) just
by selecting the desired item in the geometry before running the Edit->Links... command.
Infrastructure
Version 5 Release 13
Page 596
Only direct links i.e. external documents directly pointed to by the active document can be displayed using the Edit->Links... command. Thus,
inactive documents must be activated before displaying their links.
Note that you can also select an element from the graph to display its links.
Infrastructure
Version 5 Release 13
Page 597
Whenever a document is opened and one or more of its links are invalid, the Open dialog box appears along with the document
opened and a broken link icon appears in the specification tree.
the files could not be found which means they have been moved, renamed or deleted
or the files contain the wrong information which means they still have the same name but a content different from the files
originally pointed to.
If you click the Close button, you can select the Edit -> Links... command, the dialog box will display the following information in
the Pointed documents tab:
Just select the not found element then click the Find button to access the missing file via the File Selection dialog box.
5. Click the Desk button or double-click the file path inside the field in the Open dialog box.
You can check link validity at any time using this command.
The Desk window appears:
Infrastructure
Version 5 Release 13
Page 598
8. Explore your file system to find the file, select it, then click Open.
The File Selection dialog box disappears and the file CHC.CATPart, i.e. the file pointed to by Links.CATProduct is now displayed in
white.
9. If you want to open the CHC.CATPart from the Desk, just select it then click Open in the contextual menu:
Infrastructure
Version 5 Release 13
Page 599
For more information on the Desk, refer to the Using the FileDesk Workbench in this guide.
10. If you now select the Edit->Links... command with the EditLinks.CATDrawing document active, the Links dialog box will indicate that
the right file has been found and loaded ("OK" Status).
Infrastructure
Page 600
Version 5 Release 13
The Links tab lets you manage individually each link you select from the list:
use the Load button to load parts (and parts only) that are not loaded. The status will change from "Document not loaded" to
"Loaded"
use the Synchronize button to update the links in your document. In that case, the link Status will change from "Not
synchronized" to "OK". However, be careful when replacing elements because not all element types are compatible. For example,
a line cannot be replaced by a circle or curve as their specifications are different, and the synchronization will not be allowed
use the Activate/Deactivate button to avoid the synchronization of deactivated links during part update. A symbol in the
specification tree identifies any element being "activated" (
) or "deactivated" (
use the Isolate button to remove a link. The link Status will then change to "Isolated" to indicate that the link to the pointed
element is broken
use the Replace button to replace the selected link with another one. This button opens the File Selection dialog box to let you
navigate to the desired file. Once the element has been replaced, the new element name is displayed along with its status in the
Links dialog box.
Depending on the document environments you allowed in the Document settings, an additional window may appear simultaneously
to the File Selection dialog box to let you access your documents using alternate methods.
This additional window will allow you to, for instance, replace a link with another one pointing to an element opened in your current
Version 5 as you could it with the former Replace in Session button.
For detailed information, refer to "Opening Existing Documents Using the Browse Window".
The Refresh button lets you update the links related to the document without having to close then re-open the Links dialog box.
This is especially useful when trying to re-access pointed documents that are not found (for instance, after a network disconnection):
in that case, clicking the Refresh button avoids you to re-select the Edit->Links... command to display an updated view of the links.
11. Access the Pointed documents tab which also enables you to edit links but this time, you will manage a list of documents and not a list
of links:
Infrastructure
Version 5 Release 13
Page 601
the Replace button lets you replace a pointed document with another one and reroute any links that may exist to this
document.
To do so, select the pointed document to be replaced from the list, click the Replace button to open the File Selection dialog
box, navigate to the desired file then click Open: the file opens and the links from all pointing documents loaded in session will
be rerouted to the replacing document. Pointing documents which are not loaded in session will still point to the replaced
document.
In case a problem occurs during the replacement, a diagnosis window will be displayed.
However, bear in mind that a replacement needs to be performed under certain conditions to succeed:
It is also recommended that the replaced and replacing documents have the same internal identifier (UUID), which means
that the replacing document should have been created as a copy of the original document using the File->Save As...
command.
the Find button is relevant for broken links only: clicking it opens the File Selection dialog box to let you browse your file system
and find the missing file(s).
Note: Depending on the document environments you allowed in the Document settings, an additional window may appear
simultaneously to let you access your documents using an alternate method. For detailed information, refer to "Opening Existing
Documents using the Browse Window".
the Load button lets you load pointed documents which have been found but not loaded in your current session.
Infrastructure
Version 5 Release 13
Running Batches
Running Batches Using the Batch Monitor
Running the CATDUAV5 Batch
Running the Print Batch
Running the Downward Compatibility Batch
Running the Data Life Cycle Batch
Page 602
Infrastructure
Version 5 Release 13
Page 603
This task shows you how to run and use the CATUTIL functionality which lets you either open the Batch Monitor providing the list
of available batches, or access a specific batch interface or run a batch directly from the command line.
Note that this functionality is available on both Windows and UNIX.
Bear in mind that the Batch Monitor does not run within the Version 5 process, whether it is accessed from a Version 5 session or
from the command line. The Batch Monitor is a standalone process which means that it remains open after closing your Version 5
session.
Batches can also be submitted for execution on a remote computer, on both Windows and UNIX. Refer to Running Batches in
Remote Mode.
The four different methods you can use to run the CATUTIL command are detailed below:
On Windows
a. Open a command prompt (MS-DOS) window.
b. Change to the default folder in which you installed the product:
The default folder is:
C:\Program Files\Dassault Systemes\B13\intel_a\code\bin
c. Enter the command:
On UNIX
a. Change to the directory:
/usr/DassaultSystemes/B13/OS_a/code/command/
b. Run the command:
./catstart -run CATUTIL -Name batch_name
Infrastructure
Version 5 Release 13
On Windows
a. Open a command prompt (MS-DOS) Window.
b. Change to the default folder in which you installed the product.
The default folder is:
C:\Program Files\Dassault Systemes\B13\OS_a\code\bin
c. Still in the default folder, enter the command:
On UNIX
a. Change to the installation folder.
b. Enter the following command:
./catstart -run CATUTIL -Name batch_name name_of_xml_file.xml
On Windows
a. Open a command prompt (MS-DOS) Window.
b. Change to the default folder in which you installed the product.
The default folder is:
C:\Program Files\Dassault Systemes\B13\OS_a\code\bin
c. Still in the default folder, enter the command:
CATUTIL
The Batch Monitor window opens.
On UNIX
a. Change to the installation folder.
b. Enter the following command:
./catstart -run CATUTIL
The Batch Monitor window opens.
Page 604
Infrastructure
Version 5 Release 13
Page 605
A list of Version 5 batches along with their description is displayed in the Type column.
This list may vary according to the licenses you set up during installation:
Batch-DXF-IGES-STEP: lets you exchange data between Version 5 and DXF, IGES/STEP
ExtractModelFromSequential: lets you extract CATIA Version 4 models from CATIA Version 4 sequential files
MigrateV4ToV5: lets you convert CATIA Version 4 models into CATIA Version 5 models
CATDMUBuilder: lets you build CATProducts using given product structures and feed the cache with these product
structures
CATDMUUtility: lets you generate cgr, 3dmap, hcg, wrl and NCGM formats from a CATIA file or from a MULTICAD
file
CATDUAV5: lets you use the CATIA Version Data Upward Assistant allowing you to have a support for CATIA level
changes, to make a diagnostic, and eventually a healing of CATIA Version 5 data
Data Life Cycle: provides a user interface and capabilities common to all batches dealing with data life cycle, i.e.
CATDUAV5, Downward Compatibility and Extract Model From Sequential
DownwardCompatibility: lets you reuse Version 5 data from one release to another
The user guides containing the related documentation are detailed further in this task.
Version 5 Release 13
Infrastructure
Page 606
Note: The Help->Batch Monitor Help menu item lets you access the general online documentation on the Batch
Monitor. This menu item is now available in all tabs, i.e. Utilities, Start and Processes.
From V5R13 onwards, when selecting a batch under the Utilities tab, you can also use the Batch Monitor Help
contextual command to open the batch-specific online documentation.
icon in the top right corner (on Windows)
This batch-specific documentation can also be accessed when clicking the
or the Help button (on UNIX) in the corresponding batch interface.
However, when accessing the online documentation from the batch monitor, the framed layout containing the Home
Page, Full-Text Search, Workbench Indexes, Automation, Conventions and Copyrights buttons is not available.
At this point, you can either run the batch directly (provided that you already defined all the necessary data in the
corresponding XML file) or you may need to define the batch parameters before running the batch.
1. In the Utilities tab, select the batch then the File->Associate a parameters file command (or use the Associate a
parameters file contextual command), navigate to the folder in which you saved the XML file then click Open to validate.
2. Access the Start tab which now displays the name and location of the XML file you associated to the batch:
3. Select the File->Run command (or right-click the batch to run then select the Run contextual command): the batch
execution starts.
Note: you can instantiate another batch while the current batch is running.
The Start tab also lets you delete a batch from the list by selecting it from the list then choosing the Edit->Delete
command (or using the Delete contextual command).
Infrastructure
Version 5 Release 13
Page 607
4. Access the Processes tab to get some information on the batch execution:
start and end time, respectively in the "Beginning at" and "Ending at" columns
return code: "0" means that the batch executed correctly, "1" means that an error occurred
The Processes tab also lets you interrupt the batch execution. To do so, select the desired batch in the list then the
Interrupt contextual command.
You can also delete a batch from the list by selecting the corresponding line then the Delete contextual command.
5. To display the report of the batch execution, double-click the desired batch in the list to open the Results window:
Version 5 Release 13
Infrastructure
Page 608
This window indicates the beginning and end date and time of the batch execution as well as the name and path of the
documents that have been processed.
You can then:
click the Save button to save your results in the folder of your choice. The file formats available are .txt and .xml
click the Close button to close the window and go back to the Batch Monitor.
Infrastructure
Version 5 Release 13
Page 609
right-clicking the desired batch then selecting the New parameters file contextual command
or selecting the batch from the list then the File->New Parameters file command.
2. Set the batch parameters as explained in the corresponding documentation. For detailed information on:
AnalysisUpdateBatch: refer to the Generative Structural Analysis User's Guide - Computing Using a
Batch
Batch-DXF-IGES-STEP, refer to the Data Exchange Interfaces User's Guide - STEP/3D IGES Batch Processing
ExtractModelFromSequential, refer to the V4 Integration User's Guide - Extract Version 4 Models from Sequential
Files in Batch Mode
MigrateV4ToV5, refer to the V4 Integration User's Guide - How to Launch the V4 To V5 Migration Batch: via the
Batch Monitor
CATDMUBuilder, refer to the DMU Navigator User's Guide - Running the CATDMUBuilder Batch Process
CATDMUUtility, refer to DMU Navigator User's Guide - Running the CATDMUUtility Batch Process
Data Life Cycle, refer to Running the Data Life Cycle Batch in this guide
UpdateBatch, refer to the Generative Drafting User's Guide - Updating Drawings via the Batch Monitor.
Version 5 Release 13
Infrastructure
Page 610
3. Click the Licensing Setup... button and select a license authorizing the use of the batch you want to run.
If you run a batch without previously selecting a license, the system reads the License.CATSettings file and tries to run the
batch with the licenses found in this file.
If you do not succeed in running the batch due to a licensing problem, click the Licensing Setup... button and select a
license from the list.
When you click on this button, the system searches for both nodelock licenses installed on your computer and network
licenses accessible from your computer and displays the list of licenses found. The list displayed will contain the same
licenses visible in the Tools->Options->Licensing tab.
Then, select the appropriate license from the list.
The license is only acquired temporarily for the duration of the batch execution.
4. Click the Save button then navigate to save your XML file in the desired location.
You can now either click Run to run the batch from the interface of the selected batch or click Cancel to close the window
and go back to the Batch Monitor (if you want to start other batches for instance).
5. Access the Start tab which now displays the name and location of the xml file containing the batch parameters you defined
in step 5 as well as the name of host machine if you run the batch in remote mode:
Version 5 Release 13
Infrastructure
Page 611
6. If you did not run the batch at step 5, select the File->Run command (or right-click the batch to run then select the Run
contextual command): the batch executes.
Note: you can instantiate another batch while the current batch is running.
The Start tab also lets you delete a batch from the list by selecting it from the list then choosing the Edit->Delete
command (or by using the Delete contextual command).
7. Access the Processes tab to get some information on the batch execution:
Infrastructure
Version 5 Release 13
Page 612
name on the host machine (if you run the batch on a remote machine)
feedback on the batch completion in the "Progress" column. "100%" is displayed when the batch is ended
start and end time, respectively in the "Beginning at" and "Ending at" columns
return code: "0" means that the batch executed correctly, "1" means that an error occurred
The Processes tab also lets you interrupt the batch execution. To do so, select the desired batch from the list then the
Interrupt contextual command.
You can also delete a batch from the list by selecting the corresponding line then the Delete contextual command.
8. To display the report of the batch execution, double-click the desired batch in the list to open the Results window:
This window indicates the beginning and end date and time of the batch execution as well as the name and path of the
documents that have been processed.
You can then:
click the Save button to save your results in the folder of your choice. The file formats available are .txt and .xml
click the Close button to close the window and go back to the Batch Monitor.
Version 5 Release 13
Infrastructure
Page 613
You have already learnt how to run batches on your local machine.
However, certain batches are CPU-intensive, so in certain cases it may be advisable to distribute batch processing to optimize CPU
time on the local machine. The batch monitor lets you submit certain batches on remote machines accessible on your network.
Two implementations for remote batch execution are supported:
with the first implementation, the batch monitor requires no external software as a prerequisite since it can work using the
communications backbone packaged with the core Version 5 software
if you install and configure the IBM MQSeries Version 5.2 product, you will be able to run and monitor batches on a remote
computers using both the batch monitor and the MQSeries command line syntax.
This section concentrates on running remote batches using the batch monitor.
For full details about the administration tasks involved in setting up both the local and remote machines using both
implementations, refer to Setting Up Batch Monitoring Using the Communications Backbone and MQSeries in your Infrastructure
Installation Guide.
aix_a
hpux_b
irix_a
solaris_a.
Infrastructure
Version 5 Release 13
Page 614
the remote machine "xxxx" to which you are trying to connect does not exist
the server monitor was not started on the remote machine "xxxx".
It is essential to understand that the list of licenses comes from the remote machine.
8. Select a license and click the OK button:
Version 5 Release 13
Infrastructure
Page 615
If you run the batch without selecting a license using the Licensing Setup button, the software uses the
Licensing.CATSettings file located on the local machine, transmits the license requests to the remote machine, and
tries to locate the license on the remote machine.
If no license is found, it will try to locate and use a nodelock license on the remote machine.
9. Submit the batch.
and a variable must be exported on the local machine before starting Version 5.
1. Once all the IBM MQSeries setup tasks on both the client and server have been performed (including starting the server
monitor as was the case for the communications backbone) log onto the local machine.
2. Export the following variable on the client:
CATBATCHMQ=1
to specify that you are using the MQSeries communications driver.
3. Start a Version 5 session.
4. Select the Tools->Utility... command to access the Batch Monitor.
From here onwards, you submit remote batches in exactly the same way as described above for the communications
backbone.
Version 5 Release 13
Infrastructure
Page 616
visualize the report of the CATDUAV5 Batch execution in the Batch Monitor
For this task, you have to open the Batch Monitor dialog box either in or out of a CATIA V5 session.
To know how to access to the Batch Monitor, see Using the Batch Monitor in this guide.
Infrastructure
Version 5 Release 13
Page 617
You can also open the CATDUAV5 batch via the Data Life Cycle Batch.
Output directory: this field contains the path directory indicates where the check/upward
results and eventually the upgraded document will be stored.
Document(s) to process: this field lists all the documents you have selected in order to check
or upgrade them.
Select: this button lets you choose the documents you want to check or to upgrade.
Process pointed documents: this option lets you choose if you want to check or upgrade all
the linked components of a CATProduct.
Replace: this option lets you replace the upgraded document in the output directory you had
previously specified.
Save: this button lets you save the associated xml file. This save will let you launch other
executions of the CATDUAV5 Batch.
Infrastructure
Version 5 Release 13
Page 618
4. Choose the path directory you want and click OK in the BrowseDirBox dialog box.
The CATDUAV5 dialog box is updated and the path directory appears in the Output directory field.
Infrastructure
Version 5 Release 13
5. Click the Select button to select the document you want to check or upgrade.
The FileBox dialog box appears.
Page 619
Infrastructure
Version 5 Release 13
Page 620
6. Select the CATIA document you want to check or upgrade and click Open in the FileBox dialog
box.
The CATDUAV5 dialog box is updated and the name and the path of the selected document appears
in the Document(s) to process field.
Infrastructure
Version 5 Release 13
Page 621
Infrastructure
Version 5 Release 13
Page 622
You can immediately run the CATDUAV5 Batch either from the CATDUAV5 dialog box or from the
Batch Monitor.
Infrastructure
Version 5 Release 13
Page 623
13. Select the file associated to the batch you want to run in the Start tab.
14. Select Run in the File menu to start the batch execution.
name
To know how to have access to the results of the check/upward execution, refer to Viewing Results
of CATDUA V5 Execution in this guide.
Version 5 Release 13
Infrastructure
Page 624
Bear in mind that downward compatibility is relevant for .CATPart documents only.
If you select a CATPart document, the PartBody will be copied and pasted "AsResultWithLink" to the target
document.
Open Bodies are not converted as a whole. Only the feature defined as an external view in the Generative
Shape Design workbench will be copied and pasted "AsResultWithLink" to the target document.
in a "full batch" mode (i.e. without accessing the interface) by entering the command:
CATDownwardCompatibility -arg
CATDownwardCompatibility [-h / -id inputDirectory [-if inputfile/-il inputlist] -od
outputDirectory -action [Convert/Synchro/Info] -version CATIAV5Ri -report
reportFile.txt]
Version 5 Release 13
Infrastructure
Argument
Description
-h
Online help. Writes in the standard output the list of valid arguments
CATDownwardCompatibility [-h / -id inputDirectory [-if inputfile /
-il inputlist] -od outputDirectory -report reportFile
-h: help
-id: intput directory or DLNAME
-if: input file containing a list of documents to process
-il: input list of document to process (-if or -il parameter is mandatory)
-action: an action requested such as
-id
Input Directory
Defines the path name or the DLNAME containing the documents to
process.
This parameter is not mandatory. It is useful if all documents are
extracted from the same directory.
-if
Selection Criterion
Input file containing a list of documents to process with the appropriate
file extension.
If a document is a concatenation of path (or DLNAME) and name, the
input directory is ignored.
At least one of the (-id/-if) parameters is mandatory, (-id/-if) parameters
can be defined several times.
The batch aborts if no selection criterion is defined.
Page 625
Version 5 Release 13
Infrastructure
-il
Selection criterion
Input list of documents to process with the appropriate file extension.
If a document is a concatenation of path (or DLNAME) and name, the
input directory is ignored.
At least one of the (-id/-if) parameters is mandatory, (-id/-if) parameters
can be defined several times.
The batch aborts if no selection criterion is defined.
-od
Output Directory
Defines the pathname or the DLNAME where the converted documents
are written.
This parameter is mandatory for "Convert" action. The batch aborts if no
output directory is defined.
-action
Requested action
The action can be:
-version
Page 626
Version 5 Release 13
Infrastructure
-report
ReturnCode = 4
ReturnCode = 8
The Report File can be a concatenation of path (or DLNAME) and name. It
is automatically suffixed with ".txt".
This parameter is optional. If no Report file is defined, the report is
written in the standard output.
Page 627
Page 628
Version 5 Release 13
Infrastructure
Note: you can also run the Downward Compatibility Batch using the Batch Monitor which lets you
access a specific batch interface or run a batch directly from the command line.
In that case, an additional area will be displayed at the bottom of the window to let you select a
license using the Licensing Setup... button.
4. In the Target Directory field, key in the output directory or DLName or, click the
button to
5. If you want to convert all the documents pointed to by the document to be converted, check the
Pointed documents option.
Make sure to check this option before adding a document to the V5 Document Selected area,
otherwise it will have no effect.
Version 5 Release 13
Infrastructure
Page 629
6. When using the "Convert" action, you can check the Replace option if you want the converted
document to replace automatically the one which has been previously saved in the target directory, if
any (for instance, when you convert twice the same document and you want the second conversion to
replace the first one).
7. Click the
button to select the documents to be converted. This button opens the File Selection
dialog box which lets you navigate and select the desired documents. The selected documents will
then be displayed in the V5 Document Selected area.
The V5 Document to Process area will display the document to be converted as well as all its
dependencies (multi-model links).
In case a selected document cannot be converted, a pop-up warning is displayed to explain why the
conversion cannot be performed. You just have to re-select the document in the V5 Document
button. The selected document and all its related files will be
Selected area then click the
removed from the list, provided that these related files are not linked to another document.
8. Select the action to be performed from the pulldown list (where you see "Convert" right now):
Convert
Converts a document into a format which can be read on the target release.
For each selected document, the Report informs you about the process (i.e. converted or
not) and the result (i.e. success or failure).
Note that there are particular cases when selecting the documents to be converted:
Case 1
The document to be converted is already a conversion of another document. In that
case, it is recommended to select rather the father document than the converted
document to avoid the conversion of a converted document:
if the father document is accessible and readable, the selection of the child document
cannot be performed. A pop-up warning is displayed and prompts the user to select
the father document instead:
Version 5 Release 13
Infrastructure
The user cannot force the conversion of the child document, unless the father
document is removed or renamed.
if the father document can be neither accessed nor read (release posterior to the
execution release), a pop-up warning informs you that the document is already a
converted document:
However, the selection is accepted and the document will be considered as any
other document. The converted document will then point to the father
document and not to the original document.
In the Report window, you will be informed that the document is already a
converted document and the status of the father document (name, availability
and minimum release to be read) will be indicated.
Case 2
If the pointed document cannot be found (or has been removed), it is displayed as
being selected.
The Report window informs you that the document cannot be accessed
If a selected or pointed document is not readable in the execution release, it is
selected. The Report window informs you that the document is unreadable and will
give you the minimum release to read the document.
Page 630
Version 5 Release 13
Infrastructure
Synchronize
Synchronizes a document. This action is relevant for converted documents whose original
documents have been modified.
Selecting this option deactivates the incompatible fields which are Target Directory
(since documents are written in the same location after synchronization) and the field
indicating the target version.
For each selected document, the Report gives you information about the process (i.e.
synchronized or not) and the result (i.e. success or failure).
Note that there are particular cases when selecting documents to be synchronized:
Case 1
The document to be synchronized is not a converted image of another document: in that
case, a pop-up warning is displayed and the selection cannot be performed:
Case 2
The document to be converted is already a converted image:
All pointed documents (except the father document) are displayed in the list of
documents to be synchronized, whether they are converted images, accessible, readable
in the execution release or not. The Report window will indicate the status of each
document.
Page 631
Version 5 Release 13
Infrastructure
Info
the minimum release version enabling the document to be read without any
conversion
if the document is already a converted image:
the minimum release version for reading the father document without conversion
When swapping from one action to another, the selected documents must comply to the selection
rules of the new action.
9. Select the target release from the list: CATIAV5R6, CATIAV5R7, CATIAV5R8, and so on.
This list can be accessed in "Convert" action only, otherwise it is grayed.
Page 632
Infrastructure
Version 5 Release 13
Page 633
Version 5 Release 13
Infrastructure
Page 634
The report indicates if each of the selected documents has been processed or not along with the
result (success or failure).
The report contains only text and cannot reference images, URL links, etc.
At the end of the report, one of the following return codes will be displayed:
ReturnCode = 0
ReturnCode = 4
ReturnCode = 8
If you wish to save the report, just click the Save As Text button.
In case you want to modify your conversion parameters, you must close the Report window first
then run the batch once again.
11. Exit the Report window by clicking the cross in the top right corner or the OK button.
Note that if you run the Downward Compatibility Batch via the Batch Monitor, the report will be look
slightly different as shown below:
Infrastructure
Version 5 Release 13
Page 635
The report can be accessed by double-clicking the desired line under the Processes tab.
Then, click Close to close the window and go back to the Batch Monitor.
Running the Downward Compatibility Batch via the Batch Monitor will also generate an XML file in a
temporary folder. This file will be named BatchParameters suffixed by the hour at which the batch
was run (for instance, BatchParameters_14.41.25.xml to indicate that the batch was run at
14.21.25 PM)
However, you can save the XML file under another name and in another location by clicking the
Save button.
Infrastructure
Version 5 Release 13
Page 636
This task will show you how to run the Data Life Cycle batch. The main purpose of this batch is to provide a user interface and
capabilities common to all batches dealing with data life cycle, i.e. CATDUAV5, Downward Compatibility and Extract Model From
Sequential.
This scenario will explain how to:
You must first access the Data Life Cycle interface: to do so, you can used one of the methods detailed below.
Method 1: Accessing the Data Life Cycle batch interface from the command line
On Windows
a. Open a command prompt (MS-DOS) Window.
b. Change to the default folder in which you installed the product.
The default folder is:
C:\Program Files\Dassault Systemes\B13\OS_a\code\bin
c. Still in the default folder, enter the command:
CATUTIL -Name DataLifeCycle
The Data Life Cycle window opens.
On UNIX
a. Change to the installation folder.
b. Enter the following command:
Infrastructure
Version 5 Release 13
On Windows
a. Open a command prompt (MS-DOS) Window.
b. Change to the default folder in which you installed the product.
The default folder is:
C:\Program Files\Dassault Systemes\B13\OS_a\code\bin
c. Still in the default folder, enter the command:
CATUTIL
The Batch Monitor window opens.
On UNIX
a. Change to the installation folder.
b. Enter the following command:
./catstart -run CATUTIL
The Batch Monitor window opens.
Page 637
Infrastructure
Version 5 Release 13
Page 638
A list of Version 5 batches along with their description is displayed in the Type column. For detailed information on this
list, refer to Running Batches Using the Batch Monitor.
At this point, you may need to define the batch parameters before running the batch or you run the batch directly from
the Batch Monitor of from the command line (provided that you already defined all the necessary data in the
corresponding XML file).
Version 5 Release 13
Infrastructure
Page 639
right-clicking "DataLifeCycle" from the list then selecting the New parameters file contextual command
or selecting "DataLifeCycle" from the list then the File->New Parameters file command.
2. Click the
button to open the Document Selection dialog box which lets you search for the file(s) to be processed.
Note: you can still access the former File Selection dialog box instead by exporting the DataLifeCycle_FileBoxR12=1
environment variable.
Version 5 Release 13
Infrastructure
Page 640
3. Use the buttons displayed to select your documents. Each button opens an additional dialog box as explained below:
Member: lets you select one or several documents in the directory you specify in the File Selection dialog box.
When finished, click Open to validate and close the dialog box
All: lets you select all the documents stored in the directory you specify in the Browse dialog box. When finished,
click OK to validate and close the dialog box
String: lets you search for documents containing the string you specify. Proceed as follows:
enter a search string in the field displayed to the right. For instance, entering pad will search for documents
whose names contain the string "pad"
click the String button to open the Browse dialog box that lets you select the directory to which the filter will be
applied.
When using All and String, you can check the "Extend Selection to Sub-Directories" option to propagate the selection
to the sub-directories of the selected folder.
The Data Life Cycle window is updated and displays the name and path of the selected documents.
The Document Selection box is still displayed in foreground to let you select more documents if needed:
Infrastructure
Version 5 Release 13
The Data Life Cycle utility also supports DLNames which are identified by the string CATDLN://.
In that case, the Document Selection Box provides specific dialog boxes to let you access your documents:
clicking the Member button opens the File Selection box dedicated to the DLName environment:
For further information about this dialog box, refer to the Document task.
Click OK when finished selecting your documents.
Page 641
Infrastructure
Version 5 Release 13
Page 642
to search for a string, enter your criterion in the field then click the String button which opens the above-detailed
DLName dialog box to let you select the DLName in which you want to perform your search.
When finished, click OK to validate and close the DLName dialog box.
The list of documents displayed in the Data Life Cycle window will look something like this:
4. When you have finished selecting documents, click OK or Cancel to close the Document Selection dialog box.
You can perform the following actions on documents displayed in the list:
to remove a document from the list, select it then click the button
to save the processed document in the target directory you specified, check the Replace option. This means that if
a document with the same name already exists in the target directory, this option will automatically replace the old
document by the new one
to selet automatically all the documents pointed to by the document you select, check the Pointed documents
option.
5. In the Selected Operation area, select the utilities you want to run from the Name list.
You can select several utilities if needed, but at least one utility must be selected otherwise, you will not be able to run the
batch.
Infrastructure
Version 5 Release 13
Page 643
6. Depending on the selected utility, an additional dialog box will be displayed to prompt you to enter the necessary data. For
instance, selecting "DownwardCompatibility" opens the following dialog box:
Please read the corresponding documentation for detailed information on the available batches:
ExtractModelFromSequential: refer to "Extract Version 4 Models from Sequential Files in Batch Mode" in the V4
Integration User's Guide.
7. Enter the required data in the additional dialog box, if any, then click OK to validate.
8. Specify the target directory either by entering its path directly in the Target Directory field or by clicking the
button.
The Target Directory field contains the path of the directory in which the report(s) and, eventually, the processed
document(s) will be stored.
This field is mandatory to run the Data Life Cycle batch. By default, it is initialized with the current or temporary
directory, depending on your configuration and on the write access.
As DLNames are supported, you can specify a DLName as target directory by entering the string CATDLN:// followed by
the target DLNAME as shown below:
CATDLN://DLNAME2
or directly
DLNAME2
Version 5 Release 13
Infrastructure
If you click the
Page 644
button, you can use the BrowseDirBox dialog box to navigate to the desired directory then click
OK to validate.
When working with DLNames, you need to select a target DLName from the list displayed in the DLName dialog box
then click OK to validate.
To associate a .catvbs or .catscript file, you can either enter its name and path directly in the VB Macro field or click the
button next to the VB Macro field. Clicking this button opens:
when working in the default document environment (Folder), the standard File Selection dialog box which lets you
navigate to the script file to be used to run the selected batch(es)
when working in a DLName environment, the File Selection dialog box dedicated to DLNames. For further
information about this dialog box, refer to the Document task.
Note that the macro will be executed on each document displayed in the Document Selection list before the selected
utilities when clicking Run.
10. Click OK to validate. The name and path of the selected file is displayed in the VB Macro field.
When a batch has been run at least once or when you click the SAVE button, an XML file containing the batch
parameters is generated. In that case, you can reuse these parameters by right-clicking the Read Input from
parameters File contextual command:
This opens the File Selection dialog box which lets you navigate to the desired XML file.
Note that you can also use DLNames to access your XML file. In that case, the File Selection dialog box will slightly
differ as explained in step 11.
Once the file has been selected, click OK to validate and close the dialog box.
The Data Life Cycle window is then updated and displays all the data contained in the parameter file.
Infrastructure
Version 5 Release 13
Page 645
The next step is not mandatory and concerns users who want to save the batch parameters in a location other than the
default one (which is in a temporary folder). This may be useful if you want to postpone the batch execution or reuse
these parameters later on, for instance.
If you do not want to save the batch parameters in a specific location, skip step 12 and jump to step 13.
A dialog box will open to let you enter a name for the XML file and choose the directory in which the file will be saved.
Click OK when finished to validate and close this dialog box.
12. Click the Licensing Setup... button to select a license authorizing the use of the batch you want to run. Refer to Running
Batches Using the Batch Monitor for detailed information on selecting licenses.
14. To access information on the Data Life Cycle batch execution, click the Processes tab in the Batch Monitor interface:
Version 5 Release 13
Infrastructure
Page 646
start and end time, respectively in the "Beginning at" and "Ending at" columns
return code: "0" means that the batch executed correctly, "1" means that an error occurred
15. To display the results of the batch execution, double-click the line under the Processed tab:
path of the processed document(s). This path is the one you indicated in the Target Directory field
return code
path of the html file (named "GlobalResults.htm") containing the global results of the batch execution.
button to open directly the GlobalResults.htm file. This button is activated only once a
Infrastructure
Version 5 Release 13
Page 647
Note that if a GlobalResults.htm file already exists, it will be automatically replaced by the new one unless you specify a
save location in the Target Directory field.
The GlobalResults.htm file contains a status for each processed document. You can click the hyperlinks (for instance
"OK" next to the name of the processed document) to display more data.
For detailed information on report results specific to a batch, refer to the corresponding batch documentation.
1. In the Utilities tab, select the batch then the File->Associate a parameters file command (or use the Associate a
parameters file contextual command).
2. Navigate to the directory in which you saved the XML file then click Open to validate.
3. Access the Start tab which now displays the name and location of the XML file you associated to the batch.
Note that you can associate several parameter files in order to create a list of batches that you can run later when
needed:
Version 5 Release 13
Infrastructure
Page 648
4. Still in the Start tab, right-click the file associated to the batch you want to run then select the Run contextual command.
Running the batch generates a report containing information on the batch execution and general data are also
displayed in the processes tab.
Refer to Defining the batch parameters above then repeat steps 14 to 16 to access the various data related to the
batch execution.
(on Windows)
or
./catstart -run CATUTIL -Name DataLifeCycle xml_file
(on UNIX)