Recent Posts

Pages: 1 ... 4 5 [6] 7 8 ... 10
General Board / GetRelationSet
« Last post by ngong on March 15, 2018, 11:50:59 pm »
I am trying to write a script (VBScript) that deletes all dependencies of an element. I tried to use GetRelationSet, but can not understand what I am doing wrong: if I put the constant rsDependStart as a parameter I get the failure Object required: '[string:""]'. Shall I pass a string?

BTW: As a "sporadic scripter" in a number of scripting languages, I would like to have a big set of examples that I can search quickly - just to remember the syntax and basic sequences of statements. Currently I am only able to search one script at a time. Any recommendation?
General Board / Re: EA refuses to show diagrams
« Last post by ngong on March 15, 2018, 11:35:47 pm »
Thank you Sunshine and Cantoni, good to know that the size is not big.
However, I have not seen the obstacle for a few days now - since I converted to Win10.

On Win7 I used an eap file totally local, and repaired and compressed it from time to time.
Thanks for the info Geert.

Since this method was introduced in build 1305, I added a condition where FindElementInDiagram is run if Repository.LibraryVersion > 1304, otherwise I run something like  selectedDiagram.SelectedObjects.AddNew(elt.ElementID.ToString(), "") ...

The latter option does not have the diagram focus updated.

General Board / Re: License Server questions
« Last post by Geert Bellekens on March 15, 2018, 09:48:24 pm »
AFAIK you can install licenses on any license server independently.

So I would not expect any issues.

General Board / License Server questions
« Last post by maselhappy on March 15, 2018, 09:30:58 pm »

We have received today two floating licenses from EA and we have one Windows machine at our company where more the 5 license servers for different software are installed.
But first we want to install the EA License server on a third Windows machine because we have to check that our mathworks license server will not be interrupted.

I think it is not possible to install the license server first on the third windows machine and later we install the server again on the right machine and later we will delete the third windows machine. I have no information found on the Sparx website to move the license server to another windows machine.

What is the best solution which we can do without to getting in trouble with the licenses?

Oh my god! Regard it as a feature!

If you regard it as a bug, you have lots of bugs in this direction since years.
If you would fix them, my navigation facilitations for users would be gone.

From my perspective, an element having a component diagram, and double clicking on element to open any diagram are two distinct things.
If so, I think it's a bug in the beta.
Uml Process / Re: {query} constrained operations
« Last post by qwerty on March 15, 2018, 06:28:59 am »
Ahhh! That reveals an ellipsis when clicked. Well, EAUI...

Thanks, Geert.

Uml Process / Re: {query} constrained operations
« Last post by Geert Bellekens on March 15, 2018, 04:21:29 am »
You can select Is Query in the Modifiers (along with Pure, Const and others)

When used in an add-in, will it work with any version of EA or only with versions where the API supports this method?

No it won't, and you have to be careful not to call it on a version of EA that doesn't support it.
Even calling it conditionally in a property get can be a problem as (for some reason) it still somehow notices the operation is not available and throws an error.

Putting it in a separate method and testing the version of EA before actually using it works.

Pages: 1 ... 4 5 [6] 7 8 ... 10