Skip to main content

ModelCenter APIs 2025 R2

VariableLink

Last update: 16.07.2025

public class VariableLink : PHXCOMObject

This is a base class for variable types in ModelCenter

Author

Woyak, 9/2001

Functions

Name Summary
breakLink public breakLink()
breaks the link
disableGC public disableGC(gc: Boolean)
If true, prevents releaseObjects from doing anything.
getLHS public getLHS(): String
gets the left-hand side of the link equation
getRHS public getRHS(): String
gets the right-hand side of the link equation
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.
resumeLink public resumeLink()
resumes the link
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.
suspendLink public suspendLink()
suspends the link

Connect with Ansys