Posts

How to Remove User Defined Tagged Values for All Model Elements Using API

Using tagged values is a convenient way to define additional details to model element. You can define tagged values on individual elements as a one-off usage, or define it under Stereotypes and reuse it by apply the stereotype to model elements. But to remove the tag, say you found that one of the tagged values in your model is no longer valid, you will have to go through model by model to locate and remove them. It is OK for a small project, but a very time consuming job for a large project. Since the Open API provides full access to the model data within the project, we can make use of it to remove the unwanted tagged values. In this article will show you how to remove the user defined tagged values from model element by developing a plugin. Read more

How to Define Stereotype and Tagged Values using API

Stereotype is one of the extension mechanisms in the Unified Modeling Language (UML). By defining stereotype, you can extend new notations by deriving from an existing one. You can define new properties to your derived notations using tagged values. In Visual Paradigm, it is not necessary to stereotypes and tagged values using application’s user interface. You can also do this using Open API. This article will show you how to create stereotype and tagged values using Open API. Read more