Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

force rebuild all configurations

Status
Not open for further replies.

swforge

Mechanical
Jun 1, 2006
84
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
 
Replies continue below

Recommended for you

CBL
Found that one, not what I had originally and thanks(I guess) for the tutorial.
 
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)
 
 http://files.engineering.com/getfile.aspx?folder=de66048c-d0e0-4b0a-8224-9e0f82f3736a&file=RebuildTimesAllConfigs.swp
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor