Skip to main content

ModelCenter APIs 2025 R2

Interface ComponentPlugIn::IComponentPlugIn

Last update: 16.07.2025

Definition: ModelCenter/src/InterfaceDLL\_ComponentPlugIn/ComponentPlugIn.odl (line 18)

Members

Public functions

Function construct

void ComponentPlugIn::IComponentPlugIn::construct(IDispatch *modelCenter, IDispatch *addToModel, [defaultvalue(NULL)]IDispatch *dataCollector)

Parameters:

  • IDispatch * modelCenter
  • IDispatch * addToModel
  • [defaultvalue(NULL)] IDispatch * dataCollector

Return type: void

Function show

boolean ComponentPlugIn::IComponentPlugIn::show()

Return type: boolean

Function toString

BSTR ComponentPlugIn::IComponentPlugIn::toString()

Return type: BSTR

Function fromString

void ComponentPlugIn::IComponentPlugIn::fromString(BSTR setupString)

Parameters:

  • BSTR setupString

Return type: void

Function run

void ComponentPlugIn::IComponentPlugIn::run()

Return type: void

Function onEnd

void ComponentPlugIn::IComponentPlugIn::onEnd()

Return type: void

Connect with Ansys