Ilogic rule dont want to work in 2015

Ilogic rule dont want to work in 2015

Anonymous
Not applicable
343 Views
1 Reply
Message 1 of 2

Ilogic rule dont want to work in 2015

Anonymous
Not applicable

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?

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

bretrick30
Advocate
Advocate

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

0 Likes