Skip to main content

ModelCenter APIs 2025 R2

Interface ModelCenter::IVariableLink

Last update: 16.07.2025

Definition: ModelCenter/src/ModelCenter.odl (line 6026)

Represents a link between variables.

Members

Properties

Property LHS

Definition: ModelCenter/src/ModelCenter.odl (line 1)

BSTR ModelCenter::IVariableLink::LHS

The left hand side of the equation. Read only. Will always be a simple variable name.

Return type: BSTR

Property RHS

Definition: ModelCenter/src/ModelCenter.odl (line 1)

BSTR ModelCenter::IVariableLink::RHS

The right hand side of the equation. You can change the link by changing this value.

Return type: BSTR

Public functions

void ModelCenter::IVariableLink::suspendLink()

Causes the link to be suspended.

Return type: void

void ModelCenter::IVariableLink::resumeLink()

Resumes the link if it was suspended.

Return type: void

void ModelCenter::IVariableLink::breakLink()

Breaks this link and removes the dependencies between the LHS and RHS of the equation. This object becomes invalid and cannot be used after calling this method.

Return type: void

Connect with Ansys