Electronics

Electronics

Topics related to HFSS, Maxwell, SIwave, Icepak, Electronics Enterprise and more.

Executing error of script generated from ANSYS Electronics Desktop

    • Abdou1
      Subscriber
      i generate a simple script from 2D Extractor to initialize th mesh : Dim oAnsoftApp Dim oDesktop Dim oProject Dim oDesign Dim oEditor Dim oModule Set oAnsoftApp = CreateObject("Ansoft.ElectronicsDesktop") Set oDesktop = oAnsoftApp.GetAppDesktop() oDesktop.RestoreWindow Set oProject = oDesktop.SetActiveProject("cpw_gnd_gsg11") Set oDesign = oProject.SetActiveDesign("CPW__CP") Set oModule = oDesign.GetModule("AnalysisSetup") oModule.RevertSetupToInitial "Setup1" when i run it, i get this error : this object does not support this property or method: 'RevertSetupToInitial' error '800a01b6'
    • rtk
      Ansys Employee
      Hello- The 'RevertSetupToInitial' property or method is meant for HFSS design.nNot for 2D extractor. This works perfectly for HFSS.nnRegards,n
    • Abdou1
      Subscriber
      yes, but i generate this script from 2D extractor ?n
Viewing 2 reply threads
  • The topic ‘Executing error of script generated from ANSYS Electronics Desktop’ is closed to new replies.