2024.1
Explore the Extended Definitions, OML Guides, Block Library, API Guide and Glossary.
Provides information about developing and simulating models through the Twin Activate Application Program Interface.
Learn about the APIs available for manipulating blocks through the Block Diagram Editor.
Discover new features and enhancements.
New to Twin Activate? Learn the basics here.
Start using Twin Activate with our interactive tutorials.
Learn about the features and functionality available in Twin Activate.
PDF file with in-depth information on key topics in the User's Guide.
OpenMatrix is a mathematical scripting language.
The Reference Guide contains documentation for all functions supported in the OpenMatrix language.
Describes all of the blocks in the installed Twin Activate library.
Closes the editor file.
Creates a text editor.
Deletes a given textEditor.
Gets the file path of the textEditor.
Gets the language/type of a given editor.
Returns a result for what button is pressed in editor. Will return error, 1 - ok, 2 - cancel.
Gets the line where the selected text of a given editor starts.
Gets the selected text of a given editor.
Gets the text of the textEditor.
Returns the value for a given property of block as a bool.
Highlights a line in a given editor.
Returns whether a run on a sequence of oml statements in a script in an editor by selecting only those oml statements has occured or not.
Returns whether or not an editor has made modifications.
Launches a modal text editor in the ui. After typing in the text editor, if you press ok then the content typed in the editor is saved as a string and is returned from the function.
Launches a non-modal text editor in the ui.
Launches an oml text editor in the ui.
Saves the editor file.
Saves the editor to a given filepath.
Sets the filepath for a given editor.
Sets the editorText for a given editor.
Shows the editor in the ui.
Learn about the APIs available for obtaining information from Activate models, for example information about variables and environments.
Learn about the APIs available for simulating models.
Key terms associated with the software.
You've got questions? We've got answers!