Show Posts

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.


Messages - Geert Bellekens

Pages: [1] 2 3 ... 751
1
Hi rabyvf,

I think you are right, it would be nice to have a more functional API. Currently it's only a thing layer on top of the database.

If you want your request to have any chance of being implemented, make sure to actually send a feature request using the link on the bottom of this very page.

Some of us have stopped waiting for sparx to do something, and have started developing our own, more functional API, that hides all the StyleEx ugliness.

You can find my efforts on github:
For C# https://github.com/GeertBellekens/Enterprise-Architect-Add-in-Framework
For VBScript: https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library

Geert

2
General Board / Re: Where has 'make this diagram my default' gone in v16?
« on: October 26, 2021, 09:04:10 pm »
Or it could have been a bug in EA 15.x. When you think of it, how would EA know which user to show which diagram for if you do not have user security enabled?

Henrik
I think it used to use your windows user name.

Geert

3
Bugs and Issues / Re: is the ExitPoint dead?
« on: October 26, 2021, 07:43:20 pm »
I don't think the placement on the diagram is an issue, but rather where in the project browser the Exitpoint lives.
It should be nested under (=>owned by) State1

Geert

4
Thanks for the input. I'll investigate further.

Geert

5
General Board / Re: Where has 'make this diagram my default' gone in v16?
« on: October 26, 2021, 06:12:03 am »
Works for me, but I'm using security. I can imagine that is a prerequisite.
It doesn't work for me on a new model without security enabled.

Geert

6
General Board / Re: Project Integrity Check: No jump to element?
« on: October 26, 2021, 12:54:21 am »
yes, ignore the CYA warning.

76MB is in fact a fairly small model, so that won't be the problem.
You might want to try to send an email to sparx support to get the errors fixed.

Geert

7
General Board / Re: Project Integrity Check: No jump to element?
« on: October 26, 2021, 12:01:46 am »
Simply always recover/clean all issues.

There are a couple of topics on the forum that go a bit deeper in the why/how.

Geert

8
Code: [Select]
'useful bit
Repository.GetElementByID(targetID).Notes = Repository.GetElementByID(sourceID).Notes
Gets object x from the database and sets the notes, but doesn't keep object x in memory   
Code: [Select]
'commit
Repository.GetElementByID(targetID).Update()
Gets object y from the database, and save's it directly back to the database without changing anything in memory.

You want to get the object, change a property, and then save it

Code: [Select]
dim myElement
set myElement = Repository.GetElementByID(targetID)
'useful bit
myElement.Notes = Repository.GetElementByID(sourceID).Notes

'commit
myElement.Update()

Geert

9
PCS General Board / Re: Unable to add a repository to Prolaborate
« on: October 25, 2021, 02:33:00 pm »
On the last image I see "EA Model" on the Prolaborate configuration, where you have "EA model" on the PCS configuration.
Not sure if that is the issue, but I can image those things to be case sensitive.

Geert

10
Look at Pdata2 (Miscdata) and Gentype

Geert

PS. It's Thomas' book, not mine ;)

11
"Client" is not a property of EA.Connector.

Geert

12
The conclusion was that it really only works with a single stereotype.

I think you better find an approach with single stereotypes. You can still use a shapescript that changes the appearance depending on the type of diagram (I think), or some other diagram specific property that the user can select (similar to rectangle format)

Geert

13
PCS General Board / Re: Unable to add a repository to Prolaborate
« on: October 22, 2021, 05:11:14 pm »
Thank you Geert. I already have MySQL ODBC driver installed. Please see the below screenshot.

https://ibb.co/CMN26PV

Thank you, Dahsra. I tried to follow the steps in the link you provided but I could not find MySQL ODBC in the list of data source, please see the below screenshot.

https://ibb.co/8XL9cHv
You have the 64bit ODBC driver installed, not the 32bit one.

Geert

14
PCS General Board / Re: Unable to add a repository to Prolaborate
« on: October 22, 2021, 02:25:06 pm »
Seems like you need to install the MySQL ODBC driver then.

Geert

15
Can someone please explain to me the reasoning behind the choice "none" as the default selection for the Link to Element Feature dialog?

One would assume that the default option should be the one that is most often used. I personally think the option "attribute" is used in more than 99% of the cases, but yet "none" has been choses as the default value.
I'm pretty sure the actual usage of "none" is 0%. Nobody chooses the option "Link to Element Feature" in order to not link it to an element feature.

This type of thing is very hard to explain when giving a demo or explaining a this feature. I usually resort to something like "yeah, weird choice, you know Aussies and all"

Geert

Pages: [1] 2 3 ... 751