×
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

force rebuild all configurations

force rebuild all configurations

force rebuild all configurations

(OP)
Hi all,
I got a macro here a while ago which forced a rebuild of all configurations and subs. I cant seem to find it. Anyone got it?
Thanks

RE: force rebuild all configurations

(OP)
CBL
Found that one, not what I had originally and thanks(I guess) for the tutorial.

RE: force rebuild all configurations

I made a small modification to the macro in the first thread referenced by CBL above.  The macro now asks for a configuration limit.  Any document whose number of configurations is less than this limit will have all configurations force-rebuilt.  The default value is "1", which means that only the referenced configurations will be rebuilt.  If you enter "1", the new version will behave exactly like the previous version.  If you enter, say, 5, any referenced document containing 5 configurations or less will have all configurations rebuilt.  This is to help filter out things like fasteners or other standard parts that may have large design tables where you don't actually want every configuration to be rebuilt.  

This code works for assemblies only.  If all you want to do is rebuild all configurations of a single part, there is a complete working example macro code in the API help.

-handleman, CSWP (The new, easy test)

RE: force rebuild all configurations

Hey Handleman that looks like a great macro.
I tried it and got a "compile error; project not found"
Im a macro newbe so how do i fix that?

Dazza

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