ImportAWRMicrowaveOffice

Imports an AWRMicrowaveOffice file into a new project.

UI Access File > Import > AWRMicrowaveOffice.
Parameters
Name Type Description
<xmlFileName> String Full path of XML file.
<outputPathName> String Full path of output file.
<logFileName> String Full path of log file.
Return Value

None.

 

Python Syntax ImportAWRMicrowaveOffice (<xmlFileName>, <outputPathName>, <logFileName>)
Python Example

oDesktop.RestoreWindow()

Set oTool = oDesktop.GetTool('ImportExport')

oTool.ImportAWRMicrowaveOffice('C:/MyFiles/package4.xml', 'C:/MyFiles/package4.aedb',

'C:/MyFiles/package4.log')

 

VB Syntax ImportAWRMicrowaveOffice <xmlFileName>, <outputPathName>, <logFileName>
VB Example

Dim oAnsoftApp

Dim oDesktop

Dim oProject

Dim oDesign

Dim oEditor

Dim oModule

Dim oProjects

Dim omachine

Dim oTool

Set oAnsoftApp = CreateObject("Ansoft.ElectronicsDesktop")

Set oDesktop = oAnsoftApp.GetAppDesktop()

oDesktop.RestoreWindow

Set oTool = oDesktop.GetTool("ImportExport")

oTool.ImportAWRMicrowaveOffice "C:/MyFiles/package4.xml", "C:/MyFiles/package4.aedb", _

"C:/MyFiles/package4.log"