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

Pages: [1] 2 3 ... 6
1
Hi!

I'm generating a virtual document using a script with all the necessary sections etc. instead of using a script to generate the whole document.

However, there is one feature when using the script process that I can't find in the virtual document system - that is adjusting heading depth - as was done using the nDepth parameter of say, the DocumentElement method.

When I want to document nested elements etc., it appears that I have to create separate templates if I want to have different heading levels, which is a bit frustrating, as I would need to change the levels of all the subheadings.
(I don't document the nested elements using >>ChildElement entries because that documents all of them using the same template which defeats the point of the virtual document).

Have I missed something, or do I need to create a feature request?

Thanks!
Screwtape

2
Hi,

I've just noticed something I presume is a bug, but I wondered if anyone else has had this issue.

It seems when I edit a fragment, if I open or close the "element" level tree on the left hand side, the "ChildElements" automatically gets selected.

If I remove it, then close the tree, it gets reopened.

I've tried several fragments, and they all do the same. I've also updated to 1310 and rebooted all to no avail.

Has anyone else had this occur, and is there any way of stopping it?

Thanks!

3
Thanks Geert!

Months later I reply... please don't think you're wasting your breath...

I have used a variation on your scripts to generate the general structure of the document, and that works great.

However, I have a script which takes a BPMN diagram and generates a "scenarios" style set of steps. It mostly works very well, but it is very slow when it comes to actually constructing the steps list.

Because in custom fragments you can a) only have a single dataset, and b) the hiding via bookmark doesn't work, I have to have several templates for each type of row, which I call once per table entry, which is inordinately slow.

I've stared using this script from within RTF DocumentFragments, which is great for small diagrams, but more than a handful of steps and they fall foul of the 60sec timeout on custom scripts.

I guess I could generate a virtual document down to the level of individual table entries, but I suspect that would also be extremely slow, as I'd have hundreds of virtual document entries, and even with a small handful, my document takes a long time to generate.

I guess that's what lunchtimes are for... :-)

4
This rang a bell, so I looked up my old topics.

I asked a similar question ages ago.

http://sparxsystems.com/forums/smf/index.php/topic,10832.msg148117.html#msg148117

The reply about killing the SScripter process seemed to work for me at the time, but I haven't had the problem recently.

5
Automation Interface, Add-Ins and Tools / Re: Recursive Query
« on: April 20, 2017, 10:19:23 pm »
This sounds like SQL has left behind EA.

Presumably it is checking that the statement begins SELECT so that you don't "UPDATE", but I think a feature request is in order to update EA in line with the new SQL syntax.

Presumably you can't do
Code: [Select]
SELECT * FROM ( WITH ... SELECT ... )
(I can't check as I'm using JETEngine which I don't think supports that kind of advanced SQL anyway)

6
Hi,

I'm using a script to call DocumentElement a large number of times, since I can't create the level of complexity I need in a custom script fragment, since you only can generate a single level of data and you can't hide things with bookmarks in a custom fragment.

The script works fine - but it is incredibly slow. Having put lots of debugging in place, it would seem that there is a huge overhead every time you call DocumentElement, so while the script executes everything else really quickly, this takes multiple seconds per call, and seems to be getting slower, perhaps in line with my repository size increasing?

Does anyone else have this problem, or better still, a solution?

Thanks!

Screwtape.

7
General Board / Re: Unable to set BPMN Gateway Parameters
« on: January 12, 2017, 11:33:56 pm »
Hi!

I don't have any security enabled as far as I know, as I'm using a local repository.

Thanks!
Screwtape.

8
General Board / Unable to set BPMN Gateway Parameters
« on: January 11, 2017, 08:21:46 pm »
Hi!

I've just tried to update the gateway direction BPMN parameter, on a BPMN gateway, and I can't see how to set the parameter. The parameters are displayed in the BPMN tab, but it does not allow me to update them.

Can anyone suggest what am I doing wrong?

Thanks!

Screwtape.

9
General Board / Linking to Virtualised End Points
« on: July 12, 2016, 08:50:03 pm »
Hi Folks!

I'm trying to draw a class diagram that represents the data required in a query. I thought using virtualised end-points would help show the structure, but it doesn't.

I'm looking to do something like:

A--B--C--B--B--D

So I virtualised the B following C, but I cannot link anything to the virtualised end.

Is there any way to link to the virtualised end-point, or can anyone suggest a better way of representing a table multiply linked in a query structure.

Thanks for your help.

10
Uml Process / Specifying Overriden Steps in UC Specialisation in EA
« on: April 27, 2016, 08:57:22 pm »
At the risk of opening another huge debate on whether specialisation of use cases is appropriate, I'd like to ask a very specific question about documenting steps.

I have a base (non-abstract) UC with 4 steps.

1 - Get criteria
2 - Expand criteria
3 - Do search with criteria
4 - Filter results

The specialised UC will do 1, 2 and 4 exactly as the base UC, but will override step 3.

How would this best be represented in EA?

I have a BPMN process diagram for the base UC, but repeating the diagram with only the changed step seems to defeat the point of generalisation.

Having searched the web for examples, all I've found is a number of very trivial examples of what generalisation is, and how to represent it on a UC diagram, but nobody has shown any good examples of what the UC description and steps text should look like.

Any pointers or suggestions would be welcome.

Thanks!

Screwtape.

11
Hi Roy!

I hadn't, but I have now. Thanks!

Sadly, it doesn't do what I need. Much like the script I mentioned, it will allow me to display a sequence of completed diagrams. What I am trying to achieve, is to be able to animate the creation of the diagrams (so for example, to bring in the first n boxes in step 1, and then the next n boxes in step 2), in order to build the diagram in understandable steps, rather than presenting a huge diagram. I could do it by creating lots of stage diagrams, but that is a) messy and b) still doesn't use the animation features of Powerpoint.

Yours,

Screwtape.

12
Hi!

I've seen a clever export script that copies EA into Powerporint slides as pictures, but as I want to be able to animate the slide, I need to have individual drawing objects. The powerpoint function to "ungroup" pictures doesn't help, because there are too many objects as every part of the diagram becomes a separate object.

Has anyone seen/used/made a "EA diagram to Powerpoint drawing objects" export? I ask before I invest any time trying to do it myself.

Thanks!

Screwtape.

13
Hi Everyone!

For information - I've just tried this again in build 1229, and it works fine!

Yours,

Screwtape.

14
Thanks Helmut!

Transformation to DDL did exactly what I was looking for, although I'm slightly surprised that is didn't link the source class and generated tables in any way.

Thanks for pointing me in the right direction.

Screwtape.

15
Hi!

Is there anything built in to EA to generate and link a database table structure from a class diagram? I've looked at the code generation options, but I can't see anything relevant, so I'm assuming it's a manual job.

Given there's no automated way, is there any best practice of how to link the tables to the classes they are persisting in the model?

Again, I can't see an obvious relation, since "realizes" isn't appropriate.

Sorry if the answer is obvious and I've just missed it.

Thanks!

Screwtape.

Pages: [1] 2 3 ... 6