Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: aguevara on June 24, 2014, 04:00:12 am
-
All,
I am trying to determine the number of activity diagrams in my EA model.
Is there a script or an easy way of doing so?
I would also like to see if I can get a script to count how many "action" are in the model.
Thanks,
Angelo
[email protected]
-
Ctrl-F
Builder
SQL
select count(*) from t_diagram where diagram_type = "Activity"
Run
q.
-
Also look at the Project Statistics page from Project | Project Status.
-
To count actions you do
select count(*) from t_object where Object_Type = 'Action'
Geert
PS. You'll probably need to use single quotes in the query from qwerty as well.
-
PS. You'll probably need to use single quotes in the query from qwerty as well.
Actually no :D I just copy/pasted that from an EAP query. But maybe for a different RDBMS it would be necessary.
q.
-
PS. You'll probably need to use single quotes in the query from qwerty as well.
Actually no :D I just copy/pasted that from an EAP query. But maybe for a different RDBMS it would be necessary.
q.
Aha, another SQL "Standard" gotcha. :o
If I'm not mistaken single quotes work on both .eap files and DBMS.
-
I guess so, but Mickeysoft always likes to implement its own "Standard" :-X
q.