.OpenModelica.Scripting.addClassAnnotation

Adds an annotation to a class.

Information

Used to set annotations, like Diagrams and Icons in classes. The function is given the name of the class and the annotation to set.

Usage: addClassAnnotation(Modelica, annotate = Documentation(info = "<html></html>"))

Interface

function addClassAnnotation
  input TypeName class_;
  input ExpressionOrModification annotate;
  output Boolean bool;
end addClassAnnotation;

Generated at 2026-06-18T12:02:28Z by OpenModelicaOpenModelica 1.26.9 using GenerateDoc.mos