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 ... 3 4 [5] 6 7 ... 559
61
General Board / Re: Change values in workflow script
« on: September 06, 2018, 02:19:04 pm »
Is there any way to achieve my goal?

Write an add-in I suppose ( or use EA-Matic )

Geert

62
General Board / Re: Diagram alignment helper lines
« on: September 06, 2018, 02:15:20 pm »
Yes, they are blue, I somehow remembered them being red.

Thanks KP, that worked. I would have never found that option by myself.

Geert

63
Automation Interface, Add-Ins and Tools / UML profile example (v14 flavor)
« on: September 05, 2018, 11:25:58 pm »
Hi,

Does anyone know a good resource to serve as an example for a UML profile in the v14 flavor?
I'm specifically looking for examples for things like
- metaconstraint
- metarelation

These should now be used as an alternative to the dreaded quicklinker CSV definition.

The manual still leaves a lot to my imagination.

Thanks

Geert

64
Automation Interface, Add-Ins and Tools / Re: SQL in VBScript
« on: September 05, 2018, 08:42:22 pm »
Repository.GetElementSet is suited if you are looking for a set of EA.Elements. Your query should return the Object_ID's of the elements you are after.

For everything else use Repository.SQLQuery

That will return a xml as string that you can then further process.

For some examples using these operations see https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library/blob/master/Framework/Utils/Util.vbs

Geert

65
General Board / Diagram alignment helper lines
« on: September 05, 2018, 06:36:42 pm »
At the very start of v14 I was excited to see new red helper lines when placing elements on a diagram.

Now for some reason I don't see them anymore :-[. Does anyone know how to turn them back on?

I'm on v14.0.1422

Thanks

Geert

66
General Board / Re: Display interface connector in class diagram
« on: September 05, 2018, 02:23:23 pm »
If the connector isn't showing on a new diagram, then it doesn't exist.

All connectors are shown on diagram by default.
You can also inspect the traceability window, or the relationships window to get a non-visual view of all the relations of an element.

Geert

67
Bugs and Issues / Re: Cannot add image in Image Manager
« on: September 03, 2018, 11:16:59 pm »
What SQL your are taking about? Some sort of SQL script prepared by Sparx?
Piotr
Yes, see the downloads section of the website.

Geert

68
Bugs and Issues / Re: Cannot add image in Image Manager
« on: September 03, 2018, 10:10:57 pm »
Standard issue. You have to have alter rights to be able to use EA properly.

If you are sure you don't want to use the model with a pre v14 EA client then you can execute the update SQL to eliminate the need for these rights.

Geert

69
General Board / Re: How to limit Search to one package?
« on: September 03, 2018, 10:08:41 pm »
When you edit the Search, click on the button "Search Options" (the button with a checkbox list icon) and then select "Return matching items for the selected package"
Perhaps include the package limitation in the SQL query then, but can this be done recursively? Including all subpackages?

You can use the macro #Branch# as in
where o.Package_ID in (#Branch#)

EA will replace that macro with a comma separated list of the selected package al all it's subpackages recursively.

Geert

70
General Board / Re: Documentation with elements and attributes from diagram
« on: September 03, 2018, 10:06:26 pm »
I do wonder why Geert did not give this example.
I didn't really think about it.  :-[
Very often I have no choice but to use SQL fragments for that kind of stuff because of complicated requirements.

Geert

71
Automation Interface, Add-Ins and Tools / Re: Hide label using VBScript
« on: September 03, 2018, 08:30:16 pm »
I think you'll have to look into the diagramlinks and their style fields.

Geert

72
General Board / Re: How to save SQL search in project?
« on: September 01, 2018, 03:33:29 pm »
Thanks Geert. Disappointing that it's not possible to just save them within a project as a resource.
Maybe, but creating an MDG file is easier then you might think.
It takes just 2 minutes to create one and import it into the model.

Geert

73
General Board / Re: How to save SQL search in project?
« on: September 01, 2018, 01:44:32 am »
You can export your search into an MDG file and import the MDG into the model, or distribute it to your users via an url, or file path.

Geert

74
General Board / Re: Example of Custom SQL template fragment
« on: August 31, 2018, 11:55:51 pm »
Ok, I see. However, in the fragments there is no substantial custom SQL. Only in BFR_ElementDiagramFragment there is one line: MyRtfData(#OBJECTID#)
You might be looking in the wrong place.
The templates from an MDG are stored at a different location.
In this case look in Resources | Document Generation | Bellekens Docgen | Bellekens UCD

The templates are readonly and you can only see their properties if you copy them to a new template (EAUI :-\).

Geert

75
General Board / Re: Example of Custom SQL template fragment
« on: August 31, 2018, 10:01:51 pm »
MDG is a way to bundle things such as templates, scripts, profiles etc... as an excel file.

Most modelling languages in EA are distributed as an MDG.

The .eap file already has the MDG imported, so you should find the template I mentioned there.

Geert

Pages: 1 ... 3 4 [5] 6 7 ... 559