iLogic idw to Inventor dwg

iLogic idw to Inventor dwg

Anonymous
Not applicable
650 Views
4 Replies
Message 1 of 5

iLogic idw to Inventor dwg

Anonymous
Not applicable

Hello,

 

I would like to use iLogics to convert our idw's to inventor dwg's and add them to vault (I'm not sure if the vault part is possible but the conversion would be a great help).  When i try to use the ThisDoc.Document.SaveAs command it wants to export as an AutoCAD drawing and not as an Inventor drawing.  

 

I'm running 2010 SP3 64-bit

 

Thanks for any help

 

Steve

0 Likes
651 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable

It is better and easier when you use VBA

For Example:

Private Sub SaveInventorDWG()

      Dim oDoc as DrawingDocument

      Set oDoc = ThisApplication.ActiveDocument

      ' oFullFileName is the full file name of your desire dwg drawing, e.g. "E:\123.dwg")  

      oDoc.SaveAsInventorDWG(oFullFileName, True)

End Sub

 

Finished!

 

 

0 Likes
Message 3 of 5

ravikmb5
Collaborator
Collaborator

set and let wont work with ilogic

Please mark this response as Problem Solved if it answers your question.
----------------------------------------------------------------------------------------------
Ravi Kumar MB,
HP Z220 SFF Workstation
Autodesk Inventor Certified professional 2016
Email: ravikmb5@gmail.com





0 Likes
Message 4 of 5

Anonymous
Not applicable

I still think that using VBA is better, we can create a module inside ground ivb file, and create a button in drawing environment. Everytime we want to convert, we only need to press one button.

The question is iLogic can do this as simple as VBA or not?

0 Likes
Message 5 of 5

Anonymous
Not applicable

Thanks for the support.  I found it easier to use VBA with the button to do the conversion and manualy checkin to vault.  The next step is to automate the checkin but that will take some more digging.

 

Steve

0 Likes