AnsweredAssumed Answered

Is there a way to pause your macro to allow for drawing cleanup?

Question asked by Brady Kallert on Jun 8, 2020
Latest reply on Jun 10, 2020 by Brady Kallert

Hello,

So my macro creates several steel curb parts based on template files i have already made. The user enters the size required and it runs through packing and going the parts, renaming them and uses formulas to put it all together properly.

When i get to the assy drawing it's kind of messed up and requires user input to fix the drawing.

What i would ideally like is for a dialog box to pop up saying please update the drawing, the user would press ok to close the dialog box to allow for drawing modification, the code would then pause or loop until some user action triggers the code to start again.

 

The last part is what i'm really struggling with, i was hoping i could collect the save status as a boolean and loop until true (user saves) but can't seem to get that to work.

 

any help would be greatly appreciated.

Outcomes