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 ... 163
91
General Board / Re: Export extended BPMN2.0 elements
« on: February 20, 2017, 12:11:06 pm »
So, what's the moral of this story ;-)

You've already lost the Australians, they don't have hedgehogs.
We have Echidna. Superficially similar, but no chance an Echidna could ever out-smart a rabbit.

92
That's why I wanted to use an if-statement. But the variable-seeting has to be before the if-statement. Is there a way to put the variable-setting inside the if-statement?

Do something like this:
Code: [Select]
decoration one
{
    orientation="NE";
    if (<if-expression>)
    {
        <drawing-commands>
    }
}

decoration two
{
    orientation="NW";
    if (<if-expression>)
    {
    }
    else
    {
        <drawing-commands>
    }
}

93
Yes and no. I have often yearned for this functionality - specifically when creating diagrams with a single element in the centre and all related elements in a circle around it where you are only interested in seeing the connectors to and from the central element. However, you will find that it is MUCH easier to hide connectors that you can see than show connectors that you can't see, and on balance I prefer things the way they are (not that my opinion counts for much ;) ).

94
So if I understand you correctly, you want to change the orientation of a decoration dependent on an if-condition, but you have found that you can only have one orientation assignment per decoration. What you could do is have two decorations, each with their own orientation assignment, one for the if-condition and the other for the else-condition.

95
Suggestions and Requests / Re: mdgtype,meta class, base class
« on: February 17, 2017, 08:53:44 am »
(1) does anybody know how to find out the mdgtype of a diagram (without db-query)?
Scripting. Try inspecting the EA.Diagram.MetaType value

Quote
(2) does anybody know how to find out the metaclass of a element (without db-query)t?
Scripting. Try inspecting the EA.Element.MetaType value

Quote
(3) could some point me to a description of base clase (see UML types. Not the base class for inheritance)?
Sorry, don't understand the question.

96
qwerty's reference data suggestion still sounds possible. ribbon|Configure|Model|Transfer|Export Reference Data and tick everything, then import into the new model.

97
Suggestions and Requests / Re: Dual decorations when switching MDG
« on: February 01, 2017, 09:13:26 am »
Specifically, which stereotype?

98
Suggestions and Requests / Re: Macro execution
« on: February 01, 2017, 09:11:36 am »
When you say "macro", do you mean "script"? If so, use the Scripting window: ribbon|Code|Scripting. There are examples that you can adapt.

99
I have never used MDG Integration Tool for Microsoft Office, so this is just an educated guess, but try it again with only one SysML technology (presumably 1.4) enabled. As a general rule, the only time you should have more than one version of the same technology enabled is when you are migrating from one to the other. At all other times, remove the opportunity for confusion!

100
General Board / Re: Line Style when drawing BPMN 2.0
« on: January 19, 2017, 11:54:57 am »
Since you will be modifying the distributed BPMN MDG file, make a copy for restoration purposes.


And be aware that re-installing EA will blow away your changes, so keep a copy of your edited technology so you can restore your changes next time you upgrade EA. A text merging application like WinMerge will assist greatly.

101
Suggestions and Requests / Re: Transform an Instance to Class
« on: January 18, 2017, 09:40:18 am »
If I delete a class manually, Sparx also deletes the corresponding instances.

If that's the case, then what you are calling an instance isn't what I would call an instance. Create an object diagram, create an "Object" element, select it, Ctrl+L, select a classifier, and your object is an instance of the selected classifier. This object will not be deleted when you delete the classifier.

102
I noticed that something like this

Code: [Select]
shape main
{
    ellipse(0,0,100,100);
}

doesn't have a gradient fill, but if you put it inside a path

Code: [Select]
shape main
{
    startpath();
    ellipse(0,0,100,100);
    endpath();
    fillandstrokepath();
}

it does have a gradient fill.

103
General Board / Re: Help for new user
« on: January 13, 2017, 11:19:01 am »
I have created a metamodel (well I have used attributes to create a meta model.
What does your metamodel look like? Is it a set of UML class diagrams which define the structures and relationships of your metaelements? If that is the case, your next steps are probably to convert your metamodel to a UML Profile, deploy your profile (either as is, or in an MDG Technology), then use your profile to start creating stereotyped elements.

104
General Board / Re: Classic menu bar
« on: January 11, 2017, 11:03:07 am »
No, but right-click > Minimize the Ribbon might help.

105
The properties dialog for columns has been updated but you can still add multiple stereotypes from the Properties window (Alt+1) and you can access tagged values from the Tagged Values window (Ctrl+Shift+6). For any other issues you will need to contact support (use the Report a Bug link at the foot of the page).

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