Hi I am new to EA and scripting in general. I am trying to take a UML Class diagram and export its contents to an OWL/RDF format. EA does not have native functionality to convert Class diagram to OWL format. I am trying to write a VB Script to do this and am finding the documentation very confusing. Ive viewed a general 30 minute tutorial by Geert Bellekens which gave me a starting point. I've create a script in the Diagram Group (not sure this is the correct place) seemed to be the most logical place and based off of Geert's tutorial i was able to identify the classes(elements) selected for a current diagram -- element class documentation specifies that you use the attribute class to retrieve the attributes for the specified class/element but does not show an example on how to call this class. Sorry if im messing up the terminology used within sparx --- we are using sparx as a modeling tool because we do not have the funds to purchase a license for a tool such as Erwi, so terminology is strictly around traditional ERD nomenclature -- our class model is truly an ERD represented in UML - but now we have a need - URGENT - to extract the diagram and there are many - we created packages to represent different subject areas (account, client, product, loan, etc) within each package/subject area there can be 1 or more diagrams. There is no link/dependency between packages. We need to extract the diagram contents (class, attributes, associations between classes and cardinality into an OWL/RDF format so another system can ingest it.
I know i have to utilize the EA API and Repository but really not sure how to read the variables i need to help produce the desired output.
we are under a tight deadline and there is nobody on our team that has used sparx before or has strong VB scripting knowledge truly a logical data modeling team. Any advise on how to proceed would be greatly appreciated.
Thanks,
Louie