.OpenModelica.Scripting.getComponentModifierValue

Returns the binding equation of a component.

Information

Returns the modifier value (only the binding excluding submodifiers) of a component.

Example:

  model A
    B b1(a1(p1=5,p2=4));
  end A;

  getComponentModifierValue(A,b1.a1.p1) => 5
  getComponentModifierValue(A,b1.a1.p2) => 4

See also getComponentModifierValues().

Interface

function getComponentModifierValue
  input TypeName class_;
  input TypeName modifier;
  output String value;
end getComponentModifierValue;

Generated at 2025-04-28T18:20:06Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos