AnsweredAssumed Answered

I would like a macro that has 3 steps; Forces Rebuild (ctrl+q) of the current doc, then iso view if its a part or asm, or  zoom to fit it its a drawing, then save the doc.

Question asked by Erik Rotolo on Dec 10, 2014
Latest reply on Sep 17, 2019 by Rodney Martin

as the title states, I would like a macro that has 3 steps; Forces Rebuild (ctrl+q) of the current document, then iso view (ctrl+7) if its a part or asm, or  zoom to fit (f) if its a drawing, then save the document (ctrl+s).

 

I found some macro's that are close to what I want; Force Rebuild and Save, Super Rebuild, Zoom and Rebuild

 

but there not exactly what I'm looking for, and I don't have enough knowledge to edit and/or combine them to give me what I want.

 

Would someone be able to take the "Force Rebuild and Save" and add a couple IF statements (i.e. iso view if its a part or asm (ctrl+7) OR zoom to fit (f) if its a drawing) for Zoom functions after Force Rebuild and before Save?

 

Note:  the "Zoom and Rebuild" macro seems to be good if you are doing this for a whole directory, but doesn't work for the active document

 

Please help me!

 

Thanks Erik

Outcomes