Skip to main content

ModelCenter APIs 2026 R1

launchComponentPlugIn

Last update: 18.06.2026

public launchComponentPlugIn(mcStream: Long, jarFile: String, className: String, atmStream: Long): IComponentPlugIn

Construct an instance of the specified Component 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