1
General Board / Re: Enterprise Architect helpfiles?
« on: April 07, 2023, 01:06:56 am »
Thanks for your help!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
"anything" is really a bit broadThank you, I will understand!
For the number of elements, you'll have to count the records in t_objectCode: [Select]select count(*) as nbrOfElements from t_objectand execute that using Repository.SQLQuery
For the latest date of change, you can query the ModifiedDate on t_object the same way.
A project doesn't really have a name. It does have a GUID though, you can get that through Repository.ProjectGUID.
You can find all info about the API here: https://sparxsystems.com/enterprise_architect_user_guide/15.2/automation/reference.html
I have a bunch of scripts on Github that you can use as example: https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library
Geert
Geert
Pretty high shot for the first one. I'd recommend you get acquainted with EA's API (and database) first. You can retrieve lots of information, but it will take some study first.Thx!
q.