Skip to main content

ModelCenter APIs 2026 R1

launchTradeStudyPlugIn

Last update: 18.06.2026

public launchTradeStudyPlugIn(mcStream: Long, jarFile: String, className: String, atmStream: Long): ITradeStudyPlugIn

Construct an instance of the specified Trade Study PlugIn class.

Return

the plugin object, which will have had construct called

Parameters

mcStream the IDispatch for the ModelCenter object
jarFile the path to the JAR file containing the class
className the fully-qualified classname of the class to load
atmStream the IDispatch for the AddToModel object

Throws

Exception on error; the type is determined by the type of failure

Connect with Ansys