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

Pages: [1]
1
General Board / Coloring frame elements
« on: November 27, 2020, 02:38:24 pm »
Hi,
I have been working with other EA tools, and I was wondering, there is a common use case  I have that I have not been able to figure our if Sparx can do it.

I want to create a single diagram, with say 4 diagram frames on of the SAME diagram, a kind of a dashboard.
I want to colour connectors and elements different on each frame. to represent say risk on one, cost on the other, effort, business value etc. all using the same base diagram.

Can anyone think of anyway to do that please? I know you cannot draw and drop the same element on the same diagram, because of the indexing structure of elements in the database, so I am guessing that leaves only frames?

Thanks, much appreciate in advance any help



2
General Board / Colours on a View
« on: October 15, 2020, 10:05:33 am »
Hi,
I have created a portfolio of applications on a specific view, by assembling all of the applications currently used throughout the model.
I would like to change the background colour of the applications (in archimate)  to represent different status, so it gives a good visual representation.

When I change the colour however, it also affects the same elements , used in other models.
Is there a way to limit the colour to a view only?

3
General Board / HasTag with Memo
« on: July 01, 2018, 07:51:06 am »
Hi my fantastic team of Spark experts,
I am doing a shape script where I have a <memo> field called "PainPoints"

I want to print a red cross on the element if ANY text is in this field, otherwise just ignore it.

I have done this in a connector successfully i.e.
if (HasTag("PainPoints","")) {}
   else {
     setfixedregion(40,-10,60,10);
   
     setFillcolor(255,0,0);
     rectangle(40,-10,60,10);
     moveto(40,-10);
     lineto(60,10);
     moveto(60,-10);
     lineto(40,10);
    
   }
It works perfectly if something in, and does affect output if empty.
HOWEVER, when I come to do exactly the same feature for a component element, it doesn't seem to work and prints the else condition everytime.
Do you know if that is a bug, or do I have to do something different for a component? Code below. The issue is I get a cross whether I put something in the memo field PainPoints or not.


   if (HasTag("PainPoints",""))
        {}
     else {
      

          
         setfillcolor(255,0,0);
         startpath();
         moveto(38,35);
         lineto(51,70);
         moveto(38,70);
         lineto(51,35);
         endpath();
         fillandstrokepath();
        }

4
Bugs and Issues / Re: Toolbox toolbar missing...
« on: June 24, 2018, 11:45:45 am »
Oh god, I've never used Sparx since v9. Coming back to newer versions, I have to learn it all again. Everything is in different menus, different windows.

What's that saying about an interface is like a joke, if you have to constantly stop and ask what it means, it is not working.
I somehow lost the toolbar associated with the diagram, been searching for it for hours. Used to be under Diagrams.

Also [find command....] in some of my instances of sparx, but not in others for the same version on different desktops.
Seriously driving me insane.

I see now why everyone complains about the new version experience....

5
General Board / Re: Notes and Shapescript
« on: June 19, 2018, 07:36:39 pm »
Hi Everyone
Thanks for your feeback.
I have tried the cut and paste of the pin types, but it looses colour, or shape or something (I forget), so still requires manual intervention.
This was of particular interest from Sparks "No, it's not there and it's not coming because we don't want shape scripts overriding user font settings."

Is there anyway then you can enhance notes to keep the current set characteristics (colour, fontsize, pin etc.) so when you cut and paste them they replicate?
It seems a bit of a pain having to write a shapescript anyway to do such basic stuff?

Please  8)
When you are adding lots of notes to diagrams, and want to keep them consistent, it is a royal pain

6
General Board / Notes and Shapescript
« on: June 17, 2018, 01:45:45 pm »
Hi,
I find myself frequently creating a note, having to convert it to a pin, changing the border to red, changing the font to size 18 for a "Pain point note"
I find myself frequently creating a note, having to convert it to a pin, changing the border to blue, changing the font size to 18 for a "FeatureNote"
Repeat - green for opportunity

( don't want to create other elements, just informal notes for the purpose of 1 diagram)
I have spent some time with Shapescript, and tried to make an element that does this based upon the note element. I cannot get the pin type, so I had to reproduce it in a complex, not so nice way with shapes, only thing left is I want to increase the font size.

I have saw in commentary years old that this cannot be done, can it be done now in 2018? If not are there any options at all?
If not, can we make font sizes programmable please Sparx? Such an elementary request.

(Also are we sure there is no way to change the note appearance to a pin?)

7
General Board / Embedded element shape script
« on: June 02, 2018, 10:40:38 am »
Hey Sparkies,
I have a bit of  a problem that despite researching the internet have not been able to resolve.
I am using MDG Shapescript to modify an embedded element - port.
I want to keep the shape, but simply move it to the edge of element I have built.

The edge of the element, as you would expect from a port, is not on the edge, but in the centre. I want the port square symbol to rest ON the edge, not be off set by -10 of whatever so the edge is in the centre of the port.

I have tried using bottomAnchorOffSet, left, right etc but no effect. Can anyone advise?
Thanks


shape main{
   noshadow = "true";
   bottomAnchorOffset= (0,0);
    rectangle(0,0,100,100);
   
   if (HasTag("Status","Future")) {
         setfillcolor(0,255,0);
    }
   if (HasTag("Status","ToGo")) {
         setfillcolor(255,0,0);
    }
   fillandstrokepath();
   
}

8
General Board / Re: customised associations
« on: July 20, 2012, 07:30:40 pm »
Hello Geert,
Thanks for your quick response.
I've trying using profiles, unfortunately if you say, create a stereo type of a Trace, the sub class is of type trace, and the description in the traceability window is "depends on".

What I am doing is looking for a way to change "depends on" to "references" or "is appreciated with" etc., do you think I could do that in an existing profile? How would I go about doing it, in say Alchimate?

Thanks for your help,
Gary

9
General Board / customised associations
« on: July 20, 2012, 05:29:40 pm »
Hi,
I am using Sparx Enteprise Architect for, here's a novelty, Enterprise Architecture modelling.

I am linking Data to technology to applications to business capabilities etc.

Linking them using the standard association tools, e.g. compositions, traceability etc. creates very complxed information overload in the traceability screen.

I have tried to create my own unique assoications but without much luck, as the base class of say association, stays the same.

My question is :
1. Is there anyway I can customize the traceability association name labels , from say "depends on" to references? e.g. make them more user friendly?

2. I have a big need for custom references, but I also need a diagrammatic way to represent these associations, not just the custom manager, is there a way to do that?
3. Are there ways of seperating a class association in traceability form, from say extends or use case links as they all come up the same?


Thanks every so much, a great product, this is my only bug bare

Pages: [1]