Skip to main content

ModelCenter APIs 2026 R1

Group

Last update: 18.06.2026

public class Group : PHXCOMObject, IVariableHolder

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

Author

Woyak, 9-01

Functions

Name Summary
disableGC public disableGC(gc: Boolean)
If true, prevents releaseObjects from doing anything.
getFullName public getFullName(): String
gets the full name of the current object, e.g.
getGroup public getGroup(index: Int): Group
public getGroup(name: String): Group
gets the specified group
getIconID public getIconID(): Int
Gets the icon id for the icon displayed for this Assembly
getName public getName(): String
gets the name of the current object, e.g.
getNumGroups public getNumGroups(): Int
get the number of groups stored in this object
getNumVariables public getNumVariables(): Int
get the number of variables stored in this object
getVariable public getVariable(index: Int): Variable
public getVariable(name: String): Variable
gets the specified variable
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.
setIconID public setIconID(iconID: Int)
specified the icon for use with this Group.
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