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

Pages: [1] 2 3
1
General Board / Adding Memos as a MDG
« on: May 01, 2017, 02:51:01 pm »
Hello,
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,
David


2
General Board / Re: MDG connector stereo types
« on: March 07, 2017, 07:17:49 am »
Hi Guys,
Thanks for the responses.
I didn't mention that I am not using UML - this is a custom build MDG to represent our high level architecture.
I could also change the stereo type manually, I guess what I was looking at was trying to make an automatic way.

Thanks,
Gary

3
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>"

Thanks
David

4
General Board / Re: Attributes csv import
« on: December 01, 2016, 03:14:48 pm »
if not, can you direct me to Geert's csv importer please?

5
General Board / Re: Attributes csv import
« on: December 01, 2016, 03:02:47 pm »
Hi Thanks for the reply.
I do (I think) have simple cases.
e.g.

TABLE NAME   ATTRIBUTE
table1                  field1
table1                  field2
table1                  field3

and so on. Can that be done "out of the box"?

6
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

7
General Board / Roadmap Options
« on: October 07, 2016, 09:44:37 am »
Hi,
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?



8
Hi Geert
If you mean sarcasim about the data model - far from it.
I'm bring genuine. I had my first look after years away from it a week or so ago.


I found it very easy to follow.  I guess I might gave been spoil by traversing comolex models like SAP etc. but this one is a delight.

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

10
Yes I totally agree, as an architect I like to present say the logical layer, separate from the physical realization layer, but still be able to add information in a compartment in summary so it can be all conjoined.

The related element is not flexible enough as you cannot use it in custom shapes etc. and even if you use it in standard native shapes, like UML component, it does have positioning etc. so when you display a db schema component within a dbms component, it overlaps the writing

Maybe Sparx staff - could we make tag drops downs dynamic retrieved from SQL?
I don't think that would be too difficult, and that way it will solve many of my problems including this one.

i.e. DBMS element component, tagged drop down list returning list of DBMS technology e..g Oracle, SQL Server etc.

User selects it and we simply display it on the element in a compartment in a user defined shape. Dynamic so if a new technology is added, next time selecting from tags it is selectable.

Please please please implement by next Tuesday.
One thing about the Sparx data model, it is incredibly intuitive.

11
General Board / Re: Double note sizes
« on: September 11, 2016, 12:59:50 pm »
A sorry guys,
Been away on holiday.
To try and answer all the questions
- No I am only doing this in one shapescript compartment - the example given is from the sparx web page, and if the compartment already exists it is intelligent enough t ore-use.

Blank last line - is that actually in the code of if a blank line is somehow being generated in the list of dependencies? I shall check out my examples, but I don't recall having a blank line.

If it is a bug - do I need to create a bug request as suggested to initiate getting it fixed?
Thanks,
David

12
General Board / Re: Double note sizes
« on: September 08, 2016, 01:35:41 pm »
Hi Qwerty.

What I am doing is trying to populate a Note, connected to an element, with the contents of the element realized components.

Say for example we a logical element called Bus. From that element we realize it to other elements called Double decker bus, tour bus, city bus.

When I create a note and assign it to an element feature, I would expect the note to contain
Double Decker bus
Tour Bus
City bus using the attached code on the element Bus.

This works well, but what happens, is the note is substantially larger than the 3 rows consumed. i.e. there is a lot of "dead space" beneath them.

I cannot re-size them, it ignores me (I call it the teenager syndrome ;-))
So I am left with notes much bigger than the text they contain.

Now image I have an element of say 14 realized elements, I have 28 rows, 14 populated and a lot of distracting space taken up in the diagram.

It looks very, very messy and not practical.

Hope this makes sense.


13
General Board / Double note sizes
« on: September 06, 2016, 02:44:56 pm »
Hi,
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.

Thanks

shape RelatedElement { // add Child Compartments to the parent.
 
     if(HasProperty("Connector.Type", "Realization"))
    {
            
           if(HasProperty("Element.IsSource"))
            {
               SetCompartmentName("Sub Capabilities");
               AppendCompartmentText("#element.NAME#");
               
            }
       }
 }

14
Automation Interface, Add-Ins and Tools / Re: Import DDL from file
« on: September 02, 2016, 02:45:34 pm »
I noticed this was requested in 2007, do we know if it has been implemented yet?

I find it a real pain having to take DDLs sent to me, download databases, run the DDL, then connect Sparx and import.

15
General Board / Re: Dependency and Custom departments not working
« on: August 30, 2016, 12:46:33 pm »
Hi Simon,
Yes I tried these and no change.
Can you confirm if you have got this to work in 12.1 - If I know it works, I shall  perservere, if you identify it as a bug however, I will give up.

Thanks or the feedback.

Pages: [1] 2 3