SaveCopyAs with bypassing export dialog

SaveCopyAs with bypassing export dialog

kmiller
Collaborator Collaborator
507 Views
1 Reply
Message 1 of 2

SaveCopyAs with bypassing export dialog

kmiller
Collaborator
Collaborator

Is there anyway to call activedoc.saveas as method with the save copy as boolean variable set to true and have it not display the export DWG dialog box?  Without using the translators in code, or do we have to use that if we want to use savecopyas = true and bypass the dialog? 

 

We save all our inventor files to .dwg's and I just want to loop through a file a bunch of times, change some properties and save it out to a new location.  Doing just a save as, makes a mess of things and I would like to use the SaveCopyAs feature but don't know how to get the dialog to not show up. 

 

This is in part of a vb.net addin using inventor 2013.

 

Any help would be appreciated.

 

Thanks.

 

-------------------------------------------------------------------------------------------------

If this response answers your question please click "Accept as Solution".
0 Likes
Accepted solutions (1)
508 Views
1 Reply
Reply (1)
Message 2 of 2

kmiller
Collaborator
Collaborator
Accepted solution

I knew I would find it the minute I posted something...

 

The SaveAsInventorDwg option with boolean value set to true for save copy as. 

 

Thanks to the post here: 

http://forums.autodesk.com/t5/Inventor-Customization/INV2008-Pro-SaveAs-doesn-t-work/m-p/2358732/hig...

-------------------------------------------------------------------------------------------------

If this response answers your question please click "Accept as Solution".
0 Likes