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.


Topics - adama

Pages: [1]
1
1. Highlight an item with relations.
2. Right-click and choose "Insert Related Items".
You should see the related items.
3. Click Refresh button.
BUG: list of relations has one less item than before.

If you filter to where there will be only 1 item in the list, the list will be empty, making the bug seem worse than it is.  I have no idea how much rework this has cost me, but it's a lot.  I've been thinking that after filtering I had all the items, and did not verify. Ugh.

2
General Board / Set Default Line Style?
« on: March 31, 2017, 08:58:40 am »
I suspect that this can be done, but I haven't found it yet. I want to make all Information Flows be "Orthogonal Rounded" every time I create one.

3
1. When selecting multiple elements or connectors, it would be great if one could apply the same change to all the elements selected.  Reference how Visio handles shape data. Only the common attributes are mutable when multiple shapes are selected.

2. It is currently impossible to select multiple connectors, which is very inconvenient.

3. When selecting multiple elements, one cannot select a second element that is within a BOUNDARY. So, if the first element selected is within a boundary, you can select it. But, any other element that is within a boundary is not selectable. Rather, you will select the boundary box, unintentionally, and in error.  WORKAROUND: select all the shapes you want with a stretchy selection, and then CTRL+Click on the boundary shape.

4
Suggestions and Requests / Hide/Show Connectors
« on: March 29, 2017, 11:12:33 pm »
Problem: This one is crazy.  If you hide a connector by first pressing delete and then choosing to hide, there is no way to show it again on that particular diagram.

Suggestion: Regardless of how you Hide a connector, you should be able to Show it again, using either the "Insert Related Items" dialog or the "Links" dialog. This should be an easy fix: Just point to the same internal API that toggles Hide/Show in the Links pane.

Refer to the EA User Guide:
http://sparxsystems.com/enterprise_architect_user_guide/13.0/modeling_tools/hideshowconnectors.html

Steps:
1. On any diagram draw a connector between any two elements.
2. Press Del key. System prompts to either delete the connector or hide it.
3. Choose to Hide it, and click OK.

Attempted Workarounds:
1. Right-click on either element, "Insert Related Items".  Locate and check the connector you just hid, and click OK.
EA will not show the connector.

2. Open the Properties dialog for one of the elements. In the left pane, select "Links" under "Related". Right click on the connector. It does not provide a "Show" option.
There is no way to instruct EA to show the connector.

** Current Constraint/Recommendation until this is fixed **
- NEVER use the Del key to hide a connector. Always use the Links method.


5
General Board / Element->Advanced->Context menu does not appear
« on: March 18, 2017, 05:38:19 am »
Somehow, I lost this on all shape and diagram types.

1) Right-click on an Element.
2) Select Advanced.
Only thing that shows is "Tagged Value". None of the other cool features are present.

Please tell me what I did to cause this, and how to restore it.
 

6
Given:
  • Creating a "Location" stereotype in a profile
  • Extends metaclass UML::Node (need the shape).
  • Inherits from stereotype Archimate2::Location (it's a requirement, plus need the connectors)
  • Inherits from ZF::Location (tried to force the shape using this also)
  • Resulting shape is flat (Archimate2).  Cannot find a way to force the shape of the Node

What I want:
- Inherit cube shape from UML::Node or ZF::Location

What It get:
- Inherit shape from Archimate

What I've tried:
  • Inheriting from UML::Node, ZF::Location, etc.  Archimate2 shape always overrides
  • Using DrawNativeShape() and DrawParentShape() in shape script. Same effect as item 1.

The more I think about this, I believe we have a design flaw in the inheritance chain.  My Location also inherits from ZF:Location, so there should be no preference between the two parent stereotypes.  I get the feeling that Sparx simply picks alphabetically from the inheritance chain, which is why we get the Archimate shape.  More reasonably, the stereotype should inherit from its base metaclass (UML::Node), not the other stereotypes that it specializes. Agree?

Thanks.

7
Given:
  • I draw my own shape script, and the cube looks fine, but can't get it to behave the way I want.

What I want:
- When I stretch the shape, the top and right sides will not deform.
- When stretched vertically, the top side will not expand vertically.
- When stretched horizontally, the right side will not expand horizontally.

What It get:
- When stretched vertically, the top side expands vertically (but stays fixed to rectangle, nicely).
- When stretched horizontally, the top side expands horizontally (but stays fixed to rectangle, nicely).

What I've tried:
  • Using paths for the sides.
  • Using subshapes (with paths inside) for the sides.

I know this can be done in a shape script, but how?

Thanks.

8
Context:
Model type=data model
Object type=Table
View=Attributes
Tab=Contraints/Indexes

1. select blank row.
2. Press Ctrl+D
System crashes.

9
See:
http://sparxsystems.com/enterprise_architect_user_guide/13.0/modeling_tools/define_tag_groupings.html

"You can apply the same solution, using three tag grouping special attributes in the Metaclass element extended by the Stereotype element in which the tags are defined as attributes."... the Technology Developer defined the special attributes in the Activity Metaclass element"

Trying to parse this vague instruction:

1) "...using three tag grouping special attributes in the Metaclass element ..."
So, you add each of the special attributes to the metaclass (e.g. Activity). So what then?  In the example, the values for _tagGroups is "Base Element,Activity,Task,AdHoc,Loop,Sub-Process,Callable Element,Execution,Other". But, an attribute does not have values; it has only initial value. What does this mean?  I tried adding tagged values on the attribute, tagged values on the element, a tagged value on element that has the comma-separated string as the value...with no success.  Same question about _tagGroupings and _tagGroupStates.

2) "...extended by the Stereotype element in which the tags are defined as attributes."
What tags? I guess that means these attributes will be expressed as tags in class instances.
Anyway, from this instruction, I suppose one should create an attribute for each item in _tagGroupings.

Totally confused by this instruction. Any help by example, perhaps?

10
All, using CSV, I'm trying to import a tag value that is part of a complex type, and cannot get it working. 
Note:
- I can import a regular tagged value just fine. 
- I can import a tag value that is part of a tag group just fine.
- My struggle relates to a tag value that is an attribute of a complex type: in this case, Address.

Please be patient with this explanation.  Thanks in advance to any brave sole willing to read this.

A. SETUP THE PROFILE
1) I have a meta model (aka profile) called "myProfile".
2) In myProfile, I have a meta class for an actor, extended by a new stereotype called "User".
3) In myProfile, I have a class called "Address".
4) Address has two attributes: "postal code" and "city".
5) On stereotype User, add an attribute call "home Address" of local type "Address".
6) Save the profile and import the profile.

B. USE THE PROFILE
1) Create a TestPackage, and create a class "Foo" of stereotype "User".
2) Open Foo properties and see the "Main", "Tags", and "myProfile" tabs. Good!
3) Go the the myProfile tab, there is a tag group called "home address". Still Good!
N.B. On the user interface, this looks just like a tag group, even though it's not really.
4) Expand "home address" and specify values for "postal code" and "city".
5) All is good, so far.  :) :) :)

C. SET UP THE I/O SPECIFICATION
1) Create a new I/O Specification called "IO".
2) Click on the "Add Tagged Value Field" button.
3) Choose "value".
4) Click on the "Other Element" button.
5) Select my class "Foo". Good, it shows up!
6) Select "Home Address" from the pick list.
7) Click OK.

D. DO THE EXPORT
1) Highlight Test Package.
2) Select "CSV Export/Import" from the Publish ribbon, and select the I/O specification called "IO".
3) Perform the export.
4) Check the output CSV and it looks great!  :) :) :)

E. CHANGE THE EXPORT FILE
1) Open the export file.
2) Locate the record/row for class "Foo".
3) Locate the column called "TagValue_Work Address".  Notice that the value is a comma-separated list enclosed in double quotes.
  Example: "90807,London"
  where 90807 is the postal code, and London is the city.
4) Change the city value from London to "Paris"
5) Save the file.

F. DO THE IMPORT
1) Highlight Test Package.
2) Select "CSV Export/Import" from the Publish ribbon, and select the I/O specification called "IO".
3) Select the "IO" spec and the file I previously exported.
4) Perform the input.  Sparx reports success.
5) PROBLEM :(  The tag value for city is still "London".

So, the imported data is getting stored somewhere; just not in the right place.K
This process works perfectly for a stand along tag value, or a tag group member,  but not for attributes of a complex type.
Any suggestions? Can I set this up better? Should it work?



11
General Board / Sparx errors on open. Error in xml file
« on: February 26, 2017, 03:33:20 am »
I get this message when I open the softare:

"Error:
Code=0xc00ce557
Source=Line : 2; Char : 3
Error Description = Invalid xml declaration."

I deleted all my xml files I could find, but I still get it. What's going on? Any ideas?

12
General Board / Sparx cannot find my XMI/XML files
« on: February 26, 2017, 03:27:52 am »
When stepping through the MDG wizard, Sparx will not recognize my XML files, even though they are in the directory I specify.

1) Does this mean the files don't parse?
2) Is Sparx not able to look there? I found this in the help: "To make the MDG Technology .xml file accessible to an Enterprise Architect model, you must add the technology file path to the 'MDG Technologies - Advanced' dialog." But, where the heck is that? How do I get to the 'Advanced' dialog?
The docs are constantly frustrating me.

13
How can I see the old menus that track to the user's guide?

14
General Board / Parents and Interfaces disappeared!
« on: February 23, 2017, 10:35:57 am »
1) Right click on a class.
2) Select Advanced.
3) Only Tagged Values shows.  Select Parents is gone!
4) User's guide says to use Ctrl+I, but that does nothing.
5) Tried typing "parent" into the help search, and find the command under Manage. But, can't find that command in ribbon anywhere.
6) What did I do to Sparx to make it hide that command?

15
Bugs and Issues / Bezier is terrible
« on: February 09, 2017, 08:21:02 pm »
Sparx needs to fix Bezier curves.  The bezier curves are unsatisfying in general, but made much worse because the ends attach to a bounding box (invisible) that does NOT MATCH the target shape.  Even in Data Flow Diagrams, the data flow between processes (ellipses) is impossible to make tangent in certain angles/points.  It's like the bounding box is for a rectangle.

This makes my diagrams practically unusable as communication devices with the customer, and costs me huge amounts of time for zero return, unnecessarily.

I'm guessing the problem relates to the fact that the supertype for a DFD Process is an Activity, and the shape for an Activity is a rectangle.

Pages: [1]