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

Pages: 1 ... 7 8 [9] 10 11 ... 615
121
General Board / Re: Export elements from several subpackages to CSV
« on: February 19, 2018, 02:44:32 am »
You can copy the SQL results and they will be in CSV-format (almost, since if you have semi-colons in the result they will not be escaped). Use the #Branch# tag for a recursive package search.

q.

122
You need to write a shape script to create such an appearance. You can add custom compartments. I'm not sure about the operations which usually have their pre-defined and un-named compartment.

q.

123
Automation Interface, Add-Ins and Tools / Re: Can we hijack «trace»?
« on: February 16, 2018, 05:38:47 pm »
I guess that should be possible (will eventually try later). But then you have the problem that the standard toolbox still offers trace prominently and people will mix to 50% or so. Is it worth that?

q.

124
Bugs and Issues / Re: Generating WSDL bug (swapped style and soapAction)
« on: February 15, 2018, 12:16:08 am »
Report a bug (use the link in the Support section below). Meanwhile: swap them manuall  :-\

q.

125
I really would stay with a manual and only partially script-supported approach. Importing data from some external source and placing them "somewhere" on a diagram is really easy. You could then also automatically call the layout, but do not expect anything you could live with, especially with component diagrams where you have connected ports. EA's layout just does ignore ports (I guess, because their layout is extremely complicated). I once wrote a script to support port layout. It was not too complicated and helped a lot when doing layout. It's some Perl script I still might have lying around somewhere.

You should try the above manually first. Just drop some components you already have on a diagram and try the auto-layout. You will likely be disappointed with the result. Now start thinking how you could improve that. Getting some decent result will easily add up in a couple of weeks programming.

q.

126
As you said that you don't have strong coding background I'd recommend to re-read my first comment.

q.

127
General Board / Re: Built in MDG for Data Flow diagram
« on: February 14, 2018, 08:41:10 am »
Click Configure Tab
Click Manage Icon (2nd left)
right in the middle DFD

q.

128
Bugs and Issues / Re: EA Crashes when synchronizing package with code
« on: February 14, 2018, 04:04:30 am »
Report it as bug as well. You should hear back from Sparx support.

q.

129
Automation Interface, Add-Ins and Tools / L
« on: February 14, 2018, 04:02:46 am »
I just tried with SQLQuery and it worked.

a) SQL Basics. INT IS NOT STRING
b) SQL Basics for M$Access. If you use a different SQL it might be ok without the GROUP.

q.

130
The SELECT needs a GROUP statement and Package_ID is INT, not string:

Code: [Select]
SELECT COUNT(*) , OBject_ID FROM t_diagramobjects INNER JOIN t_diagram ON t_diagramobjects.Diagram_ID = t_diagram.Diagram_ID
WHERE t_diagram.Package_ID IN (3982,4482,54)
GROUP BY Object_ID


q.

131
General Board / Re: Adding bends to existing connectors
« on: February 14, 2018, 01:46:45 am »
Ctrl-click to add a bend position.

q.

132
I just tested it with the above query and it threw an error "#Branch# ... blabla ... syntax error". As expected...

q.

133
I guess not. I have not tried. It didn't work in the past like it didn't in the scratch pad. So probably worth a feature request. Maybe it's already implemented  ???

q.

134
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

That's not possible. The #Branch# only works for a selected package.

q.

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

Next steps?

Gosh. They made it work there too 8)

q.

Pages: 1 ... 7 8 [9] 10 11 ... 615