The UMLData interfaces allow direct UML-level access to a UModel document. Using these interfaces, you can read and directly modify the UML representation of the document.
IUMLData is the common base interface of IUMLElement and IUMLGuiElement.
IUMLElements contains elements as defined by the UML specification (see http://www.uml.org).
IUMLGuiElements contains Altova-specific elements for diagrams, and members used to show IUMLElements on diagrams.
For examples of modifying UML elements and GUI elements, see Object model UMLData.
The IUMLData interfaces may return the API error codes listed below.
The application object is no longer valid.
Invalid parameter or invalid address for the return parameter was specified.
UModel API is not available in the current edition.
Invalid UMLData modification.
Invalid Waypoint modification.
No changes allowed.
No changes allowed during Undo/Redo.
Element is hidden by Element Style (visibility).
Predefined element not found.
Predefined element is of invalid kind.
For the error codes specific to the UModel API in general, see UModel API Errors.