AnsweredAssumed Answered

Macro to save drawing upon creation with "Part Name"-Flat in the same directory as the part itself

Question asked by Neil Jeffers on Oct 28, 2019
Latest reply on Oct 29, 2019 by Artem Taturevych

Hi Everyone,

I have a drawing template with 4 standard views in it (front, top, right, and Iso) and I'm trying to make a macro that will upon creation of the drawing examine one of these views, find the name of the part that is within it and save the drawing as PartName-Flat.slddrw.

 

I plan on having the macro do other things at the moment but this seems to be my final hurdle.

 

I've figured out how to resave the part with any name I want - my difficulty is in assigning a name different than the part name automatically upon creation without any input from the user.

 

Any ideas?

Thanks,

Neil

Outcomes