I have a script with app. 8500 lines. Running this script causes strange,
not reproducable misinterpretationand therefore mistakes.
One way that worked for me is to split the scriptfile into protions of
around 1000 lines, running one script after the other.
The question is, if there is a known limitation of lines in a script?
Am Wed, 31 Jan 2007 14:18:12 GMT schrieb Dr Fleau:
Yes, ehhm, this is because I'm not able to write Makros or other code and
so I had to write a script for my needs (it doesn't do other than drawing
rectangular 2Dsolids, everyone with another color from an defined colorbook
and inserts a textstring with the name of the color inserted).
And, no it didn't take that long. I used a recorded makro and some rules
with 'search and replace' that did the job in my OOo.
I use awk or rexx to produce scripts that go on for many more lines than
8500. I believe that acad doesn't store a script but forewards each script
statement to the command line.
Hence it should be able to go on ad nauseum... the method is gloriously slow
but allows one to go for coffee and conversation.... one can also undo a
complete script run and redo it with the always required tweeks...
Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here.
All logos and trade names are the property of their respective owners.