The iLogic rules are created in Visual Basic language. The first set of commands we’ll add will define the external iLogic rules and Nastran In-CAD add-ins.
AddReference "NINIlogic"
Sub Main()
iLogicVb.RunExternalRule("IlogicExtRule_EnterInCADEnv")
Dim AddinObj As New NINIlogic.InCadAddin
Dim strCmdForNewMaterial, strCmdFornewIdealization As String