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 ... 4 5 [6] 7 8 ... 536
76
The options was there in v12.1 as well.

Geert

77
Hi,

Please make sure to send an actual bug report

Posting here will only inform the other users.

Geert

78
Bugs and Issues / Re: "Set as model default" does not appear
« on: March 20, 2018, 02:07:20 am »
Hans,

It is definitely possible, but IIRC only via the ribbons menu.
In v14 this is found in Layout | Diagram | Manage | Set as Model Default

Geert

79
I don't understand what you mean by
"Classes of the same type".

I'm guessing that EA might have the same problem. I'm not even sure there's a way to group individual classes in a single file.
I can imagine that ALL classes, or all classes of a package might work though.

Geert

80
General Board / Re: Custom Section Shows as <packagecustom>
« on: March 20, 2018, 01:12:38 am »
No, that is not correct.

the section should be simply custom>

Best try to remove all sections, and if that fails, start with a fresh template.

Geert

81
General Board / Re: Corrupt model file
« on: March 17, 2018, 01:17:50 am »
try the option Repair .eap file.

in v14 at Configure | Model | Check Integrity | Manage .EAPX/.EAP file | Repair .EAPX/.EAP file

Geert

82
General Board / Re: HTML report for large diagrams
« on: March 16, 2018, 09:40:18 pm »
Setting aside that I too feel that large diagrams like that can only be used effectively as wallpaper; the html export generally creates pretty detailed diagram images that allow a lot of zooming.

There are a number of settings that you might want to experiment with.
See Preferences | Diagram | Image Memory Limit  for example.

If you search either the forum or StackOverflow I believe you should be able to find a few topics related to this as well.

Geert

83
No, I think that is about it for version 12.
Even if you somehow managed to manipulate the scrolling through windows clickevents, I don't think there's any way of knowing which part of the diagram is being shown.

Geert

84
We had a discussion about that on this forum a few weeks ago.
You should be able to find it using the search option.

Geert

85
General Board / Re: GetRelationSet
« on: March 16, 2018, 01:53:01 am »
No, I don't think I've ever used this operation before.

I'm pretty sure if you replace
Code: [Select]
set all = source.GetRelationSet(rsDependStart)by
Code: [Select]
all = source.GetRelationSet(rsDependStart)the error will go away.

You may only use the keyword set when dealing with objects. And this operation returns a string.

Geert

86
General Board / Re: GetRelationSet
« on: March 16, 2018, 12:54:21 am »
You have to use the enumeration value id.
In the script you are probably including: EAConstants-VBScript you'll find the following variables defined:

Code: [Select]
' =================================================================================================
' EnumRelationSetType
' See http://www.sparxsystems.com/enterprise_architect_user_guide/12.1/automation_and_scripting/enumrelationsettypeenum.html
' =================================================================================================
dim rsGeneralizeStart, rsGeneralizeEnd, rsRealizeStart, rsRealizeEnd, rsDependStart, rsDependEnd, _
rsParents

rsGeneralizeStart = 0
rsGeneralizeEnd = 1
rsRealizeStart = 2
rsRealizeEnd = 3
rsDependStart = 4
rsDependEnd = 5
rsParents = 6

I'm not sure why you are getting the error. Maybe because you are trying to set a string value?
The correct use would be

Code: [Select]
!INC Local Scripts.EAConstants-VBScript

'..other code
test = myElement.GetRelationSet(rsDependStart)
'..other code

You can search github for examples:

https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library

Geert


87
General Board / Re: License Server questions
« 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.

Geert

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

Geert

89
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.

Geert

90
General Board / Re: Export Information Model with class attributes
« on: March 15, 2018, 03:19:48 am »
Yes, to csv. There is a button on the top right of the search window that allows exporting the results.

Geert

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