I have a drawing macro feature that needs to wait till the view rebuild has finished to continue.
The scenario is - Both the drawing and the part file are open. The part has been updated. When the drawing is selected, the view has been updated and needs to be rebuild. If a Ctrl-Q is used, the macro feature runs before the drawing view has been updated.
Function swmRebuild(app As Variant, model As Variant, feat As Variant) As Variant Set swApp = app swApp.RunMacro2 strMacroPath, strModuleName, strProcedureName, options, errors End Function
Is there an event handler that will help me?
Dave
You can forcerebuild before calling the function