Closed tbeu closed 8 years ago
Thanks. We will look into it, the whole 3D Visualization part will probably see a lot of changes anyway. But this is not a top priority.
To reproduce the error (or a related error) in Dymola, run
Advanced.PedanticModelica:=true;
checkModel("BuildingSystems.Utilities.Visualisation3D.Modelica3D");
The resulting error message is:
Component type specifier ExtSetup is a model, that should not be used in a function
File: C:/Users/mthorade/Documents/Dymola/BSgithub/BuildingSystems/Utilities/Visualisation3D/Modelica3D/Setup.mo, line 10
Error: Component type specifier ExtSetup is a model, this cannot be combined with the prefix output .
File: C:/Users/mthorade/Documents/Dymola/BSgithub/BuildingSystems/Utilities/Visualisation3D/Modelica3D/Setup.mo, line 10
Component context: setup
Component declared as ExtSetup setup in BuildingSystems.Utilities.Visualisation3D.Modelica3D.Setup
There are some models that do not comply with the Modelica language specification. The spec says:
A function may only contain components of the restricted classes
type, record, operator record, and function;
i.e. no model or block components.
https://modelica.org/documents/ModelicaSpec33Revision1.pdf#page=141
The package BuildingSystems.Utilities.Visualisation3D.Modelica3D
is not longer part of the building systems library, because it was shifted to the BuildingSystems_Vis3D
library