The window variable

<< Click to Display Table of Contents >>

Navigation:  Scriptiing > The DEX API >

The window variable

The window variable give you access to the AutoTRAX main window commands.

Useage

Call method on the window variable e.g.

  window.CreateNewPart()

 

Methods (Loads more to come in the next few days)

clip1054

CreateNewProject - create a new project

clip1056

ShowPartWizard - Start the part wizard.

clip1055

CreateNewPart - create a new part

clip1057

ImportAutoTRAXFile - read an AutoTRAX EDA file.

clip1058

OpenProject - open an existing project

clip1059

OpenPart - open an existing part

clip1060

RecoverDesign - display the recover design dialog

clip1061

OpenEagle - open an existing Eagle schematic/board file, combing them both.

clip1062

Close -  close the current design.

 

clip1063

Save - save the current design

clip1064

SaveAs - save the design to a different file name

clip1065

Exit - close AutoTRAX