Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Catia.RefreshDisplay and DisplayFileAlerts to False from vb.net

Status
Not open for further replies.

iscariot

Mechanical
Joined
Oct 15, 2009
Messages
154
Location
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?
 
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.

Part and Inventory Search

Sponsor

Back
Top