To import AutoCAD into Inventor with 3D settings, you can try below steps:
1. Firstly In UI you can import an AutoCAD with 3D component into Inventor, and on the import options dialog change the settings and (on Import Destination Options page)you can save the configuration file to somewhere(e.g. ImportDWGConfig.ini).
2. In your iLogic rule you can make use of Inventor translator API to import your AutoCAD file with the configuration file.
Below is a VBA code sample, you can convert it to iLogic rule(usually you just need to remove the "Set" keyword):
Public Sub ImportDWG()
' Get the DWG translator Add-In.
Dim DWGAddIn As TranslatorAddIn
Set DWGAddIn = ThisApplication.ApplicationAddIns.ItemById("{C24E3AC2-122E-11D5-8E91-0010B541CD80}")
Dim oContext As TranslationContext
Set oContext = ThisApplication.TransientObjects.CreateTranslationContext
oContext.Type = kFileBrowseIOMechanism
' Create a NameValueMap object
Dim oOptions As NameValueMap
Set oOptions = ThisApplication.TransientObjects.CreateNameValueMap
oOptions.Value("Import_Acad_IniFile") = "C:\Temp\ImportDWGConfig.ini"
' Create a DataMedium object
Dim oDataMedium As DataMedium
Set oDataMedium = ThisApplication.TransientObjects.CreateDataMedium
oDataMedium.MediumType = kFileNameMedium
oDataMedium.FileName = "C:\Temp\MyDWG.dwg"
Dim oDoc As Document
'import file.
Call DWGAddIn.Open(oDataMedium, oContext, oOptions, oDoc)
End Sub
Please let me if any more questions.
If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.
Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.