Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Measure Catia StartUp 1

Status
Not open for further replies.

Fukoro

Computer
Oct 16, 2013
3
FR
Hello every-body,

I want to get the startup time of Catia by a Catia Script or a VB scripts. I dont know if Catia store this information in a log. I thought in the begining of a script checking memory utilisation until a certain number where Catia is full loaded and can be used, but the probleme of this script is that the memory consuption is different from a machine to another. The information must be got from any machine that launch Catia.

Thank you for your answers.
 
Replies continue below

Recommended for you

Hi,

I have already a Catia Script that is launched while Catia starts, i gather different informations about the machine that launch Catia (OS, CPU, Memory) and about the enviornonment for Catia. But i need to get the Catia startup Time to compare between the machines with the different configuration. I make a script that calculate the time between the Catia launch and the first input (a popUp is shown), but the problem with this solution is that Catia user's are complaining about this PopUp.

Regards.
 
Copy the code bellow in a VBS file and run it (by double click or what ever). Of course you can complete the code with all the other parameters you want and write everything in a text file not in a message....

Code:
On Error Resume Next
StartTime = Timer
Set objCATIA = GetObject(, "CATIA.Application")
If Err.Number <> 0 Then 
Set objCATIA = CreateObject("CATIA.Application")
Err.Clear
End If
On Error Goto 0
objCATIA.Visible = true
Elapsed = Timer - StartTime
WScript.Echo Elapsed

Regards
Fernando

 
Thank you very much for your answer; it helps me a lot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top