If you dig around in the API docs you will find this for CTRL-Q alias a forced rebuild:
Description
This method forces a rebuild of all of the features in the model whether or not they need a rebuild or not.
On the other hand the Red/Green Rebuild icon does this when captured in a macro:
Description
This method rebuilds only those features in the model that need a rebuild.
Give this a try guys. I'm not sure how the forced rebuild will behave with AddtoDB on so do this on a part already saved. I couldn't find TOOLS/CHECK in the docs or in a recorded macro so am assuming it isn't there. The AddtoDB call and the display call make the rebuild happen without affecting the display which should speed it up if my guess is right. The macro toggles verification on and off so that a normal rebuild and other operations won't be slowed down.
'
****************************************************************************** ' C:\DOCUME~1\KELLNERP\LOCALS~1\Temp\swx716\Macro1.swb - macro recorded on 07/29/05 by kellnerp '
****************************************************************************** Dim swApp As Object Dim Part As Object Dim boolstatus As Boolean Dim longstatus As Long, longwarnings As Long Dim FeatureData As Object Dim Feature As Object Dim Component As Object Sub main()
Set swApp = Application.SldWorks Set Part = swApp.ActiveDoc
Part.SetAddToDB True Part.SetDisplayWhenAdded (False)
swApp.SetUserPreferenceToggle swPerformanceVerifyOnRebuild, True retval = Part.ForceRebuild3(topOnly) swApp.SetUserPreferenceToggle swPerformanceVerifyOnRebuild, False
Part.SetAddToDB False Part.SetDisplayWhenAdded (True)
End Sub