Skip to main content

ModelCenter APIs 2025 R2

TradeStudy

Last update: 16.07.2025

public class TradeStudy : PHXCOMObject

This is the wrapper class that handles the native COM calls to a TradeStudy object.

Author

agardner, 08-2012

Inheritors

TradeStudy2
TradeStudy2

Functions

Name Summary
disableGC public disableGC(gc: Boolean)
If true, prevents releaseObjects from doing anything.
fromString public fromString(setup: String)
Called to restore the state of a plug-in
release public release()
Releases the COM reference to ModelCenter for this object.
releaseObjects public releaseObjects()
This function attempts to release any COM resources left behind from objects which have been finalized but release() was never called on them.
setReferenceDebugMode public setReferenceDebugMode(on: Boolean)
When set to true, the system will keep a list of active COM objects that are allocated but not yet released since this method was invoked.
show public show(): Boolean
Called to display the trade study.
toString public toString(): String
Called to save the state of the plug-in.

Connect with Ansys