bdeGetCurrentModel
Gets the current model in use.
Syntax
model = bdeGetCurrentModel()
Outputs
- model
- Model that is currently being used.
Examples
model = bdeGetCurrentModel()
model = hwscpDiagram
Discover new features and enhancements.
New to Activate? Learn the basics here.
Start using Activate with our interactive tutorials.
Learn about the components in Activate models.
Learn about modeling physical components.
Learn about modeling hydraulic systems with the Hydraulics (By Fluidon) library.
Learn about modeling electrical and electronic systems with Modelica and Spice.
Learn about modeling multibody dynamic systems.
Learn about modeling electromagnetic systems.
Learn how to set up, run, and troubleshoot simulations.
Discover options to review, display, and export results.
Learn about block libraries for building dynamic system models.
Learn about generating code from an Activate model.
Explore the Extended Definitions, OML Guides, Block Library, API Guide and Glossary.
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 Activate library.
Provides information about developing and simulating models through the Activate Application Program Interface.
Learn about the API's available for manipulating blocks through the Block Diagram Editor.
Closes the current model in use.
Closes model, which is a hwscpDiagram.
Creates a new model. Option to use filename., which is a scm file.
Determines if a filepath is open or if a filename exists.
Gets the current diagram that is being used. Is of type hwscpDiagram.
Gets the current model in use.
Gets the current model's file path.
Gets the name of the model that is currently in use, which is of type hwString.
Takes model and returns it's creation date.
Takes model and returns it's creator.
Takes model and returns a description about it.
Returns the diagram of the given model, which is a hwscpDiagram.
Takes model and returns the model's file path.
Takes model and returns finalization values.
Takes model and returns initialization values.
Takes model and returns the last time the model was modified.
Gets name of given model.
Takes model and returns whether the model has been revised.
Returns the root of the model, which is a hwscpDiagram.
Gets the pathname of the temporary directory of the given model.
Takes model and returns current version.
Launches a dialog box that contains the simulation parameters for a diagram.
Reads filename, which is a scm file. Loads model from filename.
Saves current model to temporary directory.
Saves model to filename.
Takes model and date and sets the creation date parameter.
Takes model and name and sets the creator parameter.
Takes model and description and sets the description parameter.
Takes model and value and sets the finalization parameters.
Takes model and value and sets the initialization parameters.
Takes model and date and sets the last modified date parameter.
Takes model and value and sets the revision parameter.
Takes model and value and sets the version parameter.
Learn about the API's available for obtaining information from Activate models, for example information about variables and environments.
Learn about the API's available for simulating models.
Key terms associated with the software.
You've got questions? We've got answers!
Define shortcuts to common operations.
Explore the Extended Definitions, OML Guides, Block Library, API Guide and Glossary.
Provides information about developing and simulating models through the Activate Application Program Interface.
Learn about the API's available for manipulating blocks through the Block Diagram Editor.
Gets the current model in use.
Gets the current model in use.
model = bdeGetCurrentModel()
model = bdeGetCurrentModel()
model = hwscpDiagram
(c) Altair Engineering, Inc. All rights reserved.