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

Pages: [1] 2 3 ... 35
General Board / Re: Report Diagram/model changes when SQL schema updates
« on: February 14, 2018, 08:14:19 pm »
Just a thought you could look into baseline then comparing updated model with baseline.
I think there is  some function to compare current diagram with baseline too via the diagram context menu. Not tried it myself but worth having a look at that.
Let us know if that works for you.

General Board / Re: Adding bends to existing connectors
« on: February 14, 2018, 08:02:18 pm »
You could also try auto route option in the layout tools. Doesn't always produce good results but can save having to manually re-route all the lines one at a time.

Bugs and Issues / Re: Painful editing on MS Surface
« on: February 14, 2018, 07:54:43 pm »
I see spec for surface pro 4 has  12.3 inch screen with resolution of 2,736x1,824-pixel touchscreen display. Admit it 12.3 inches isn't big enough when working with Sparx EA or any other graphical tool is it?

Like you I found the size of the icons in the toolboxes too small when using high resolutions like 3200x1800. I reduced the screen resolution down to say 1920x1080 so the icons are bigger. To be honest those higher resolutions aren't any good on small screen for me and my eyes either.

Looks like you are trying to use touch screen for some functions. Interesting as I've never tried the touch screen functions before. I did try moving elements via the touch screen and noticed I could move elements but not boundaries nor diagram notes. Weird aye?

I think it stems from the fact Sparx EA was not originally designed to work with touch screen so thats probably the reason all those functions don't work properly. I'm surprised that some of them do work.
I've never experienced elements changing size by their own initiative in the 14 years of using Sparx EA so not sure whats going on there. Is that happening when using the touch screen? If so its probably because of that touch screen interface.

BTW I'm using a Lenovo 900 Yoga at present with 13.3 inch screen and its just about workable for short periods. However I usually connect to 27 inch wide screen when I'm working for long hours. I always use the touch pad or mouse and never had any issues.

Only Sparx System will know the answer to the questions you raised about V14. I did notice they've started proving access via mobile phones and tablets with Cloud Pro and a web browser.

General Board / Re: Requirements in EA or Doors?
« on: February 14, 2018, 05:50:43 am »
Haven't used DOORS for about 20 years now. It was a pain back then and I'll never use it again.

You could import the MS Word Document into Sparx EA using the MS Word importer and can link requirements to high level requirements and to tests.

In the old days we used to link requirements to design components and build stuff then we would know we'd had built the right thing. We'd confirm that by linking the requirements to tests to check it meets the requirements.

General Board / Re: Built in MDG for Data Flow diagram
« on: February 14, 2018, 05:40:36 am »
To compare editions see
Didn't see Dataflow mentioned in the list of features
Thought DFD were in all editions. I can see Dataflow diagrams in my corporate edition V13.5 Build 1352
Check list from MDG dialog.
Look for Data Flow Diagrams it should be there.
From the Project Browser try right click on view or package > Add Diagram
Should see option to add Data Flow Diagrams

General Board / Re: Business motivation model in ultimate trial
« on: February 05, 2018, 08:53:05 am »
Business motivation model can be found under TOGAF. See the help

Thanks Nabil. That's opened up a whole new world for me on Sparx EA functionality.

So I'm looking that the report template editor the other day and in the report editor tree I see Package>Element>Risk and it got me thinking how does that work? I can Package>Element>Requirement works as each element can have embedded requirements but couldn't see how I would model risks associated with an element so that I can get it out in a report by ticking Package>Element>Risk in the report tree. Any thoughts guys?
The reason I'm asking is I use Archimate work packages for roadmaps and I've been asked to capture risks associated with each work package. I could just nest the risks under each work package but when I saw the report editor it got me thinking I'm I missing something.

Automation Interface, Add-Ins and Tools / Re: Project Template in MDG
« on: January 27, 2018, 07:33:57 am »
Not sure why you are asking about embedding project templates in MDG. If its so you can use a wizard to create a structure in Sparx then I export the template in xml format and use model templates in the MDG. I add the following code to the MTS that generates the MDG as an example

Code: [Select]
<Model name="FEAF V2.0" description="FEAF V2.0 Reference Model" location="FEAF.xml" default="yes" icon="34" filter="Enterprise Architecture" />
<Model name="GEA-NZ V3.1" description="NZ Government Enterprise Architecture Reference Model V3.1" location="GEANZ V3-1.xml" default="yes" icon="34" filter="Enterprise Architecture" />
<Model name="APQC PCF V6.1.0" description="APQC Process Classification Framework" location="APQC PCF.xml" default="yes" icon="34" filter="Enterprise Architecture" />

I put the xml project template files and the MDG file in one location and reference it in Sparx EA from the MDG dialog advanced button.

PackageID is not the same as ElementID.
You have to use Package.Element.ElementID

Of course, that worked a treat. Thanks Geert.

I'm trying to get a jscript to work that creates a diagram for each package and adds child elements and packages to the diagram.  I've managed to get the child elements to be added to the diagram but not the child packages.

I think its because I'm passing a Package ID to Diagram.Object.ElementID

theDiagramObject.ElementID( childElement.ElementID);
//Substituted the above code that works with element with this below
theDiagramObject.ElementID( childPackage.PackageID);

Here is a snippet of code
Code: [Select]
function AddDiagramToPackage(  thePackage )
    // Cast thePackage to EA.Package so we get intellisense
    var currentPackage as EA.Package;
    currentPackage = thePackage;

    var theDiagram as EA.Diagram;

    theDiagram = thePackage.Diagrams.AddNew( thePackage.Name, "Logical" );

    var diagramObjects as EA.Collection;
    diagramObjects = theDiagram.DiagramObjects;
    // iterate through all child elements and add them to the diagram -THIS DOES WORK
    var elementEnumerator = new Enumerator( currentPackage.Elements );
    while ( !elementEnumerator.atEnd() )
        var childElement as EA.Element;
        childElement = elementEnumerator.item();
var theDiagramObject as EA.DiagramObject;
theDiagramObject = diagramObjects.AddNew("","");
theDiagramObject.ElementID( childElement.ElementID );

    // iterate through all child packages and add them to the diagram -THIS DOESN'T WORK
    var childPackageEnumerator = new Enumerator( currentPackage.Packages );
    while ( !childPackageEnumerator.atEnd() )
        var childPackage as EA.Package;
        childPackage = childPackageEnumerator.item();
  var theDiagramObject as EA.DiagramObject;
theDiagramObject = diagramObjects.AddNew("","");
theDiagramObject.ElementID( childPackage.PackageID);


I've scoured the help but can't seem to see how to add packages to a diagram via the automation interface. Any thoughts/help welcome.

General Board / Re: Enterprise Architect - User Tips
« on: January 03, 2018, 08:29:02 am »
Whilst I admire your enthusiasm I think there are two problems with your approach.

General Board / Re: Repository security
« on: November 28, 2017, 01:43:40 pm »
Thanks Simon,
Had a feeling the express version might not have all the features.

General Board / Re: Repository security
« on: November 27, 2017, 01:57:14 pm »
There is actually a feature that uses row level locking on SQL Server and Oracle repositories.

It comes with pro cloud server, but I'm not sure how to use it.

Thats good to know - not using pro cloud server just yet so in a similar boat of knowing little about it. Was hoping to have time to look into it with the recent offer Free: Pro Cloud Server Express but alas other urgent things keep drawing my attention away from it.,38812.0.html

General Board / Re: Repository security
« on: November 25, 2017, 08:34:13 am »
You can create a group and lock the package with a group lock. Then assign users to the group to grant read/write access to that package. There is no mechanism to hide content from users unless you have multiple repositories and prevent users from access a repository.

Pages: [1] 2 3 ... 35