iLogic rule for saving as DWG for AutoCAD 2010

iLogic rule for saving as DWG for AutoCAD 2010

Anonymous
Not applicable
375 Views
1 Reply
Message 1 of 2

iLogic rule for saving as DWG for AutoCAD 2010

Anonymous
Not applicable

SyntaxEditor Code Snippet

part = ThisApplication.Documents.Open("C:\Users\Aleksandar.Jovicic\Desktop\FGL System\FGL Geschuppt\FGL.idw")

part.SaveAs("C:\Users\Aleksandar.Jovicic\Desktop\FGL LG DWG\Alte Versionen\FGL LG_Position " & Position & " " & Breite & "x" & H�he & ".dwg", True)
part.SaveAs("C:\Users\Aleksandar.Jovicic\Desktop\FGL LG DWG\Email Anhang\FGL LG_Position " & Position & " " & Breite & "x" & H�he & ".dwg", True)

Hello!

 

I have made this rule for savin my idw to a dwg.

I have instaled the AutoCAD 2015 but i what to save in lower versions.

 

Is it posible? 

 

Thank you,

Aleksandar Jovicic

0 Likes
376 Views
1 Reply
Reply (1)
Message 2 of 2

solson
Advocate
Advocate

You can set Inventor to write to a different version by default.  The setting for that is in the Application Options, under the Drawings tab.  You can set that back to the version you want.  Then whenever the rule is run, that is the AutoCAD version it will save to.  

 

There might be some API code to set this, but this is the easiest solution, provided you need all the DWG's to be the same version of AutoCAD.

 

Hope you find this helpful,

Steve


Steve Olson
Manager, Training Services
https://knowledge.autodesk.com/profile/O37DF451BDD2485B
https://www.youtube.com/channel/UCgQTCawsuRFJVSHRXIwLdtg
0 Likes