UMLData Interfaces
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.
Errors
The IUMLData interfaces may return the API error codes listed below.
1000 | The application object is no longer valid. |
1001 | Invalid parameter or invalid address for the return parameter was specified. |
1002 | UModel API is not available in the current edition. |
1400 | Invalid UMLData modification. |
1401 | Invalid Waypoint modification. |
1402 | No changes allowed. |
1403 | No changes allowed during Undo/Redo. |
1404 | Element is hidden by Element Style (visibility). |
1405 | Predefined element not found. |
1406 | Predefined element is of invalid kind. |
For the error codes specific to the UModel API in general, see UModel API Errors.