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 - cy.walker

Pages: [1]
1
The below is the test I am attempting unsuccessfully.
root type is class & has custom stereotype + shape script applied.
if only have ChildElement it reverts to the default class shape & "MyIDCompartment" is not an available in the visability list.
if I have main then ChildElement still does not display or available in visibility list.

Code: [Select]
shape main {
setlinestyle("dash");
roundrect(0, 0, 100, 100,20,20);
println("TEST");
}

shape ChildElement {
SetCompartmentName("MyIDCompartment");
addsubshape("id",100,15);
addsubshape("name",100,15);

shape id {
scalable = "false";
println("#TAG:HEG::ID#.#version#");
}
shape name {
bold = "true";
println("#name#");
}
}

Sorry, I'm having trouble getting my head around this. :-\

2
Thanks.

Geert - as I am not 100% on what I am looking for & there is a LOT of shapes in your library, is there any particular shape that you might recommend as a  good example?

3
Hi everyone,

I'm looking for a working example of the below for both Class and Package based elements override with shape script;
  • displaying EA built-in Compartments
    creating & displaying custom Compartments

I have tried following the manual but have had no luck.
Any assistance greatly appreciate!  :)

Cheers,
Cy

4
Sweet! Great news - thanks team. :)

5
Hi all,

I have got irritated all over again... finally getting stuck into some real work & am dealing with "not enough info / to much text / whats them funny shapes?" feedback getting in the way of the real message. Soooo... getting back into shape script and saw the 'bold' attribute in the user manual;
http://www.sparxsystems.com/enterprise_architect_user_guide/14.0/modeling_tools/shape_attributes.html

However, go to use it and... bing bong, no go.  :'(

Script is;
Code: [Select]
shape main {
    bold = "true";
rectangle(0, 0, 100, 30);   
setfixedregion(0,0,100,30);
println("#name#");
println("#version#");
}

Shape Script Editor error is;
Code: [Select]
Error parsing ShapeScript: There was an error parsing  on line 2. Unexpected symbol: bold

The question... can we use bold or italic in ShapeScript yet?

Cheers,
Cy

6
Thanks guys.
EA 'team' consists of 1 so not to much of a concern at this stage but will certainly take your advice moving forwards when we extend EA's usage & integration.
Cheers.

7
Thanks Nazim & Glassboy.
I'm looking to simply get control over the 'look & feel' of the Archimate3 shapes without disrupting anything else within the existing MDG. I am not in a position to invest in creating specific MDG for the business yet, just need things to 'look pretty' for stakeholders initially.

Nazim - although unconventional, would you expect your last approach to break the existing Archimate3 MDG?

8
hi all,

Sorry for my ignorance, I have only started to work with EA and would like to modify some of the Archimate 3 object layouts (i.e. display version, move label location, add options to display tagged values, etc on BusinessObject, etc).

What is the simplest approach to achieve this in EA 13.5?

Thanks in advance.

Pages: [1]