我注意到当我在图标/图表视图中添加位图时,OM 脚本会被注释掉。
我正在使用 OpenModelica 1.9.1+dev (r18667) (RML 版本)
参考代码
model Test
annotation(Diagram(coordinateSystem(extent = {{-100,-100},{100,100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2,2}), graphics = {Bitmap(origin = {0.12,-0.47}, extent = {{-99.77,99.65000000000001},{99.77,-99.65000000000001}}, fileName = "modelica://Test/C:/Users/MSK/Desktop/Capture.PNG")}));
end Test;
这可能是一个错误。所以我举报了