Skip to main content

ModelCenter APIs 2026 R1 SP03

ITradeStudyCallback

Last update: 30.07.2026

interface ITradeStudyCallback

This is the interface used to connect a trade study plug-in to a ModelCenter instance.

Functions

Name Summary
dataCollectorCreated abstract fun dataCollectorCreated(tradeStudy: TradeStudy2, dataCollector: DataCollector)
Called when the trade study creates a new data collector for it to use.
runEnded abstract fun runEnded(tradeStudy: TradeStudy2)
Called when the trade study has completed it's run.
runStarting abstract fun runStarting(tradeStudy: TradeStudy2): Boolean
Called when the trade study is about to start running.
tradeStudyClosed abstract fun tradeStudyClosed(tradeStudy: TradeStudy2)
Called to signal that the trade study has closed.

Connect with Ansys