Welcome to the COE Discussion Forum! 

 

To participate in the discussion forum, you must be logged in to the website.  If you forget your login information, please contact COE Headquarters at coe@coe.org or (800) 263-2255.

If you are new to the COE Discussion Forum and would like to participate, please register.


Forum Highlight: CATIA V6

 

Get Answers to Your V6 Questions
Dassault Systèmes answers user questions about CATIA V6.  Discuss these answers and propose new questions with end users from around the world in the CATIA V6 Forum.

COE DISCUSSION FORUM
Subject: Manufacturing Directory environment variable

You are not authorized to post a reply.   
Author Messages
Simon86


23 Sep 2008 12:04 PM

Hi guys,

I've got to acces my "Manufacturing" directory from a batch file and I'm wondering if there is a way to get the location of this directory from a Environment Variable or a Registry?

 

Anyone has an idea about how to get this information out of CATIA ?  Also from the same batch file I would need to change some CATIA settings (ie.: tape file extension, current units and linear feedrate, etc...)  Anyway I could run some settings file automatically from my batch file.  I'm not an expert on that topic.


With best regards,
Simon H.


Simon Harvey
Applications Engineer

Email: simon@icam.com
QUANWEN

23 Sep 2008 01:18 PM
Hi Simon,

it is under the Startup directory, you can get startup directory by Catia environment variable "CATStartupPath", the Manufacturing directory is right under it. Here is a example:

Language="VBSCRIPT"
Sub CATMain()
Dim oFileSys as FileSystem
Set oFileSys = CATIA.FileSystem
Dim sStartupPath as String
sStartupPath=CATIA.SystemService.Environ("CATStartupPath")
msgBox(sStartupPath)
End Sub

I have no idea about the settings


Quanwen
You are not authorized to post a reply.
Forums > COE Forums > MFG > Manufacturing Directory environment variable



ActiveForums 3.6

    

401 North Michigan Avenue, Chicago, IL 60611-4267 | (312) 321-5153 | (800) COE-CALL (U.S.)