    

 ## On this page

  

 

 # IModelCenter

 Last update: 16.07.2025 

interface [IModelCenter](index.md)

Interface for ModelCenter class.

#### Author

rshah

#### Inheritors

[ModelCenter](../-model-center/index.md)[ModelCenter](../-model-center/index.md)## Functions

NameSummary[addIcon](add-icon.md)abstract fun [addIcon](add-icon.md)(iconFile: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)  
Registers an icon with ModelCenter.[addNewMacro](add-new-macro.md)abstract fun [addNewMacro](add-new-macro.md)(macroName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), isAppMacro: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))  
adds a new Macro to ModelCenter's macro facility[autoLink](auto-link.md)abstract fun [autoLink](auto-link.md)(srcComp: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), destComp: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
auto links the variables of two Components[breakLink](break-link.md)abstract fun [breakLink](break-link.md)(variable: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
Breaks the link of a specified variable[checkout](checkout.md)abstract fun [checkout](checkout.md)(feature: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Feature](../-feature/index.md)  
Should check out a license feature from Ansys[checkout2](checkout2.md)abstract fun [checkout2](checkout2.md)(feature: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), productRelease: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Feature](../-feature/index.md)  
Should check out a license feature from Ansys[closeHTMLViewer](close-h-t-m-l-viewer.md)abstract fun [closeHTMLViewer](close-h-t-m-l-viewer.md)(hwnd: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)  
closes the HTMLViewer embedded browser tool[closeModel](close-model.md)abstract fun [closeModel](close-model.md)()  
closes the model within ModelCenter[createAndInitComponent](create-and-init-component.md)abstract fun [createAndInitComponent](create-and-init-component.md)(serverPath: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), parentName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), initString: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), xPos: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), yPos: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [Component](../-component/index.md)  
Creates a new component and initializes it from string data.[createAssembly](create-assembly.md)abstract fun [createAssembly](create-assembly.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), parent: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Assembly](../-assembly/index.md)  
abstract fun [createAssembly](create-assembly.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), parent: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), assemblyType: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Assembly](../-assembly/index.md)  
creates an assembly[createAssemblyVariable](create-assembly-variable.md)abstract fun [createAssemblyVariable](create-assembly-variable.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), type: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), parent: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Variable](../-variable/index.md)  
creates an assembly variable[createComponent](create-component.md)abstract fun [createComponent](create-component.md)(serverPath: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), parentName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
abstract fun [createComponent](create-component.md)(serverPath: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), parentName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), xPos: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), yPos: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))  
Instantiates a new component into the Model[createDataCollector](create-data-collector.md)abstract fun [createDataCollector](create-data-collector.md)(tradeStudyType: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), setup: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [DataCollector](../-data-collector/index.md)  
creates a Data Collector for storing and displaying data[createDataExplorer](create-data-explorer.md)abstract fun [createDataExplorer](create-data-explorer.md)(tradeStudyType: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), setup: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [DataExplorer](../-data-explorer/index.md)  
creates a Data Explorer for storing and displaying data[createDataHistoryVariable](create-data-history-variable.md)abstract fun [createDataHistoryVariable](create-data-history-variable.md)(): [DHVariable](../-d-h-variable/index.md)  
Creates a new DHVariable instance.[createDataMonitor](create-data-monitor.md)abstract fun [createDataMonitor](create-data-monitor.md)(component: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), title: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), x: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), y: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [DataMonitor](../-data-monitor/index.md)  
create a data monitor and associate it with a particular component[createJobManager](create-job-manager.md)abstract fun [createJobManager](create-job-manager.md)(): [JobManager](../-job-manager/index.md)  
creates a JobManager object for performing trade study runs  
abstract fun [createJobManager](create-job-manager.md)(showProgressDialog: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [JobManager](../-job-manager/index.md)  
abstract fun [createJobManager](create-job-manager.md)(progressDialogParent: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [JobManager](../-job-manager/index.md)  
Creates a JobManager for performing trade study runs.[createLink](create-link.md)abstract fun [createLink](create-link.md)(varName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), equation: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
Creates a new link[createPlugInFrame](create-plug-in-frame.md)abstract fun [createPlugInFrame](create-plug-in-frame.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), title: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), reserved: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), plugin: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), container: [Container](https://docs.oracle.com/javase/8/docs/api/java/awt/Container.html)): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)  
Create a frame window in which to embed the java plug-in  
abstract fun [createPlugInFrame](create-plug-in-frame.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), title: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), reserved: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), plugin: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), container: [Container](https://docs.oracle.com/javase/8/docs/api/java/awt/Container.html), showFavorites: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)  
abstract fun [createPlugInFrame](create-plug-in-frame.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), title: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), reserved: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), plugin: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), container: [Container](https://docs.oracle.com/javase/8/docs/api/java/awt/Container.html), showFavorites: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html), defWidth: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), defHeight: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)  
abstract fun [createPlugInFrame](create-plug-in-frame.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), title: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), reserved: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), plugin: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), container: [Container](https://docs.oracle.com/javase/8/docs/api/java/awt/Container.html), showFavorites: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html), defWidth: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), defHeight: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), minWidth: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), minHeight: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)[createTradeStudy](create-trade-study.md)abstract fun [createTradeStudy](create-trade-study.md)(idStr: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [TradeStudy](../-trade-study/index.md)  
Creates the specified trade study and returns a handle to it.[destroyPlugInFrame](destroy-plug-in-frame.md)abstract fun [destroyPlugInFrame](destroy-plug-in-frame.md)(hwnd: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))  
Destroys the frame window which the java plug-in is embedded in[dumpComDebug](dump-com-debug.md)abstract fun [dumpComDebug](dump-com-debug.md)()  
Dumps COM debugging information on the ModelCenter process side; only has an effect if ModelCenter is compiled in Debug mode.[getActiveJobManager](get-active-job-manager.md)abstract fun [getActiveJobManager](get-active-job-manager.md)(): [JobManager](../-job-manager/index.md)  
Gets the Job Manager associated with the currently running trade study.[getAppName](get-app-name.md)abstract fun [getAppName](get-app-name.md)(): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)  
Gets the Application name[getAssembly](get-assembly.md)abstract fun [getAssembly](get-assembly.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Assembly](../-assembly/index.md)  
Gets the specified assembly from the model.[getAssemblyStyle](get-assembly-style.md)abstract fun [getAssemblyStyle](get-assembly-style.md)(assemblyName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [ModelCenter.AssemblyStyleInfo](../-model-center/-assembly-style-info/index.md)  
Get the visual style of an assembly.[getComponent](get-component.md)abstract fun [getComponent](get-component.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Component](../-component/index.md)  
Gets the specified component from the Model[getDataCollector](get-data-collector.md)abstract fun [getDataCollector](get-data-collector.md)(index: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [DataCollector](../-data-collector/index.md)[getDataCollectorForDataExplorer](get-data-collector-for-data-explorer.md)abstract fun [getDataCollectorForDataExplorer](get-data-collector-for-data-explorer.md)(dataExplorer: [DataExplorer](../-data-explorer/index.md)): [DataCollector](../-data-collector/index.md)  
Retrieves a DataCollector for the DataExplorer with the specified ID.[getDataExplorer](get-data-explorer.md)abstract fun [getDataExplorer](get-data-explorer.md)(id: [Variant](../-variant/index.md)): [DataExplorer](../-data-explorer/index.md)  
gets a specific DataExplorer[getDataMonitor](get-data-monitor.md)abstract fun [getDataMonitor](get-data-monitor.md)(component: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), index: [Variant](../-variant/index.md)): [DataMonitor](../-data-monitor/index.md)  
gets a specific data monitor associated with a particular component[getFileSystemInfo](get-file-system-info.md)abstract fun [getFileSystemInfo](get-file-system-info.md)(uri: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [FileSystemInfo](../-file-system-info/index.md)  
Gets the FileSystemInfo for a given URI.[getFormatter](get-formatter.md)abstract fun [getFormatter](get-formatter.md)(format: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Format](../-format/index.md)  
Gets an instance of a formatter object[getFrame](get-frame.md)abstract fun [getFrame](get-frame.md)(): [JFrame](https://docs.oracle.com/javase/8/docs/api/javax/swing/JFrame.html)  
gets a Frame that should be used as the parent for all windows displayed by Java plug-ins.[getGlobalParameters](get-global-parameters.md)abstract fun [getGlobalParameters](get-global-parameters.md)(): [GlobalParameters](../-global-parameters/index.md)  
Gets the list of global parameters[getHaltStatus](get-halt-status.md)abstract fun [getHaltStatus](get-halt-status.md)(): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)  
checks to see if the halt button has been pressed[getIsInteractive](get-is-interactive.md)abstract fun [getIsInteractive](get-is-interactive.md)(): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)  
Determine if the current ModelCenter is running interactively - that is, if it has a GUI and a main window.[getLastErrorMessage](get-last-error-message.md)abstract fun [getLastErrorMessage](get-last-error-message.md)(): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)  
retrieves the text associated with the last ModelCenter error[getLicensingPath](get-licensing-path.md)abstract fun [getLicensingPath](get-licensing-path.md)(): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)  
Gets the ModelCenter licensing path returns ModelCenter licensing path[getLinks](get-links.md)abstract fun [getLinks](get-links.md)(includeReferences: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [VariableLinks](../-variable-links/index.md)  
Retreive a list of all links in a model[getLogger](get-logger.md)abstract fun [getLogger](get-logger.md)(): [Logger](../../com.phoenix_int.ModelCenter.logging/-logger/index.md)  
Retrieves a logger.[getMacroScript](get-macro-script.md)abstract fun [getMacroScript](get-macro-script.md)(macroName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)  
get the script for a macro if the macro exists[getMacroScriptLanguage](get-macro-script-language.md)abstract fun [getMacroScriptLanguage](get-macro-script-language.md)(macroName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)  
get the script lancuage for a macro if the macro exists[getModel](get-model.md)abstract fun [getModel](get-model.md)(): [Assembly](../-assembly/index.md)  
Gets the Model object[getModelCenterPath](get-model-center-path.md)abstract fun [getModelCenterPath](get-model-center-path.md)(): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)  
Retrieves the install path for ModelCenter.[getModelDirectory](get-model-directory.md)abstract fun [getModelDirectory](get-model-directory.md)(): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)  
Gets the Model directory returns an exception when Model is not open returns an empty string when Model has not been saved[getModelFileName](get-model-file-name.md)abstract fun [getModelFileName](get-model-file-name.md)(): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)  
Gets the Model file name[getPreference](get-preference.md)abstract fun [getPreference](get-preference.md)(prefName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Variant](../-variant/index.md)  
gets a preference[getProcessID](get-process-i-d.md)abstract fun [getProcessID](get-process-i-d.md)(): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)  
Retrieves the process identifier (PID) of the ModelCenter process.[getRunOnlyMode](get-run-only-mode.md)abstract fun [getRunOnlyMode](get-run-only-mode.md)(): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)  
Gets the status of ModelCenter being in Run-Only Mode.[getScreenUpdating](get-screen-updating.md)abstract fun [getScreenUpdating](get-screen-updating.md)(): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)  
returns the current screen updating flag[getTradeStudyFilters](get-trade-study-filters.md)abstract fun [getTradeStudyFilters](get-trade-study-filters.md)(): [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)&lt;[String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)&gt;  
Get the filters for saving Trade Study files (for use in showFileBrowseDialog and showFileSaveDialog)[getValue](get-value.md)abstract fun [getValue](get-value.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Variant](../-variant/index.md)  
gets a value for the specified variable[getValueAbsolute](get-value-absolute.md)abstract fun [getValueAbsolute](get-value-absolute.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Variant](../-variant/index.md)  
gets a value for the specified variable without validating it[getVariable](get-variable.md)abstract fun [getVariable](get-variable.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Variable](../-variable/index.md)  
Gets the specified variable from the Model[getVariableMetaData](get-variable-meta-data.md)abstract fun [getVariableMetaData](get-variable-meta-data.md)(name: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [DHVariable](../-d-h-variable/index.md)  
Get metadata about the specified variable from the Model.[getVersion](get-version.md)abstract fun [getVersion](get-version.md)(index: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)  
Gets the ModelCenter version[guiCloseAllMultiplexers](gui-close-all-multiplexers.md)abstract fun [guiCloseAllMultiplexers](gui-close-all-multiplexers.md)(): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)  
Attempts to close the DataExplorers of all vizualization multiplexers.[guiLoadFile](gui-load-file.md)abstract fun [guiLoadFile](gui-load-file.md)(modelFile: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)  
Loads a file in "GUI" mode, that is, unlike loadFile(...), will produce a prompt to the user to verify whether or not any currently opened model should be saved prior to loading the given file.[guiSaveModel](gui-save-model.md)abstract fun [guiSaveModel](gui-save-model.md)()  
Saves a file in "GUI" mode, which will pop up a dialog if the file has not yet been saved.[halt](halt.md)abstract fun [halt](halt.md)()  
Halts any running trade studies[hidePlugInFrame](hide-plug-in-frame.md)abstract fun [hidePlugInFrame](hide-plug-in-frame.md)(hwnd: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))  
Hides the frame window which the java plugin is embedded in[HTMLViewerWaitForClose](-h-t-m-l-viewer-wait-for-close.md)abstract fun [HTMLViewerWaitForClose](-h-t-m-l-viewer-wait-for-close.md)(hwnd: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))  
waits for the HTMLViewer embedded browser tool to close[internalLicensing](internal-licensing.md)abstract fun [internalLicensing](internal-licensing.md)(one: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), two: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))  
For internal use only[invokeHelp](invoke-help.md)abstract fun [invokeHelp](invoke-help.md)(helpID: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html))  
Display a topic in ModelCenter's help system[isOkToClose](is-ok-to-close.md)abstract fun [isOkToClose](is-ok-to-close.md)(): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)  
Determine whether it's ok to shutdown ModelCenter or whether there are still windows open[launchDataCollectorPlugIn](launch-data-collector-plug-in.md)abstract fun [launchDataCollectorPlugIn](launch-data-collector-plug-in.md)(plugInName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), dataExplorer: [DataExplorer](../-data-explorer/index.md))  
Launches a specific Data Collector PlugIn, by name, on the specified Data Explorer.[launchHTMLViewer](launch-h-t-m-l-viewer.md)abstract fun [launchHTMLViewer](launch-h-t-m-l-viewer.md)(url: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), popup: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)  
starts the HTMLViewer embedded browser tool[launchMacroEditor](launch-macro-editor.md)abstract fun [launchMacroEditor](launch-macro-editor.md)(macroName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
launches the macro editor, displays the macro scrip if it exists[launchTradeStudy](launch-trade-study.md)abstract fun [launchTradeStudy](launch-trade-study.md)(idStr: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
Launches the specified trade study.[loadFile](load-file.md)abstract fun [loadFile](load-file.md)(modelFile: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
abstract fun [loadFile](load-file.md)(modelFile: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), connectErrorMode: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html))  
opens the specified Model[loadModel](load-model.md)abstract fun [loadModel](load-model.md)(modelFile: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
abstract fun [loadModel](load-model.md)(modelFile: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), connectErrorMode: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html))  
opens the specified Model[MessageBox](-message-box.md)abstract fun [MessageBox](-message-box.md)(msg: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
displays a Windows Message Box[moveComponent](move-component.md)abstract fun [moveComponent](move-component.md)(component: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), parent: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), index: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html))  
Moves a component.[newInstance](new-instance.md)abstract fun [newInstance](new-instance.md)(): [IModelCenter](index.md)  
creates a new ModelCenter object (that is connected to the same ModelCenter session) that is not currently attached to any thread.[newModel](new-model.md)abstract fun [newModel](new-model.md)()  
loads ModelCenter with a new, empty Model (data dependency model - MODEL\_TYPE\_DATA)  
abstract fun [newModel](new-model.md)(modelType: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
loads ModelCenter with a new, empty Model[parallelInstance](parallel-instance.md)abstract fun [parallelInstance](parallel-instance.md)(): [ModelCenter](../-model-center/index.md)  
For internal use only[release](release.md)abstract fun [release](release.md)()  
Releases the COM reference to ModelCenter for this object.[removeComponent](remove-component.md)abstract fun [removeComponent](remove-component.md)(component: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
Removes a specified component[removeDataMonitor](remove-data-monitor.md)abstract fun [removeDataMonitor](remove-data-monitor.md)(component: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), index: [Variant](../-variant/index.md)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)  
remove a specific data monitor associated with a particular component[run](run.md)abstract fun [run](run.md)(variableArray: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
A comma-separated list of ModelCenter variables to validate.[runAntFile](run-ant-file.md)abstract fun [runAntFile](run-ant-file.md)(fileName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
runs an ANT testing file[runMacro](run-macro.md)abstract fun [runMacro](run-macro.md)(macroName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Variant](../-variant/index.md)  
runs a macro[runMacro2](run-macro2.md)abstract fun [runMacro2](run-macro2.md)(macroName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [Variant](../-variant/index.md)  
runs a macro and passes the current modelCenter object to the script (i.e.[saveModel](save-model.md)abstract fun [saveModel](save-model.md)()  
saves the current Model with it's existing file name[saveModelAs](save-model-as.md)abstract fun [saveModelAs](save-model-as.md)(fileName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
saves the current Model with the specified file name[saveTradeStudy](save-trade-study.md)abstract fun [saveTradeStudy](save-trade-study.md)(uri: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), fileType: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), dataExplorer: [DataExplorer](../-data-explorer/index.md))  
Save the trade study inside of the Data Explorer[saveVersionedModel](save-versioned-model.md)abstract fun [saveVersionedModel](save-versioned-model.md)(versionStatus: [ModelCenter.VersionStatus](../-model-center/-version-status/index.md), checkinMessage: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
saves the current Model with it's existing file name[saveVersionedModelAs](save-versioned-model-as.md)abstract fun [saveVersionedModelAs](save-versioned-model-as.md)(fileName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), versionStatus: [ModelCenter.VersionStatus](../-model-center/-version-status/index.md), checkinMessage: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
saves the current Model with the specified file name[setAssemblyStyle](set-assembly-style.md)abstract fun [setAssemblyStyle](set-assembly-style.md)(assemblyName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), style: [ModelCenter.AssemblyStyle](../-model-center/-assembly-style/index.md))  
Set the visual style of an assembly.  
abstract fun [setAssemblyStyle](set-assembly-style.md)(assemblyName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), style: [ModelCenter.AssemblyStyle](../-model-center/-assembly-style/index.md), width: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), height: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html))  
 Set the visual style of an assembly including (optionally) width and height.[setIconPlugInFrame](set-icon-plug-in-frame.md)abstract fun [setIconPlugInFrame](set-icon-plug-in-frame.md)(hwnd: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html), iconFile: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
Sets the icon for the frame window which the java plugin is embedded in[setLoginCallback](set-login-callback.md)abstract fun [setLoginCallback](set-login-callback.md)(callback: [ILoginCallback](../-i-login-callback/index.md))  
Set the login callback to use[setMacroScript](set-macro-script.md)abstract fun [setMacroScript](set-macro-script.md)(macroName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), script: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
set the script for a macro if the macro exists[setMacroScriptLanguage](set-macro-script-language.md)abstract fun [setMacroScriptLanguage](set-macro-script-language.md)(macroName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), language: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
set the script lancuage for a macro if the macro exists[setPassword](set-password.md)abstract fun [setPassword](set-password.md)(password: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
Sets the global default password combination in ModelCenter[setPreference](set-preference.md)abstract fun [setPreference](set-preference.md)(prefName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), value: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
Sets a preference[setRunOnlyMode](set-run-only-mode.md)abstract fun [setRunOnlyMode](set-run-only-mode.md)(shouldBeInRunOnly: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))  
Sets the status of ModelCenter being in Run-Only Mode to the specified value.[setScheduler](set-scheduler.md)abstract fun [setScheduler](set-scheduler.md)(scheduler: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
Sets the appropriate schdeuler.[setScreenUpdating](set-screen-updating.md)abstract fun [setScreenUpdating](set-screen-updating.md)(flag: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))  
sets a flag indicating if the ModelCenter window should update due to Model changes.[setUserName](set-user-name.md)abstract fun [setUserName](set-user-name.md)(username: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
Sets the global default username combination in ModelCenter[setValue](set-value.md)abstract fun [setValue](set-value.md)(varName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), value: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))  
sets the value for the specified variable[showFileBrowseDialog](show-file-browse-dialog.md)abstract fun [showFileBrowseDialog](show-file-browse-dialog.md)(title: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), filters: [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)&lt;[String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)&gt;, initialUri: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)  
abstract fun [showFileBrowseDialog](show-file-browse-dialog.md)(title: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), filters: [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)&lt;[String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)&gt;, initialUri: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), hwnd: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)  
Displays file selection dialog for loading and returns URL of selected file.[showFileSaveDialog](show-file-save-dialog.md)abstract fun [showFileSaveDialog](show-file-save-dialog.md)(title: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), selectedFilter: [ValueHolder](../../com.phoenix_int.ModelCenter.util/-value-holder/index.md)&lt;[Integer](https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html)&gt;, initialFileName: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), filters: [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)&lt;[String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)&gt;, initialUri: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), hwnd: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)): [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html)  
Displays file selection dialog for saving and returns URL of selected file.[showPlugInFrame](show-plug-in-frame.md)abstract fun [showPlugInFrame](show-plug-in-frame.md)(hwnd: [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html))  
Shows the frame window which the java plugin is embedded in[startGUIMode](start-g-u-i-mode.md)abstract fun [startGUIMode](start-g-u-i-mode.md)(showDialogs: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html))  
THIS FUNCTION IS A BETA CAPABILITY Normally when invoked via COM, ModelCenter is in "server" mode and it hides all GUI and dialogs.[tradeStudyEnd](trade-study-end.md)abstract fun [tradeStudyEnd](trade-study-end.md)()  
lets ModelCenter know that a trade study is ending[tradeStudyStart](trade-study-start.md)abstract fun [tradeStudyStart](trade-study-start.md)()  
lets ModelCenter know that a trade study is beginning