Skip to main content

ModelCenter APIs 2026 R1 SP03

Interface ModelCenter::IVariableLinks

Last update: 30.07.2026

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

A collection of IVariableLink objects.

Members

Properties

Property Count

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

VARIANT ModelCenter::IVariableLinks::Count

Number of Links.

Return type: VARIANT

Public functions

Function Item

VARIANT ModelCenter::IVariableLinks::Item(VARIANT id)

Gets the specified Link object.

Parameters:

  • id: ID of the specified Link. It can be a name or an index (0-based index). In the case of a name, it looks for the link based on the LHS variable's name.

Returns:

IDispatch* to an IVariableLink object.

Parameters:

  • VARIANT id

Return type: VARIANT

Connect with Ansys