.OpenModelica.Scripting.getElementModifierValue

Information

Returns the modifier value (only the binding excluding submodifiers) of element (component or short class). For instance, model A B b1(a1(p1=5,p2=4)); model X = Y(a1(p1=5,p2=4)); end A; getElementModifierValue(A,b1.a1.p1) => 5 getElementModifierValue(A,b1.a1.p2) => 4 getElementModifierValue(A,X.a1.p1) => 5 getElementModifierValue(A,X.a1.p2) => 4 See also getElementModifierValues().

Interface

function getElementModifierValue
  input TypeName className;
  input TypeName modifier;
  output String value;
end getElementModifierValue;

Generated at 2021-01-26T02:00:56Z by OpenModelicaOpenModelica 1.17.0~dev-360-g2dc6186 using GenerateDoc.mos