×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Measure Catia StartUp

Measure Catia StartUp

Measure Catia StartUp

(OP)
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.

RE: Measure Catia StartUp

(OP)
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.

RE: Measure Catia StartUp

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 --> VBS

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

https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...

RE: Measure Catia StartUp

(OP)
Thank you very much for your answer; it helps me a lot.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources