- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Quetion about setcatenv "-d <path>" parameter
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-28-2012 05:21 PM
Hi,
Can anyone explain how "-d <path>" setcatenv parameter works? It seems that the environment text file will be placed in the specified path. How will CATIA V5 discover this file when it's invoked? Will the "CATDefaultEnvironment" change (like add the path to the text file or something)? Thank you in advance.
Regards,
Raymond
Re: Quetion about setcatenv "-d <path>" parameter
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-01-2012 10:24 PM
Hello Raymond,
1. You may please type setcatenv -h in your workspace and it will display your context specific and generic help on various options used in the command.
2. Regarding your question: [-d <path>] option specifies the environment file storage folder and this is not a must-be-specified option as the default value on Win XP is "C:\Documents and Settings\<your login name>\Application Data\Dassault Systems\CATEnv" for [-a user] option and "C:\Documents and Settings\All Users\Application Data\Dassault Systems\CATEnv" for [-a global] option.
3. Your question: How will CATIA V5 discover this file when it's invoked? Ans: Before running the setcatenv command one needs to run [set CATDefaultEnvironment=<your CATIA V5 Environment Name>] command to specify the name of the env-file. Then you need to run [setcatenv -e <your CATIA V5 Environment Name>] with the same env name. CATIA looks for the CATDefaultEnvironment name if present at the location specified by [-d <dir>] option.
4. Now if you want to add/change any of the paths in the env-file then it is recommended to use the chcatenv command as mentioned in http://doc.spatial.com/index.php/HowTo:Troubleshoo
5. Finally, as also mentioned at the above doc link it is recommended to change the CATUserSettingPath in the env-file if there is CATIA V5 as well as InterOp installed on the same machine.
I hope the explanation is upto your satisfaction.
Thanks,
With Best Regards,
DS-SPATIAL Client Care

