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 5 ... 165
31
Automation Interface, Add-Ins and Tools / Re: Rectangular Notation
« on: November 23, 2017, 03:52:37 pm »

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

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

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

35
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

36
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?)

37
Try "ActivityParameter"

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

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

40
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?

41
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".

42
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
{
if(hasproperty("direction","in"))
{
setfillcolor(255,0,255);
}
drawnativeshape();
}

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

Geert

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

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

45
EA will send out broadcasts when certain actions take place, so you need to create functions that respond to those broadcasts. For example, to respond to a new element being created, you will need to have a function called EA_OnPostNewElement. Search the help for "EA_OnPostNewElement" and it should point you in the right direction.

Pages: 1 2 [3] 4 5 ... 165