Skip to main content

ModelCenter APIs 2025 R1

CustomDesignPoint

Last update: 16.07.2025

public class CustomDesignPoint : PHXCOMObject

This is the wrapper class that handles the native COM calls to a custom design point. The class is used by Java plug-ins to ModelCenter.

Author

Mullins, 10-02

Functions

Name Summary
addVariable public addVariable(name: String, equation: String, isNumeric: Boolean, isValid: Boolean, isInput: Boolean, type: String, units: String, value: String)
Adds a variable to the custom design point
disableGC public disableGC(gc: Boolean)
If true, prevents releaseObjects from doing anything.
getID2 public getID2(): Long
Public method for getting the ID for this object
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.
runFailed public runFailed(reason: String)
Tells the Data Collector that this run failed
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.

Connect with Ansys