MockMeshApplication
Inheritance
The MockMeshApplication object is derived from the Object object.
Usage locations
The MockMeshApplication object can be accessed from the following locations:
- Static functions
- MockMeshApplication object has static function GetInstance().
Property List
- Label
- The object label. (Read/Write string)
- MessageWindow
- The application message window. (Read only MessageWindow)
- Type
- The object type string. (Read only string)
- Version
- The application version. (Read only Version)
Property List (internal only)
- CalculationProgress
- (Read only number)
- DebugBuildDetected
- (Read only boolean)
- MainWindow
- (Read only MockMainWindow)
- NotesEditorWindow
- (Read only NotesEditor)
- Path
- (Read only string)
- RecordedScript
- (Read only string)
- ScriptEditorWindow
- (Read only ScriptEditor)
- Settings
- (Read only ApplicationSettings)
- UndoStackDepth
- (Read only number)
- WindowsDetected
- (Read only boolean)
Method List
- CloseProject ()
- Closes an open project.
- Delete ()
- Deletes the entity.
- Duplicate ()
- Duplicates the entity. (Returns a Object object.)
- Exit ()
- Exit the application.
- GetProperties ()
- Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step. (Returns a table object.)
- Load (filename string)
- Loads a new project. (Returns a Object object.)
- NewProject ()
- Creates a new project. (Returns a Object object.)
- Save ()
- Saves the current session.
- SaveAs (filename string)
- Saves the current model with the given name.
- SetProperties (properties Object)
- Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.
Method List (internal only)
Static Function List
- GetDefaultProperties ()
- Creates a table containing the default settings to create an object. (Returns a table object.)
- GetInstance ()
- Returns an instance of the CADFEKO application object. (Returns a MockMeshApplication object.)
Property Details
- Label
- The object label.
- Type
- string
- Access
- Read/Write
- MessageWindow
- The application message window.
- Type
- MessageWindow
- Access
- Read only
- Type
- The object type string.
- Type
- string
- Access
- Read only
- Version
- The application version.
- Type
- Version
- Access
- Read only
Property Details (internal only)
- CalculationProgress
- Type
- number
- Access
- Read only
- DebugBuildDetected
- Type
- boolean
- Access
- Read only
- MainWindow
- Type
- MockMainWindow
- Access
- Read only
- NotesEditorWindow
- Type
- NotesEditor
- Access
- Read only
- Path
- Type
- string
- Access
- Read only
- RecordedScript
- Type
- string
- Access
- Read only
- ScriptEditorWindow
- Type
- ScriptEditor
- Access
- Read only
- Settings
- Type
- ApplicationSettings
- Access
- Read only
- UndoStackDepth
- Type
- number
- Access
- Read only
- WindowsDetected
- Type
- boolean
- Access
- Read only
Method Details
- CloseProject ()
- Closes an open project.
- Delete ()
- Deletes the entity.
- Duplicate ()
- Duplicates the entity.
- Return
- Object
- The new (duplicated) entity.
- Exit ()
- Exit the application.
- GetProperties ()
- Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step.
- Return
- table
- A table defining the properties.
- Load (filename string)
- Loads a new project.
- NewProject ()
- Creates a new project.
- Return
- Object
- The application project.
- 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.
- SetProperties (properties Object)
- Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.
- Input Parameters
- properties(Object)
- A table of properties defining the new state of the object.
Method Details (internal only)
Static Function Details
- GetDefaultProperties ()
- Creates a table containing the default settings to create an object.
- Return
- table
- A table containing the default properties.
- GetInstance ()
- Returns an instance of the CADFEKO application object.
- Return
- MockMeshApplication
- An instance of the CADFEKO application object.