Recent Posts

Pages: 1 ... 8 9 [10]
91
Bugs and Issues / Paste popup was not displayed
« Last post by sig550 on February 13, 2018, 02:53:54 am »
Hello everybody,

the pop-up to paste an element on a chart is not displayed. Instead, a new instance of the element is always created. There is also no message if the element already exists on the diagram.
I put the visual style on microsoft office 2016 and the prespectives on default, unfortunately without success.
Is there any other setting I need to set? Or is there a way to reset all user settings?

On another computer inserting an element as a link works fine.

Both systems use the enterprise architect 13 build 1310.


Best regards
sig550
92
Hmmm.... This actually seems to work, on the basis that it went up by 1 when I added an object to one diagram ;)

Code: [Select]
SELECT COUNT(*)
FROM t_diagramobjects
INNER JOIN t_diagram ON t_diagramobjects.Diagram_ID = t_diagram.Diagram_ID
WHERE t_diagram.Package_ID IN (SELECT Package_ID from t_package where Package_ID in (#Branch#))

So, final question is: how do I reference (#Branch#) from e.g. the GUID of a specific package so I don't  have to select it in the browser?

Julian
93
Uml Process / Re: Modeling complex component associations and interfaces
« Last post by Richard Freggi on February 13, 2018, 02:26:05 am »
Hello Miktaylor,

a good UML diagram shown only the minimum required to convey clearly and unambiguously the concept it wants to express.  For example, what is a functional architecture, who needs it and what for?

You need to ask yourself exactly what is the purpose of your diagram, who is the audience and what they will get out of your diagram.  This will help you choose the right diagram for your idea.

Experienced modelers break down large complex diagrams into several simple ones, each with a specific and clear message.  A very short book "The elements of UML 2.0 stlye" is a great reference.
94
Automation Interface, Add-Ins and Tools / Re: Automate creation of component diagrams
« Last post by Nabil on February 13, 2018, 01:33:31 am »
With the combination of  MDG Office Intergration and scripting you can do it in few minutes.

Check MDG office integration https://sparxsystems.com.au/products/mdg/int/office/office-integration.html. you can avail a trial license

Then with script you create a diagram for each component/interface
Refer Scripting window Local scripts - Manage Diagrams Example (testElement.Diagrams.AddNew("My Logical Diagram", "Logical") to add a digram

P.S
If you need to make element composite - testElement.IsComposite = true
Set diagram guid to element - testElement.SetCompositeDiagram(Dia GUID)

Cheers
Nabil
95
Scripting is  the way to go. There are some EA wrappers on GitHub to get you started.

Here is a wraper (and diagram code) I have made and used.

https://github.com/EamonnJCasey/Sparx-Enterprise-Architect-Wrapper

Using the Diagram Loayout functionality was not good enough. So there is alot of coordinates to keep track of.

Enjoy,
Eamonn J.
96
And also not in the "Search field". You have to create a custom SQL search (it's also in the help page you referenced).

q.
97
Automation Interface, Add-Ins and Tools / Re: Automate creation of component diagrams
« Last post by qwerty on February 13, 2018, 12:03:07 am »
It's not that easy. Importing data into EA is one (easy) thing. But creating a useful layout is another one. This is very tricky and will take you quite some time to develop layout rules that you can code.

q.
98
@qwerty said "not in the scratchpad" - in fact that's where it does work :)

Next steps?
99
Referring to the user guide http://www.sparxsystems.com/enterprise_architect_user_guide/13.0/model_navigation/creating_filters.html

I selected my chosen root package in the project browser and entered
Code: [Select]
SELECT * from t_package where package_id in (#Branch#) in the <search term> box and ran the query by clicking the "play" type button (with no tooltip)

Nothing happened. Repeated in front of witnesses, tried adding ";" at the end, and capitalising as
Code: [Select]
SELECT * FROM t_package WHERE Package_ID IN  (#Branch#)
Still nothing

And even if I get that part working from a follow-up answer, what do I do next?  :(

Sorry for being such a plodder...

Thanks

Julian
100
Automation Interface, Add-Ins and Tools / Re: Automate creation of component diagrams
« Last post by Nizam on February 12, 2018, 11:22:41 pm »
Try scripting. just add information in an Excel and let your script do the rest.
Pages: 1 ... 8 9 [10]