About Setting the CVPATH Environment Variable
The CVPATH environment variable is used by the CADDS 5 translator to define the following:
Search paths for locating components of CADDS 5 Concurrent Assembly Mock-Up (CAMU) assemblies selected for import.
Search paths for locating CADDS 5 part or assembly reference models when using the Associative Topology Bus (ATB) Check Status and Update commands.
Location on the hard disk where CADDS 5 models exported from Creo is written.
You must set the CVPATH environment variable before you start your Creo session to define the default paths for the CADDS 5 models. Use the extend_cvpath configuration option to add additional paths to the CVPATH definition during a session. These additional paths are added to the end of the existing CVPATH environment variable setting.
The extend_cvpath configuration option setting does not actually change the CVPATH environment variable setting. The search paths are added at runtime.
You can set as many directory paths as you want. Use the following conventions when setting the CVPATH:
Paths may be relative to the Creo startup directory, or absolute paths of the hard drive.
The paths are contained within single quotes.
Each path is separated by a colon (:).
The paths are defined in the required search order. When searching for CAMU assembly component models or ATB reference models, the search starts with the first path and traverses the paths sequentially until the model is located.
You can assign the =C to the creation directory of the CADDS 5 export files in the CVPATH. The creation directory is where the CADDS 5 models from Creo are created on export.
The creation directory overrides the Save a Copy dialog box setting. The export location set in the Save a Copy directory is ignored for the CADDS 5 format.
An example of how to set the CVPATH environment variable follows:
setenv CVPATH '<path1>=C:<path2>:<path>:...<pathx>'
The =C after the <path1> in the example, indicates that this path is the creation directory.
Creo searches for CADDS 5 components in the current working directory or uses the CVPATH environment variable for locating components in other directories.
The additional paths, added to the end of the existing CVPATH environment variable setting, are not searched until after the paths set in the actual environment variable are searched. You cannot set the creation directory with the extend_cvpath configuration option.
To retrieve a CADDS 5 assembly in Creo, you must make sure that the CVPATH is set to the appropriate directories. When importing a CADDS 5 assembly, if the existing part or subassembly components are stored in different directories, designate each directory in the path for a successful import. Otherwise, an assembly with empty Translated Image Model (TIM) parts is created.
If the CVPATH environment variable is not explicitly set, Creo uses the default setting of a single search path according to the current working directory. This directory is also used as the CADDS 5 export creation directory.