We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Electronics

Electronics

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

executing error of a script generated from ANSYS Electronics Desktop

    • Abdou1
      Subscriber

      Hello

      i generate a simple script from 2D extractor :

      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 again i get an error

      this object does not support this property or method: 'RevertSetupToInitial'

      vbscript error 800a01b6

      sorry the picture with french.

    • Keyur Kanade
      Ansys Employee
Viewing 1 reply thread
  • The topic ‘executing error of a script generated from ANSYS Electronics Desktop’ is closed to new replies.