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.

Topics - DavidM

Pages: [1]
General Board / Adding Memos as a MDG
« on: May 01, 2017, 02:51:01 pm »
We have been using  an MDG script that I developed a couple of years ago to generate our own symbology for our own framework.

We have a large demand however for a Notes field in the element, similar to the one that comes up when you double-click any element, but for non-formal technical comments that we don't want to publish in the document generator.

Does anyone know if there is a way to do this in the MDG? it could be a tag for example that when you click on it, provides a memo object.
many thanks,

General Board / MDG connector stereo types
« on: March 06, 2017, 05:59:27 pm »
Hello Sparx professionals
I have created a custom connector using MDG.
I would like to have the stereo type display what is in a tag value. Is there any way to do this?

e.g Tagx =  " Batch"
Connector stereotype = " <Batch> "
change Tagx to "Real time"
Connector stereotype" <Real time>"


General Board / Attributes csv import
« on: November 30, 2016, 08:15:17 pm »
I would like to import a class with attributes from a CV file. I see references to this a couple of years ago and talk about using external tools and scripts etc. I just wonder if there is anything out of the  box"  now with Sparx

General Board / Roadmap Options
« on: October 07, 2016, 09:44:37 am »
We are using the Roadmap options of the Sparx 12 quite a lot, and I was wondering if there is anyway to set up a diagram to be in "Roadmap mode" through MDG?

Suggestions and Requests / Enumerated tag based on sql
« on: September 16, 2016, 07:48:43 pm »
It would be great if we could define a tag list based on sql. Either for the sparx database or another database.

Quite often enumerators are dynamic not static or could be a long list.

Also I think this would be a good method of identifying realised elements for a logical component so it could be displayed on the element via a shape script.

It would save having to rebuild and redistribute models everyone you added a new tag enumerator.

General Board / Double note sizes
« on: September 06, 2016, 02:44:56 pm »
I have created this related shape script example straight from the example page. Everything works as it should once I save and re-load and set the features for realized to be visible.

However , the note when assigned is exactly twice the length of the text. This means that when I have  10 lines of text, I have 20 lines of text with 10 of them being blank.

Is this a feature I have to live with, or is there anything I have to do?

I thought maybe making a stereotype  of the note and re-sizing, but it seemed overkill, plus I want to add pin features and I'm not sure how that is done in MDG.

Any help would be appreciated.


shape RelatedElement { // add Child Compartments to the parent.
     if(HasProperty("Connector.Type", "Realization"))
               SetCompartmentName("Sub Capabilities");

General Board / Displaying Embedded elements in a shape scripted element
« on: August 27, 2016, 04:31:02 pm »
I was just wondering if there was a way to implement Embedded elements via a shapescript?
I know there is a ChildElement functionality, but that seems to work only with a native element shape.

I have created a shape of business capabilities based on a UML component that have embedded within it, lower level capabilities (your typical Enterprise Architect (The role not the tool) scenario as you might say).

I want to be able to list them as a summary somehow at the higher levels.
Do you know if it can be done?


General Board / Difference between DASHGAP and.....DASHGAP???
« on: August 24, 2016, 04:19:49 pm »
Here's an interesting one...
including it for amusement not for feedback.

Error: Unknown line style DASHGAP.  Please use one of the following string values:

General Board / Printing connector names in Elements
« on: August 20, 2016, 05:00:41 pm »
Does anyone know where the descriptions are for these attributes please?

I am trying to see if you can print a connector name in an element via shape script.

General Board / transfer project to DBMS
« on: August 10, 2016, 03:23:31 pm »
I am not sure if this is a bug or not, I have contacted Sparx support and not received anything back and it's quite critical.

I have just persuaded my company to buy Sparx as an EA modeling tool having used it before.
i had to set it up however (first time!) on SQL Server.

When I transfer my project it seems to work.
When I come to use it however, it comes up with a problem "locked by another user", even though I am the only on that currently has access. This  happens every time I change an object.

On top of that notes I had embedded in diagrams have gone blank after the transfer, and I cannot re-set them as I get the error, but for those it won't save.

Is this a bug or am I doing something wrong?

I transferred the right project to the right destination, the objects are physically in the DBMS, but I get this annoying error all the time.
People are waiting to use it, Sparx is not getting back and it's very embarrassing

General Board / SHape script tag
« on: August 06, 2016, 10:53:57 am »
I am using Sparx 9.2.
Can anyone tell me if it is possible to print user defined tags from an element on a shape, from within that element's shape script?
I know you can test them, but have found no evidence you can print them.

I have a horrible, horrible,horrible, horrible, horrible feeling that you cannot.


General Board / Sparx Toolbox Icon
« on: July 15, 2016, 02:53:59 pm »
Hi Everyone,
I am assuming that I am incredibly stupid as this can't be as incredibly difficult as I make out.

I have used MDG to create some custom shapes and connectors.
I have tried to create a custom icon in the custom toolbox.

I have spent two days on this now, following exactly to the letter the (what seems to be the only) instructions at

I have created my stereo type for the Icon, referenenced the bmp image with 12 x 12 pixels in grey scale, rebuild the toolbox and profile files, generated he MDG over and over again, and each time I get an image of a folder in there rather than the image I created.

ANy ideas?

Can anyone please tell me what I am doing wrong?

General Board / Custom profile diagram
« on: July 12, 2016, 03:07:33 pm »
Hi Everyone
I am creating a set of custom diagrams at the moment in Sparx 9.2. I would like to have a current state diagram with one colour,  and future state diagrams of another colour.

Can anyone tell me if there are attributes to do this please in the mdg/profile model?
I.e I am assuming it is an attributes on the stereotype but cannot find any reference to one.

Spent all say today trying to solve it.

Any help much appreciated.

Pages: [1]