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 ... 5 6 [7] 8 9 ... 169
Uml Process / Re: Action pins and instances of artifacts
« on: November 28, 2017, 08:47:55 am »
Why does UML prohibit this connection? (Or, why does EA claim that it does?)

It sounds like EA's validation code saying "it's an artifact" and using the artifact rules rather than "it's an instance" and using the instance rules. Probably worth a bug report.

Automation Interface, Add-Ins and Tools / Re: Rectangular Notation
« on: November 23, 2017, 03:52:37 pm »

Uml Process / Re: SysML: Convert SysML 1.4 block to SysML 1.3 block
« on: November 23, 2017, 09:14:45 am »
Originally I wanted to downgrade the elements to SysML 1.4 but I think the upgrade to SysML 1.4 is also a acceptable. Hopefully that there are no "hidden features"  ;)

Not much needs migrating from SysML 1.3 to 1.4. Unit and QuantityKind are now unstereotyped objects, defined by their classifier. Also View has changed from stereotyped Package to stereotyped Class, and Conform is now a stereotyped Generalization. There may also be one or two tagged values that changed names, I don't remember.

General Board / Re: Suddenly changed BPMN diagram
« on: November 23, 2017, 08:50:58 am »
If your BPMN technology is enabled and the shapes still aren't drawing correctly, go to ribbon|Manage|Reference Data|UML Types and find and delete any stereotypes that begin BPMN2.0:: - in fact, you should delete ANY stereotype in that table with '::' in its name.

General Board / Re: Can you use multiple values in <Search Term>
« on: November 20, 2017, 10:36:52 am »
Yes, it's database-dependent. I couldn't get it to work with a Firebird repository, doesn't like the double quotes.

General Board / Re: How to visualize hyperlinks as hyperlinks?
« on: November 02, 2017, 10:23:04 am »
You can switch it off:

EA 12: Tools > Options > Behavior > Use Automatic Sub-Activities

EA 13: Start > Workspace > Preferences > Behavior > Use Automatic Sub-Activities

Uml Process / Re: Class Attributes: How can I delete the {...} field?
« on: November 02, 2017, 09:59:54 am »
{bag} was replaced by {nonunique} for UML 2.2. EA hasn't caught up yet.

(I prefer bag. Why use a big word when a diminutive one would suffice?)

Try "ActivityParameter"

and if someone could explain the visual logic of that thing to me I could go to my grave a happy man

I believe the trident is supposed to look like one of those call trees that we used to draw in the days before UML.

Bugs and Issues / Re: TimeLine data
« on: October 17, 2017, 08:55:45 am »
t_diagram.StyleEx has values TDurLow, TDurHigh, TDurUnit and TDurHide

Sure but is it that hard to make a stub in a package that opens up what is currently called a "relationship matrix profile"?

You mean like a Matrix Specification Artifact?

I can create stereotypes with shape scripts which set different colours -- but how do I specify that when using my «outpar» ActivityParameter stereotype toolbox item, an 'out' ActivityParameter should be created as opposed to an 'in' one which is the default?

In your profile, give your "ActivityParameter" metaclass element an attribute named "direction" with initial value "out". This appears to work, but it's possible it only works for properties named "direction".

But there's no way to check for the element's 'direction' in a shape script -- it doesn't have its own property for retrieval, and it's not a tagged value.

This works...
Code: [Select]
shape main

There's no need to guess. The property names are all documented in the manual; you just have to read it.


Correct. I've just checked it's neither "ID" nor "DiagramID".

It's a long time since I wrote an add-in, but I don't think you're going to be passed a DiagramID in the EventProperties of EA_OnPostNewElement. Try getting the size of the EventProperties then loop through with Get(index) and see what's there - more reliable than guessing the property names.

Pages: 1 ... 5 6 [7] 8 9 ... 169