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 ... 3 4 [5] 6 7 ... 165
General Board / Re: Can't add attributes or operations using toolbox???
« on: August 01, 2017, 04:52:35 pm »
I don't think it has ever been possible to drop unstereotyped attributes or operations from a custom toolbox. Only stereotyped attributes and operations. If you think that's worth a bug report, please use the "Report a Bug" link at the bottom of the page.

General Board / Re: What is a "property"?
« on: August 01, 2017, 10:37:33 am »
When dropping a class element in a diagram a dialog appears asking of what kind the dropped element shall be created: Link, Instance, Child, Property.

Paolo is correct that Property has many meanings depending on context. In this context, it is used as a synonym for Part.

Bugs and Issues / Re: SysML Item Flow with item property
« on: August 01, 2017, 09:33:05 am »
This is still a problem in V13. I am trying to implement the Water Distiller example in Chapter 16 of the Practical Guide to SysML book (Iss 2 so SysML 1.3). This is a showstopper as you can't create an Item Flow item than can be allocated to from an object flow. I want to be able to map between logical model object flows and physical model items flows, e.g. a real-world value like temperature in the logical model is represented by a sensor voltage in the physical model.

I don't have the book so can you describe the diagram please?

Suggestions and Requests / Re: Role name vs. attribute
« on: July 31, 2017, 05:04:44 pm »
So what is an association that's not going to be an attribute? A ghost?

I think the question should be the other way around: what is an attribute that's not going to be an association end? The convention used in the UML specification itself appears to be that they use associations between classes, but attributes with data types (primitive or otherwise).

On the Preferences dialog, there is an Allow Free Sorting option that you should tick, if not already.

ribbon|Start|Workspace|Preferences|General|Project Browser|Allow Free Sorting

Can anyone tell me what/how to set/clear?

A quick check of the diagram's extended style shows the parameter isn't in there... nor do I see any other obvious location for it.

Thanks - Julian

t_diagram.StyleEx includes "CEE=1;"

Instead of * you need a %.


Or use '#WC#' which will substitute the appropriate wildcard character for the database you're running the search on.

If all you want to do is display one of a BPMN Activity's tagged values on a diagram, then rather than messing around with shape scripts and risk losing BPMN functionality, add a Note to the activity (right-click > New Child Element > Attach Note), right-click the note link and "Link this note to an element feature".

or use subclasses of Theism instead of Theism types. In that case you can give each subclass it's own redefined association with redefined exact multiplicities.

Was going to suggest this but Geert beat me to it.

You will need to change t_object.Object_Type from 'Event' to 'ObjectNode'. (Probably not the whole story, but one step closer...)

Yes. Highlight some text then from the ribbon choose Edit | Edit | Edit | Apply Comment

For legacy reasons, the property Element.Stereotype does not support fully qualified names. The code above will actually define a new stereotype in the model with the name BPMN2.0::Activity. It is a completely separate stereotype from the Activity stereotype from the BPMN2.0 profile.

You should use:
Code: [Select]
This will parse the assigned string, and set the stereotype to the one from the requested profile.
You should also go ribbon | Configure | UML Types and delete any stereotypes named BPMN2.0::Activity

Try adding an extra Update after setting the type to Activity:

callingElement.Type = "Activity"
callingElement.Stereotype = "BPMN2.0::Activity" ' fully qualified otherwise no TVs created

I haven't tried it, but I suspect that otherwise when applying the stereotype EA might still think the element is an Action.

I noticed 2 options under Technology/Publish that look interesting: Technology/Publish/Publish Diagram as Pattern and Technology/Publish/Package as UML Profile. Any comments on what they do and if they are new will be much appreciated.
They have been there forever; just the names have changed. (Previously Save Diagram as UML Pattern and Save Package as UML Profile, from memory).

In EA 13, it's "ribbon | Layout | Diagram | Manage | Set as Model Default"

Or you can "Set as User Default". Or you can define a working set (list of diagrams and other windows) to apply when model opens.

Pages: 1 ... 3 4 [5] 6 7 ... 165