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

Pages: 1 [2] 3 4 ... 170
16
General Board / Re: Connector thickness
« on: November 02, 2018, 08:59:16 am »
Hi Everyone,
I recently created created a connector profile in an MDG, with a line thickness of 3 points.
This seems to work ok when I make the connection between elements on the same diagram, but when I drag those same elements onto a different diagram, the connector retracts to 1 point.

You presumably set the line thickness from the "Style" section of the Layout ribbon. That works on a single diagram link (or diagram object) only. If you set the line thickness by pressing F4, it will work on all instances of the connector (or element).


Quote
Is there a way I can do this in mdg? I have tried setting setpenwidth to 3 and tried setpen

drawnativeshape();
setpen(0,0,0,3);
setfillcolor(0,0,0);

but the connector all except the arrow head dissapears.

Thank you for any help.

You need to draw the line after setting the pen width, e.g.

setpenwidth(3);
moveto(0,0);
lineto(100,0);

17
General Board / Re: Setting up Cross References from Element to Diagram
« on: October 31, 2018, 09:13:46 am »
Wonder why they took it out of V14 ?

A lot of context commands have been moved to the ribbons. If there's anything you can't find in context menu or ribbon, it's probably worth a bug report.

18
General Board / Re: Change of stereotype to "Functional"
« on: October 30, 2018, 08:33:52 am »
This is such a simple issue, I can't believe it's not been asked already.
When I create a Requirement, Risk or a few other element types in EA, they correctly have no stereotype.
When I then edit the notes (or edit any other standard field) of one of these elements, EA makes the stereotype into 'Functional'.
Does anyone else see this? It's been going on for several releases now, and I reported it a while back to @Sparx, but no action.
If this is reproduceable elsewhere, this is a serious bug - EA is changing my data without asking. If I don't give my elements a stereotype, it's because I don't want them to have one.
Does anyone else see this ?

I don't want to get involved in any discussions of what is correct or incorrect behaviour, but if you use the modeless (docked) Element Properties window rather than the modal Properties dialog, EA doesn't overwrite the blank Stereotype field with "Functional". This could be a better way of working for you.

19
Question topic: metaconstraints

1. Two Class Stereotypes: Foo and Bar
2. One Connector Stereotype: SomeConnector
3. Model Foo --<<metaconstraint>> {umlRole=source}--> Bar
4. The intent is to ensure that Foo (source) connects with Bar (target) with SomeConnector

Test 1: Foo --SomeConnector--> Bar - successful (intended)
Test 2: Bar --SomeConnector--> Foo - validation error (not intended)
Test 3: Foo --Dependency--> Bar - successful (not intended)
Test 4: Bar --Dependency--> Foo - successful (not intended)

Question - do you have to explicitly eliminate all other connectors/connections that you don't want?


I would expect:

Foo --<<stereotyped relationship>> {stereotype=SomeConnector} --> Bar


The following may be what you were trying to do, but I don't think it means the same thing:

SomeConnector --<<metaconstraint>> {umlRole=source} --> Foo
SomeConnector --<<metaconstraint>> {umlRole=target} --> Bar


20
Automation Interface, Add-Ins and Tools / Re: Missing Tool Bar
« on: October 15, 2018, 08:43:25 am »
If you see a >> button in the top left corner of your diagram, click that. If not, try selecting a different Workspace (ribbon|Start|Workspace).

21
General Board / Re: BDD Diagrams imported via MDZIP file
« on: October 03, 2018, 09:21:28 am »
Or from the UI, it's ribbon | Design | Diagram | Edit | Change Type

22
General Board / Re: Where is my pattern that has been embedded to MDG?
« on: September 26, 2018, 08:32:57 am »
In step 3 a metaclass with the name "ToolboxPage" shall be created.
But what type of metaclass shall be extended? There are some dozens of "core element" like Action, Class, Enumeration...

Just pick one and rename it.

23
General Board / Re: MDG fail to upload
« on: September 24, 2018, 08:50:38 am »
Try ribbon|Start|View|Perspective|Clear Current Perspective

24
General Board / Re: More 'natural' curved connectors ?
« on: September 21, 2018, 04:56:37 pm »
If you select a curved connector in EA, you will see that it has three points: the two end points and a control point. It's the control point that determines how much the line bends and in which direction. Unfortunately, the control point gets ignored during layout changes, which is why curves appear distorted. There's not much you can do in mitigation other than manually adjust the curves.

25
General Board / Re: Where is my pattern that has been embedded to MDG?
« on: September 20, 2018, 04:18:05 pm »
You need to add an item to your toolbox like

Code: [Select]
TechnologyID::PatternName(UMLPattern)
or

Code: [Select]
TechnologyID::PatternName(UMLPatternSilent)

26
Bugs and Issues / Re: UAF ERROR:"Model Template Pattern failed to load.
« on: September 14, 2018, 01:40:10 pm »
I get that message when I click the "Create Pattern(s)" button and there are no patterns selected, for example when I have selected the group name instead of the contents.

27
General Board / Re: Diagram alignment helper lines
« on: September 06, 2018, 12:06:08 pm »
Go to ribbon > Layout > Alignment and it's on the pull-down of the bottom right icon - Show smart placement guides.

28
General Board / Re: BizBok Value Stream model - change aspect ratio
« on: September 05, 2018, 12:16:03 pm »
It appears that the BIZBOK value stream is an extended Use Case element. Try checking the option ribbon | Start | Preferences | Objects | Allow elongated use cases.

29
Stereotype generalizations aren't stored in the database, they are extracted from the UML profile at runtime and held in memory. If the profile is under your control, maybe the simplest solution would be to hard code a map of generalizations in your script/addin.

30
Bugs and Issues / Re: Where can I find the <<navigate>> conncector?
« on: September 04, 2018, 10:49:17 am »
Currently what I do is create an associaction, and change the stereotype to EAUML:Navigate and then set the connector direction to make it show an arrow.  This process is tedious and would be simple if I could use the Navigate connector from the toolbar.

The EAUML::Navigate association doesn't appear in any toolbox. Perhaps you could look into creating your own custom toolbox. Until then, a tip to make your manual process less tedious is to switch on the ribbon|Start|Preferences|Links|Association default=source-->target option.

Pages: 1 [2] 3 4 ... 170