Commands available for Inventor Nastran iLogic Automation (IIA)
Required iLogic Rules
One or more iLogic rules can be used to define a simulation with Inventor Nastran. One rule, labeled Main, must be saved parallel to all other rules. The Main rule should include the following syntax:
Sub Main() Dim oIlogic As IiLogicAutomation oIlogic = iLogicVb.Automation ' Setting iLogic External Rules directory to Inventor Nastran's iLogic external rules folder Dim ExternalRuleDirectory(0) As String ExternalRuleDirectory(0) = "C:\Program Files\Autodesk\Inventor Nastran 2025\In-CAD\System\iLogic" oIlogic.FileOptions.ExternalRuleDirectories = ExternalRuleDirectory iLogicVb.RunExternalRule("IlogicExtRule_EnterInCADEnv") ' Setting iLogic Addin DLLs directory to Inventor Nastran's System folder oIlogic.FileOptions.AddinDirectory = "C:\Program Files\Autodesk\Inventor Nastran 2025\In-CAD\System" End Sub
The functions below are supported by iLogic commands for Linear Static analyses.