Application

The CADFEKO application object which is returned by the cf.GetApplication() method.

Example

    -- The "GetApplication" function lives in the "cf" namespace and
    -- returns the current CADFEKO application object.

app = cf.GetApplication()

    -- Open an example file located in the FEKO_HOME folder
    
project = app:OpenFile(FEKO_HOME..[[/shared/Resources/Automation/Dipole_Example.cfx]])

Property List

MessageWindow
The application message window. (Read only MessageWindow)
Project
The application project. (Read only Project)
Type
The object type string. (Read only string)
Version
The application version. (Read only Version)

Collection List

Schematics
The collection of schematic views in the project. (SchematicCollection of Schematic.)
Views
The collection of 3D model views in the project. (ViewCollection of View.)

Method List

CascadeWindows ()
Cascade the windows.
Close ()
Close the CADFEKO application.
CloseAllWindows ()
Close all windows.
NewProject ()
Starts a new project. (Returns a Project object.)
OpenFile (filename string)
Opens a file. (Returns a Project object.)
Redo ()
Redo the last model operation.
Save ()
Saves the current session.
SaveAs (filename string)
Saves the current model with the given name.
TileWindows ()
Tile the windows.
Undo ()
Undo the last model operation.

Property Details

MessageWindow
The application message window.
Type
MessageWindow
Access
Read only
Project
The application project.
Type
Project
Access
Read only
Type
The object type string.
Type
string
Access
Read only
Version
The application version.
Type
Version
Access
Read only

Collection Details

Schematics
The collection of schematic views in the project.
Type
SchematicCollection
Views
The collection of 3D model views in the project.
Type
ViewCollection

Method Details

CascadeWindows ()
Cascade the windows.
Close ()
Close the CADFEKO application.
CloseAllWindows ()
Close all windows.
NewProject ()
Starts a new project.
Return
Project
The application project.
OpenFile (filename string)
Opens a file.
Input Parameters
filename(string)
The name of the file to open.
Return
Project
The application project.
Redo ()
Redo the last model operation.
Save ()
Saves the current session.
SaveAs (filename string)
Saves the current model with the given name.
Input Parameters
filename(string)
The name of the cfx file.
TileWindows ()
Tile the windows.
Undo ()
Undo the last model operation.