Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Macro help required!

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
311 Views, 3 Replies

Macro help required!

I need some help writing a Macro.

 

I need it to save my current drawing to a new folder and add a prefix to the current drawing name, then bind all xrefs to drawing & export to pdf.

 

Is this something i can even do with a macro? Any help would be greatly appreciated.

3 REPLIES 3
Message 2 of 4
qnologi
in reply to: Anonymous

Do you know the song by "Supertramp" called Dreamer...

qnologi
Message 3 of 4
qnologi
in reply to: Anonymous
Message 4 of 4
Anonymous
in reply to: qnologi

Okay so i have got it to add a "-0" to the end of the file name

C^C^;qsave;saveas;2000;$M=$(substr,$(getvar,dwgname),1,$(-,$(strlen,$(getvar,dwgname)),4))-0

 

However, I am struggling to save to a new folder (in the same location as the drawing), due to it waiting for user input in this macro:

C^C^;qsave;saveas;2000;$m=$(getvar,workingfolder)newfolder/$(substr,$(getvar,dwgname),1,$(-,$(strlen,$(getvar,dwgname)),4))-0

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report