• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

catia v5r19 sp2 w32: errore scriptingerr_1004

  • Thread starter Thread starter the_sniper
  • Start date Start date

the_sniper

Guest
It's the first time I put a new discussion since this precious forum is a great tool to know, deepen arguments, as well as to unravel caskets. After developing my skill with the various modules I decided to throw myself into the development of macros to automate my procedures, especially in the case of parametric design, change of catpart components. for test, with high amazement, after downloading a macro from this forum to color threads in 3d, at the time of the execution of the macro the following error window appeared:

cnext - catscripterrormessages: scriptingerr_1004
run the script:"colorafiletti.catscript"
the catscript script engine is not installed properly.
install the script engine and run the script again.

This error has been repeated with all the scripts I tried to compile and run later, whether in catscript or ms vbscript format. in the second case the error message is more or less similar:

cnext - catscripterrormessages: scriptingerr_1004
run the script:"hellomsg.catvbs"
the ms vbscript script engine is not installed properly.
install the script engine and run the script again.

convinced that it was a problem related to a wrong installation of catia I had from my colleagues other versions of catia but this problem has not resolved. I have searched both on this forum and on non-Italian forums potential cases similar to mine but at the moment it seems it is the only one to have this kind of problem.

At this point I ask you more experienced users of the forum and your experience on how to get out of this pantano.

my setup is the following:microsoft windows view home edition 6.0.6002 (winvista beta)- intel repentum ii xeon, 2000 mhz (2.5 x 800)-nvidia geforce 9600m gt- ram 4 gb- hd 232 gb, ide.

Thank you in advance for your availability!
 
wait for more answers, but in my opinion you have to install the spk6 of the r19, or better still change operating system, but I repeat, wait for more answers.

Hi.
 
wait for more answers, but in my opinion you have to install the spk6 of the r19, or better still change operating system, but I repeat, wait for more answers.

Hi.
Thank you so much for the tip! for now I have upgraded to spk9 as you suggested. Unfortunately the problem remains! unless there is a stage that I ignore, I will explain to you what I have done from the beginning:
- installed caia;
- installed spk (2 or later);
- created spinotto.catpart file (a particular thread);
- downloaded the macro colorafiletti.catscript script;
- start catia;
- uploading test file spinotto.catpart from me designed;
- select menu \macro\macro\macro;
- select the folder where I saved the previously downloaded script;
- evidenzio il catscript colorafiletti.catscript e seleziono executed;
- the window above is produced in the previous post (allego screenshots).screen1.gifscreen2.gifI don't know, maybe there are bookstores to load or other things I ignore.

p.s.: Trying the macro excels on the gsd_pointsplineloftfromexcel.xls file to load the points of a parametric curve, created for example with matlab, there are no problems. Maybe it's an info that can give you inspiration!

I thank you again for the attention and answers that will come!
 
Have you tried the macro on holes instead of on pins?

Hi.
Thank you very much for your valuable advice but I think it's more of a caty problem. in this http://www-01.ibm.com/support/docview.wss?uid=swg1hd57004 we talk about my problem in the r17 and r18 fixed and that therefore in the r19 should not exist (I have the r19 sp9, having made the upgrade as suggested by you). allego minivideo on the classic example "hello catia". as said this error resumes with all types of scripts: whether they are catscript or vbscript, whether they are empty or having code lines.
[video=youtube;ewH6MfVcjzg]http://www.youtube.com/watch?v=ewh6mfvcjzg[/video]
 
Maybe I missed the detail: on my laptop is installed the express edition version of visual studio 2008! an update to 2010 or later compatible versions with view is desirable? as I always wait for more users than I do in this matter!
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top