.OpenModelica.Scripting.getElementModifierValues

Information

Returns the modifier value (including the submodfiers) 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; getElementModifierValues(A,b1.a1) => (p1 = 5, p2 = 4) getElementModifierValues(A,X.a1) => (p1 = 5, p2 = 4) See also getElementModifierValue().

Interface

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

Generated at 2022-06-29T00:33:29Z by OpenModelicaOpenModelica 1.20.0~dev-170-g821fd8f using GenerateDoc.mos