Skip to main content

ModelCenter APIs 2026 R1

launchDataCollectorPlugIn

Last update: 18.06.2026

public launchDataCollectorPlugIn(mcStream: Long, jarFile: String, className: String, atmStream: Long, dcStream: Long): IDataCollectorPlugIn

Construct an instance of the specified Data Collector 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
dcStream the IDispatch for the Data Collector object

Throws

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

Connect with Ansys