Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Catia.RefreshDisplay and DisplayFileAlerts to False from vb.net

Status
Not open for further replies.

iscariot

Mechanical
Oct 15, 2009
154
0
0
DE

I would have expected to use:
Code:
Catia.RefreshDisplay = False
Catia.DisplayFileAlerts = False

to improve the speed of the code but I don't understand why it is not working from vb.net.
Any idea?
 
Replies continue below

Recommended for you

These functions are unfortunately not working in VB.NET. NET offers you a lot of nice features, but in comparison to VBA or VBS it is very slow. If you want to significantly speed up your code, export a critical parts of your code into VB Script and then launch it from .NET application with ExecuteScript function of SystemService object. This way you get the best from both worlds, speed of VBS and power of VB.NET.

Tesak
- Text along a curve for Catia V5
 
Here you find a perfect description of your problem:

link_d0bsql.png


sorry, I am not able to put it there as a link (because it is blocked somehow), only as image.

Tesak
- Text along a curve for Catia V5
 
Status
Not open for further replies.
Back
Top