Define External iLogic Rules and Add-Ins

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.

  1. Copy the following text:
    AddReference "NINIlogic"
    
    Sub Main()
    	   iLogicVb.RunExternalRule("IlogicExtRule_EnterInCADEnv")
    
    	   Dim AddinObj As New NINIlogic.InCadAddin
    	
    	   Dim strCmdForNewMaterial, strCmdFornewIdealization As String
  2. Paste the text into the text field of the Edit Rule dialog.
  3. Press the Enter or Return key twice to jump down to a new line.