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 - Guillaume

Pages: [1] 2 3 ... 36
1
General Board / Re: menu maps for 13.5 ribbon detail
« on: October 26, 2017, 05:30:40 pm »
Hi,

I agree that it would be useful to know the ribbon/command location when you use the Find Command (feature request).
You may find the following menu mapping details from EA12.1 to 13 useful: http://www.umlchannel.com/en/enterprise-architect/item/232-mapping-between-enterprise-architect-12-1-menus-and-enterprise-architect-13-ribbons

Regards

2
Hi,

I like EA 13.5 new "navigation cells" to open a diagram as an alternative to hyperlinks.
Copying the diagram to the clipboard to use e.g. in Powerpoint has a glitch since the embedded images are rendered with a black background.


3
Automation Interface, Add-Ins and Tools / Re: Scripts submenus
« on: October 11, 2017, 05:30:45 am »
Hi Uffe,

Thank you for the tip. However the reason why we use scripts on this project is to overcome addins installation issues on each user's PC. Scripts are easy to maintain and update via the centralised project.
Hopefully this feature request can be taken into account at some point (for xmas...)


4
Automation Interface, Add-Ins and Tools / Re: Scripts submenus
« on: October 10, 2017, 05:41:08 pm »
Hi Aaron,

I submitted it as a feature request. Do you see this as a possible/feasible feature to have in EA?

Thanks

5
Automation Interface, Add-Ins and Tools / Scripts submenus
« on: October 10, 2017, 12:54:54 am »
Hi,

We use a number of package and diagram scripts for a project which we prefixed by type.
A right click on a package or diagram displays a big list which I'd like to reduce with an additional level

Is this supported in EA?

e.g.
Current list:
Type1_Script1
Type1_Script2
Type1_Script3
Type1_Script4
Type2_Script5
Type2_Script6
Type2_Script7
Type2_Script8
...

Needed list:
Type 1
Type 2

Select Type 1:
Script1
Script2
Script3
Script4


6
Great, thanks for the info.

7
General Board / Settings location for the enabled MDGs and custom toolbar
« on: September 14, 2017, 12:29:31 am »
Hi,

I'm trying to identify when EA stores local custom data so a team can deploy a fully custom EA configuration throughout the team.
Perspectives and EA 13 ribbons are located in Sparx appdata folder.

I know some details are also located in the registry, however I'm trying to find the following:
- list of enabled/disabled MDG Technologies updated via CONFIGURE > Technology > Manage
- custom toolbars with added commands via START > Workspace > Preferences > Customize > Commands.

Thanks

8
General Board / Re: Adding a set of attributes to a large number of elements
« on: September 06, 2017, 06:18:59 pm »
Here is a suggested script to create the same attributes on the classes within the selected package. It can be improved to loop through the subpackages, only update classes with a given criteria such as a tagged value, etc.

Code: [Select]
option explicit
!INC Local Scripts.EAConstants-VBScript   
'
' Script Name: Populate attributes (package script)
' Author: Guillaume[at]umlchannel.com
' Purpose: Create the same set of attributes on each class within the selected package
' Date: 6/09/2017

sub OnProjectBrowserScript()
' Get the type of element selected in the Project Browser
dim treeSelectedType
treeSelectedType = Repository.GetTreeSelectedItemType()
select case treeSelectedType'
case otPackage
dim thePackage as EA.Package
set thePackage = Repository.GetTreeSelectedObject()
dim allObjects as EA.Collection
dim currentElement
set allObjects = thePackage.Elements
dim i
for i = 0 to allObjects.Count - 1
set currentElement = allObjects.GetAt( i )
if currentElement.Type = "Class" then
addAttribute currentElement, "attr1"
addAttribute currentElement, "attr2"
addAttribute currentElement, "attr3"
end if
next
case else
' Error message
Session.Prompt "This script does not support items of this type.", promptOK
end select
end sub

sub addAttribute(ClassToProcess, attributeName)
dim attributes as EA.Collection
set attributes = ClassToProcess.Attributes
dim newAttribute as EA.Attribute
set newAttribute = attributes.AddNew( attributeName, "" )
newAttribute.Update()
attributes.Refresh()
end sub

OnProjectBrowserScript

Hope it helps.

9
Automation Interface, Add-Ins and Tools / Re: Shape script: rotated text
« on: August 17, 2017, 03:46:00 pm »
I think it should be available to all elements without having to go through ShapeScripts.
I recently raised this request here: http://www.sparxsystems.com/forums/smf/index.php/topic,38548.0.html.

I don't know the impact on EA but it seems unlikely as it would appear to have been asked numerous times.

10
Bugs and Issues / Re: SysML prevents using UML use cases
« on: August 10, 2017, 11:15:58 pm »
Thanks for your reply Geert

However it was a different issue which I since managed to sort out: the SysML 1.3 MDG was set as active. This led to replace my UML statechart toolbox for instance with the SysML toolbox.
It can be changed via Extensions > MDG Technologies > select Basic UML and set as active.






11
Bugs and Issues / SysML prevents using UML use cases
« on: August 10, 2017, 09:08:59 pm »
Hi,

I use both SysML and UML on various EA projects.
Somehow I must have enabled an option in EA that I need to get rid of:
- in the toolbox view, the SysML Common is always visible (the common is collapsed)
- in a UML use case diagram, I always get the SysML Use Case toolbox!

Thanks
Guillaume

12
Hi,

It would be useful to display an element's title in a diagram vertically, or rotate an element by 90.
Being a possible future request, I wonder if this sounds feasible for Sparx in a future EA build.

Thanks

13
Suggestions and Requests / n
« on: August 09, 2017, 05:05:43 pm »
To help you finding your way round the new ribbons, you can use the mapping details that I published here: www.umlchannel.com/en/enterprise-architect/item/232-mapping-between-enterprise-architect-12-1-menus-and-enterprise-architect-13-ribbons

Note that a PDF document can be downloaded at the bottom of the page. New versions will be released based on feedback and possible mistakes to improve.



14
Hi Alain,

In addition to the answer you got, if you need to sort elements let's say by stereotype, tagged value, and name based on advanced criteria, my free eautils addin can help (www.eautils.com).


15
General Board / Re: Filter on Element Attribute Value
« on: July 18, 2017, 06:10:15 pm »
Hi,

You can run a SQL search as illustrated below.
It will return class attrbutes with an initial value matching your search criteria. The only down side is that you have to change the diagram ID in the SQL when you change diagrams.

Alternatively, you can run this query in a script that runs on a diagram and prompts for the initial value. This script can generate the results in the system output


SELECT t_object.ea_guid AS CLASSGUID, t_object.Object_Type as CLASSTYPE, t_object.Name as Class, t_attribute.Name as Attribute
FROM (( t_object
inner join t_diagramobjects on t_object.Object_ID = t_diagramobjects.Object_ID)
inner join t_attribute on t_object.Object_ID = t_attribute.Object_ID)
WHERE
t_diagramobjects.Diagram_ID = 1085
AND t_object.Object_Type = 'Class'
AND t_attribute.Default = '<Search Term>'

Pages: [1] 2 3 ... 36