Setup Quest
Setup Quest
Introduction
DELMIA provides the ability to read CATIA V5 files directly into DELMIA
products. This feature is called V5 CAD Direct Access, and enables users to
directly read V5 CATProducts and its component representation files into
selected DELMIA products. Such component representations could be either
a CATIA V5 CATPart, CATIA V4 or V5 .cgr, VRML file or an external format
handled by V5, e.g., Pro/E and UG.
3.2
Supported Operating Systems and
CATIA Versions
V5 Direct is supported on the IRIX, Sun, AIX HP-UX11 and NT4 platforms.
Supported CATIA V5 Versions are:
CATIA V5R8 SP4
CATIA V5R9
CATIA V5R10
For CATIA Version from V5R9 onwards the support is extended in a
synchronized manner with V5 versions. The required libraries are packaged
with Delmia V5R9 portfolio product D5I. So any configuration having Delmia
product D5I will be supported irrespective of what is packaged in D5
products. For customers who dont have Delmia portfolio product, the
support will be restricted to V5R8 SP4.
3.3
Client-server Architecture
A V5Direct server is included with the DELMIA product for the purpose of V5
integration. The server is a stand-alone executable that provides services to
read supported V5 data and convert it into various DELMIA data formats.
The DELMIA client sends commands to the server through a socket
communication protocol. When a user wants to access any V5 functionality,
the DELMIA product automatically launches the V5Direct server using
special run scripts. When a user exits the DELMIA product, or uses the
DISCONNECT Button, the server is shut down. The server executable is
licensed separately from the DELMIA product, and the user must have a
"CATDIR" feature in the DELMIA license file to access any V5 functionality.
3.4
The following steps address the configuration of variables in four files. These
files are: license.dat, V5setup, .prodenvfig, and .prodpthfig.
The license.dat File
V5 Direct server also uses the CATDIR license feature, as does the CATIA V4
Direct server.
The V5Setup Script
V5Setup (V5setup.bat on NT) script is located in the V5 directory of the
DELMIA product installation. The following variables are set in this file.
V5_CATIA_VERSION=${V5_CATIA_VERSION:-V5R8
To ensure that the CATIA V5 server is looking to the correct V5 version, the
variable V5_CATIA_VERSION must be properly set. The version specified
must match with the version of CATIA V5 installed on the system, which
hosts the server process. There is no default value specified for this
variable. It is mandatory to specify this variable for execution of V5 Direct
Server.
V5_INSTALL_DIR=${V5_INSTALL_DIR:-/usr/DassaultSystemes/V5R8}
To ensure that the CATIA V5 server is using the desired V5 installation, the
variable V5_INSTALL_DIR must be properly set. There is no default value
specified for this variable. It is mandatory to specify this variable for
execution of V5 Direct Server. The path specified in this variable is used to
set the environment in which the V5 server is executed. This environment is
set in $HOME/DelmiaV5SrvEnv.sh on UNIX platforms and in the Windows
registry on NT platforms.
V5DENEB_SRV_DEBUG=${V5DENEB_SRV_DEBUG:-OFF}
This variable can be set to ON for a verbose output of the client-server
communication.
The System Variables
The .prodenvfig File Variables
(where ".prod" represents the DELMIA product name)
CATIAV5_MODEL_SAG = 10
To determine the tessellation level of the imported V5 geometry, the
CATIAV5_MODEL_SAG parameter must be set. If this variable has a value of
0 mm, then the DELMIA product will use a value of 0.02 mm, which is the
lowest possible value. The value of 0.02 mm will give an extremely fine
tessellated model in the DELMIA product that will require a large number of
polygons. The retrieval time will be much longer with the 0.02 mm value as
well. It is recommended that the user use a value near to 10 MM to obtain a
quicker retrieval, a lower polygon count, and fair representation of the
surface of each model.
The .prodpthfig File Variable
(where ".prod" represents the DELMIA product name)
CACHE$LIB = /usr/tmp/CACHE
The CACHE$LIB variable must be set in the .prodpthfig file in order to
determine where the cache will be stored. If this variable is not set, the
default behavior will store the cache in the ./CACHE directory. The
CACHE$LIB variable assumes that the ENABLE_EXTERNAL_PART_CACHING is
set to "ON" in the .prodenvfig file, which is a prerequisite before the cache is
actually stored or accessed. If ENABLE_EXTERNAL_PART_CACHING is not set
to "ON" the V5 server creates the parts in the users "tmp" directory,
denoted by the environment variable TMPDIR if
ENABLE_EXTERNAL_PART_CACHING is set to "OFF".
V5 Cache Management
V5 Cache Management MUST be ON for the V5 server to start. To switch
this ON:
Start V5 on the server host.
For V5R8, V5R9, and V5R10
GotoTools>Options>Infrastructure>ProductStructure>CacheManagement
Checktheboxnextto"WorkwithCacheSystem".
Exit V5
3.5
Ensure that the setup steps described above have been completed. V5 files
may be accessed through the DELMIA product's internal PART$LIB,
DEVICE$LIB, and WORKCELL$LIB library structure. The Configuration Files
Guide provides explanations of these libraries.
Launch the DELMIA product. Each of the Buttons discussed below have the
ability to retrieve V5 data. Notes are provided below to identify each Button
with its unique $LIB.
When the product context is Assembly, any device retrieved will create an
assembly Device. A dialog box will be displayed with default values for the
assembly Device that can be altered by the user.
The CAD RETRIEVE OBJECT, DEVICE CREATE, and PART ATTACH Buttons will
access the libraries defined using PART$LIB and the logical file names.
Select the desired CATPart document OR .cgr file to retrieve
The following attributes are represented in the DELMIA representation:
Tessellated Geometry (polygons).
Points are represented as named Coordinate System.
Axis Systems are represented as named Coordinate System.
Color is maintained.
If the user has created cache for these parts before loading the
CATProduct, the cached cgr is translated by V5 server.
Go to Tools->Options->General->Compatibility->External Formats.
Exit V5.
propagated to the Device at this time. This is due to the fact that, during
retrieval, the Parts are read from the cache (if "ON"). Therefore the user
must update the Device or Devices manually if the latest V5 data is desired.
The user may also choose to ignore this message. The Device update
functionality is available via the V5 DEVICE UPDATE Button.
Example Device hierarchy from a CATProduct in Workcell Retrieve mode:
Device_name (CATproduct name)
|nofile_CATproduct name( root node )
|CATPartname1
|CATPartname2
|CATProductname1( device )
|nofile_CATProductname1( root node )
|CATPartname3
|CATPartname4
O World
|->Clutch ( Device )
|Clutch.model ( root node )
This V5 interface requires the use of a CATIA V5 license. This license will be
"consumed" (in use) when the user accesses the first CATIA file. The license
The user can choose to create a device or a part by specifying the mode
using the -m option.
The valid values for -m option are
-m Dev/ Device :- for device mode.
-m Wcl/ Workcell :-for workcell mode.
The default mode is device.
Tessellation parameter
The sag value for the tessellation can be specified by via -t. For example:
V5_read -i <input_dir> -o <output_dir> -t sag_value
A minimum of one input argument (-i, -if ) and one output argument (-o)
are required to execute the V5_read script successfully. Failing to specify
these options will terminate the process and display a message about the
required usage of the utility.