- This topic has 3 replies, 2 voices, and was last updated 6 years, 4 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Model Expert queries › Class not in reference model
Home › Forums › Model Expert queries › Class not in reference model
Hello,
I am playing with the Model Expert and went through the creating metamodel and a reference model. It is pretty simple: just a class with an association and an enumeration.
When I try to check the source diagram (or any other), I get “Class not in reference” violation. Did I miss any step in the help?
The source diagram:
took me a while, but I finally found out what’s happening.
In the meta-model, there is an extra space character in front of ‘Class’, so that it’s called
‘ Class’, which is the reason for the incorrect ‘class not found’.
In the short-term, if you just remove the extra space from the meta-model, or the reference MM (or both) then all will be well. I will fix this error in the next release.
I’ve checked, and it’s only ‘Class’ meta-types which do this – everything else seems fine. Probably a ‘funny’ from EA…
Well, that’s it. Thanks for the solution.
I checked in EA again, and the reason we have to do some strange things is that, when you create an element in EA, and give it a name of ‘Class’, then the name is set to blank. Error in the EA API
Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.
Download