Not that easy. The registry is a starting point. To detect whether a MDG is enabled you can inspect
\\HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS\MDG_TECHNOLOGY_STATUS
where you find something like Archimate=0;
in a semicolon separated list. In the same key location you find
"MDGTechnology PathList"
which holds a comma (!) separated list of paths where MDGs are looked after besides
%programfiles%\Sparx Systems\EA\MDGTechnologies
Now you can combine both and traverse the paths to find the appropriate MDG files and read them with the usual file operations.
manpreet
Best Answer
2 years ago
We have a model in which the MDG is imported. Now I want to read the MDG XML file to find the specific tagged value type whether it is of type combo/refguidlist. So how can we fetch the MDG technology from Addin imported to the model.