Интеграция с другими приложениями > Документация Windchill Workgroup Manager > CATIA V5 > Пользователь > Advanced Techniques for CATIA V5 > Managing CATIA V5 Environments in Windchill > Configuring myV5 for Use with Windchill Environment Management
  
Configuring myV5 for Use with Windchill Environment Management
The following procedure describes the basic configuration steps required to use myV5 to manage CATIA V5 with Windchill:
1. For each CATIA V5 release registered in Windchill Workgroup Manager, create an environment file to load when starting Windchill Workgroup Manager.
The following example can be used as a template. Substitute the following entries into the template:
[OS]
For 64-bit systems, enter x86e_win64. For 32-bit systems, enter i486_nt.
[PTC_WF_ROOT]
If the environment variable PTC_WF_ROOT is used, substitute that value. If not, the default location of <APPDATA>\Roaming\PTC\ProENGINEER\Wildfire\ should be used.
[Release]
Enter the CATIA V5 release number.
[OSDS]
For 64-bit systems, enter winb64. For 32-bit systems, enter intel_a.
[ManagedEnvironmentVariable]
In addition to these attributes, enter the attribute name you defined in the Environment Management Parameter in Windchill to track the environment name.
* 
Line breaks and extra spaces have been inserted into the following code example to improve readability.
!----------------------------------------------------------
! DASSAULT SYSTEMES - V5 ENVIRONMENT FILE
!----------------------------------------------------------
! MODE : User
! TYPE : CATIA
! TMSTMP : 1306184211
! ARGS : -cs CATIA -a user -icon yes -menu yes
!----------------------------------------------------------

CATInstallPath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]
CATDLLPath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\code\bin
CATICPath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\code\productIC
CATCommandPath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\
code\command
CATDictionaryPath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\
code\dictionary
CATDocView=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\doc
CATReffilesPath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\reffiles
CATFontPath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\
resources\fonts
CATGalaxyPath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\
resources\galaxy
CATGraphicPath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\
resources\graphic;
C:\CAD\Dassault Systemes\B[Release]\[OSDS]\resources\graphic\icons;
[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\resources\graphic\
icons;C:\CAD\Dassault Systemes\B[Release]\[OSDS]\resources\graphic\figures;
[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\resources\graphic\
figures;C:\CAD\Dassault Systemes\B[Release]\[OSDS]\resources\graphic\splashscreens;
[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\resources\
graphic\splashscreens;C:\CAD\Dassault Systemes\B[Release]\[OSDS]\resources\
graphic\symbols;[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\
resources\graphic\symbols;C:\CAD\Dassault Systemes\B[Release]\[OSDS]\
resources\graphic\textures;[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\
[OSDS]\resources\graphic\textures
CATMsgCatalogPath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\
[OSDS]\resources\msgcatalog
CATFeatureCatalogPath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\
[OSDS]\resources\featurecatalog
CATDefaultCollectionStandard=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\
[OSDS]\resources\standard
CATKnowledgePath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\
[OSDS]\resources\knowledge
CATStartupPath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\startup
CATW3ResourcesPath=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\docs
[ManagedEnvironmentVariable]=[[ManagedEnvironmentVariable]]
PATH=[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\code\bin;
[PTC_WF_ROOT]\.wwgm\.cadadapters\[OS]\cv5R[Release]\[OSDS]\code\command;
%JAVA_HOME%\bin;%PATH%
* 
The managed environment variable should be in brackets in order to read in the value set in the myV5.xml file for the environment name.
2. Repeat for each CATIA V5 release that has been registered with Windchill Workgroup Manager.
3. Once you have created all your environment files, configure the myV5.xml file, located in the base installation directory by default, to create a Windchill Workgroup Manager-launchable environment for each environment you want to be able to launch with Windchill Workgroup Manager for CATIA V5.
Open myV5.xml using a text editor and set the following required attributes within an <Environment> tag for each environment you want to be able to launch with the Windchill Workgroup Manager for CATIA V5:
addon
Set this to check to make this a checkable environment add-on.
env
Enter the path to the correct Windchill Workgroup Manager environment file for the given CATIA V5 release created in step 4 below.
name
Enter the name of the environment add on you wish to display in the add-on section.
4. Within the <Setvar> tag, set the following attributes:
name
Enter the attribute name that you defined in the Environment Management Parameter preference.
value
Enter the name for this specific environment.
The following example can be used as a template:
<Environment addon="check" env=""C:\myV5.1.2.15\WGM_V5-6R2013.txt""
icon="icons\I_wc_wgm.gif" name="WWGM"/>
<Setvar name="[ManagedEnvironmentVariable]" value="CompanyAV5-6R2013"/>