×
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

2009 SLOWER? macro recursives

2009 SLOWER? macro recursives

2009 SLOWER? macro recursives

(OP)
I have a macro that basically takes an assembly with lots of subassys and parts and up dates it with what we need via inputs from excell.  The macro basically updates all assemblys and parts by configuration in some cases and design tables in others, then renames everything and throws it into a unique directory.

I was able to get a new machine and loaded it with 2009 fresh and I got one of those $400 HP laptops that Best Buy had a few weeks ago and loaded it with it too (home license).  

Here I found out SW doesn't like recursives.  I had to rewrite the macro to get rid of the main recursive (it finds and updates all assemblies) - it crashed every time.  When I rewrote it to get rid of this recursive, it fixed it.  Funny thing was is that 2008 ran faster with the rewrite also.

The new machine ran a test macro in 2:30 min, my laptop in 2:42 with the existing machines taking 5 to 8 min.   

Great, so we loaded 2009 in our other machines.  2009 runs the test macro 15% to 20% slower across the board with the exception of our newest (about 2 yrs old) existing machine which crashes (something about photoworks getting into the mix somehow).  I loaded 2008 in the new machine and it runs the macro in 2:30 and lengthened the 2009 time to 3:00.

It looks like a clean install will speed everyone up.  What I don't know is whether to stick with 2008.  Assuming the relative speed is not going to change with clean installs, it looks like things will run faster in 2008.  The only justification for upgrading would then be stability which we cannot test - by the time we found out we would be committed.

Anyone got any bright ideas?  Is 2009 any more stable.  I am having trouble believing that 2009 is actually not slower.

Thanks

John

 

RE: 2009 SLOWER? macro recursives

(OP)
We did clean installs on all our computers.  2009 works fine.  

2009 runs the macros about 15% to 20% slower than 2008 on all machines.  The macros do design table updates, erase unused configurations, save part and and assy files to another name in another directory and copy drawing files to that direct and then change the reference to the new part file name.  

It seems to be a bit more stable, but crashes still happen.

John

RE: 2009 SLOWER? macro recursives

I believe you are testing the same file for SW2008 and SW2009. If that's the case the file must be compatible with 2008 and it will be slower the first time you open it in 2009 because of the conversion. After converting and saving in 2009 it should be at least as fast as 2008. I think.

RE: 2009 SLOWER? macro recursives

(OP)
Nope, the files were all converted to 2009 before any tests were run.  It's slower.  Times, depending on the computer ranged from 2.5 min to 3.0 min to 8 min to 10 min depending on the machine with 2009 being slower.

Thanks anyway

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