Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ilogic rule dont want to work in 2015

1 REPLY 1
Reply
Message 1 of 2
AliusM
203 Views, 1 Reply

Ilogic rule dont want to work in 2015

Hello,

I have an ilogic rule that save drawing to pdf + dxf with revision number. I have used in 2014 and it works fine.

But when I try use in Inventor 2015, I got error.

I have attached the code.

 

Does any one have a solution so it works in Inventor 2015?

1 REPLY 1
Message 2 of 2
bretrick30
in reply to: AliusM

I would look into this part of your code.  Maybe setting it to the 2015 version of this file will fix it.

 

If DXFAddIn.HasSaveCopyAsOptions(oDocument, oContext, oOptions) Then
	Dim strIniFile As String
	strIniFile = "C:\ProgramData\Autodesk\Airec\dxf2004 inventor 2014 MODEL.ini"
	' Create the name-value that specifies the ini file to use.
	oOptions.Value("Export_Acad_IniFile") = strIniFile
End If

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

Post to forums  

Autodesk Design & Make Report