Opened 15 years ago
Last modified 15 years ago
#1347 closed defect (fixed)
getDocumentationAnnotation API call not working with 3.x
| Reported by: | Adeel Asghar | Owned by: | Adeel Asghar |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Version: | ||
| Keywords: | Cc: | Adeel Asghar, Adrian Pop |
Description
The OMC API getDocumentationAnnotation is not working for components when annotation version is set to 3.x. It works for packages but not for models. Check the commands below:
>> getDocumentationAnnotation(Modelica.Mechanics.Rotational.Components)
{"<html>
<p>
This package contains basic components 1D mechanical rotational drive trains.
</p>
</html>"}
>> getDocumentationAnnotation(Modelica.Mechanics.Rotational.Components.Intertia)
>> getDocumentationAnnotation(Modelica.Electrical.Analog.Basic)
{"<HTML>
<p>
This package contains basic analog electrical components.
</p>
</HTML>
","<html>
<dl>
<dt>
<b>Main Authors:</b>
<dd>
Christoph Clauß
<<a href=\"mailto:Christoph.Clauss@eas.iis.fraunhofer.de\">Christoph.Clauss@eas.iis.fraunhofer.de</a>><br>
André Schneider
<<a href=\"mailto:Andre.Schneider@eas.iis.fraunhofer.de\">Andre.Schneider@eas.iis.fraunhofer.de</a>><br>
Fraunhofer Institute for Integrated Circuits<br>
Design Automation Department<br>
Zeunerstraße 38<br>
D-01069 Dresden<br>
<p>
</dl>
</html>"}
>> getDocumentationAnnotation(Modelica.Electrical.Analog.Basic.EMF)
Note:
See TracTickets
for help on using tickets.

fixed in revision 6860.