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 ... 40
1
General Board / Re: Excel Import
« on: Today at 01:19:18 am »
Hi Takeshi,

That's a really nice EA hint! I shall remember it.

Thanks,
Guillaume

3
Hi,

I can confirm that it works fine with the latest build.

Thanks,
Guillaume

4
Bugs and Issues / SQL Server Reverse on views: truncated definition
« on: April 20, 2018, 11:19:28 pm »
Hi,

I got the result of an EA reverse engineering run on a SQL Server DB that contains views. When the view definition (query) is longer than 4000 characters, the resulting definition in EA (viewdef tag memo) is truncated at this position.
I found a post on this issue here: http://www.sparxsystems.com/forums/smf/index.php/topic,10962.msg148710/topicseen.html#msg148710

Is there a way to resolve this in SQL Server, ODBC configuration or else?

Thanks

5
Automation Interface, Add-Ins and Tools / Re: Scripts submenus
« on: April 20, 2018, 07:20:11 pm »
Hi Aaron,

The easiest solution would involve using the existing groups in EA.

If you create Diagram Package Groups Group1, Group2, etc. then having an option in EA to treat groups as sub menus would solve the issue
So a right click on a diagram or package would display...
Group1
   Script 1
   Script 2
Group2
   Script 3
   Script 4

Instead of having a flat list ...
Script 1
Script 2
Script 3
Script 4

This issue is impacting quite a lot of users who have many scripts now.

6
It would be useful to add to the "Insert Related Elements" Connector types and Element types, a filter on Stereotypes e.g. to select "ABC" stereotyped classes that are associated with the current element.
It would also make sense to include the Stereotype on the Field chooser.


7
Automation Interface, Add-Ins and Tools / Script editor improvements
« on: April 11, 2018, 05:53:22 pm »
EA scripting editor works nicely (I use VBScript), yet a few enhancements would be nice to reach other scripting tools.
- Provide a collapse/expand commands (+/-)  on functions and routines
- Drop down list of functions and routines (as it's done when opening source code)

Could this be added in a future EA build?

8
Hi Uffe,

Nice one. I look forward to testing it.


9
Bugs and Issues / Re: Python reverse - empty result
« on: April 09, 2018, 10:26:56 pm »
Thanks for your replies.
With support of the Python dev team, I simply figured out that the code samples I got needed to have a proper indent level applied so the def can be reversed as class operations.

I got a query on running the EA Execution analyzer's recording feature with Python. I saw that it's not supported according to the help; could it be supported in the future?

10
Bugs and Issues / Re: Python reverse - empty result
« on: March 29, 2018, 09:49:09 pm »
Hi,

I ran a new test with a Python file with content illustrated as follows:

Code: [Select]
import libA
import libB
class myClass (arg1):
  def functA(arg1, arg2):
     localvar = arg1 ...

  def functB(arg1, arg2, arg3):
# code removed

  def functC():
# code removed

if a = "test":
  print('test')

Running EA reverse, I get a "myClass" class with functA operation only (and arg1 parameter).
Any idea why the other def are not picked up?

Thanks
Guillaume

11
Bugs and Issues / Re: Python reverse - empty result
« on: March 23, 2018, 07:08:26 pm »
Hi,

The code I have does not include any class. I confirm that I got some results once I added "class : <classname>" in the files.

Thanks

12
Bugs and Issues / Python reverse - empty result
« on: March 19, 2018, 07:13:41 pm »
Hi,

I received a python source code from a client to run the reverse eng. in EA.
EA processes all .py files without producing any result/class.

The Python code has :
- import declarations
- def (e.g. def functionA(arg1, arg2) : ...)

Is there any precondition to check so it works?

Thanks

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


14
Excellent, EA.Diagram.FindElementInDiagram is exactly what I've recently been looking for.
I tested it and confirm that it selects the element in the diagram and focuses onto it.

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

15
Feature request sent to Sparx.

Pages: [1] 2 3 ... 40