export selected object as .dwg on D Drive

Can you please help me write a simple script to export a selected object as 1.dwg on drive d?
Thanks.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
miauu's picture

...

(
exportFile "D:\\1.dwg" #noPrompt selectedOnly:true
)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.