Electronics

Electronics

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
  • You must be logged in to reply to this topic.