Using pvschangebatch
The operation of the pvschange involves utilizing a single command to change the input PVS files according to the pvschange Recipe file.
The form of command line is as follows:
pvschangebatch [options] <PVS_file>
A command line conversion has the following stages:
1. Open a command prompt and navigate to the directory containing the file you want to convert.
For the purposes of this example, the directory is C:\pvschange_data\.
2. Type in the pvschangebatch command, for example:
<path>\pvschangebatch -r <recipe_file> -p <output_path> -o <output_name> pvschange_test.pvs
In this example, the command line can be broken down in order from left to right as follows:
◦ Path to the pvschangebatch script in the PVS Change Utility’s setup configuration folder, followed by the command to convert the data, for example, C:\ptc\pvschange_setup\pvschangebatch
◦ Option -r <recipe_file> defines the Recipe file to use instead of the default pvschange.rcp file that resides in the configured setup folder.
◦ Option -p <output path> defines the output folder path. This is the name of the directory where the adapter places the converted data.
◦ Option -o <output_name> defines the base name used for the output files.
◦ The pvschange_test.pvs path and file name represents the Creo View structure that pvschange is to process.
3. Press Enter and pvschangebatch is launched. When the command prompt returns, the conversion is completed.
|
pvschangebatch can publish more than one file at a time. To publish a list of files, type all of the names on the command line, separated by spaces. Wildcards (asterisks *) can also be used, if you are confident that the data returned will be correct.
|
4. You can now view the resulting binary PVS files in Creo View.
This completes the procedure for converting pvschange files using the command line.