View Question

show characteristics of selected element

Hi,

Do u have a function that gives the characteristics of the selected elements?? And if yes, can u give an example?

Product: Astah Professional

Hi Ano,

Thanks for your post.

If you'd like to get all the properties of selected model using API, here's a sample.

https://astahblog.com/sample-scripts/#printproperties

If this isn't what you want to know, please let me know your request in more detail?

Thanks, SJ

Do u have an example in java?

Hi Ano,

I'm not sure which properties you mean by the "characteristics". But here're some information you can refer to as example from our "Bookmark Plug-in" source code. This example is to modify tagged values of selected element in the diagram.

If this doesn't help, please give me an example with specific property you want to add, so that we will be able to provide you with better examples.

Thanks,

SJ

Answer Question

This content has the following tags: