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 - rjsmith

Pages: [1]
1
Currently, EA provides a means to locate the classifier of an element in the project browser, but no way (that I have found) to find all the elements that are classified to a given type.  
For example, I have an block named "Shape", and three object nodes ("Circle", "Square", "Triangle") that have instance classifier set to "Shape".  If I have "Circle" on a diagram, I can navigate to its instance classifier.  However, from "Shape", I cannot tell that "Circle"", "Square", and "Triangle" reference it.
It would be very useful to have a lookup, similar to the "In Diagrams" lookup, to find all the elements that reference an element as either an Instance Classifier or Property Type.

Thanks!
Rebecca

2
General Board / Animation/Execution of State and Activity Diagrams
« on: July 24, 2010, 04:13:22 am »
Hi all,
   I'm using SysML to capture the design of a complex system and am looking for ways to animate State and Activity diagrams in EA to debug the system design.  Has anyone done any work in this area?  I'm currently using the latest release of EA (version 8 release 859).

Thanks for your help!
Rebecca

3
Hi all,
  I'm using EA version 8 (build 860).  I have some SysML block elements with data stored in SysML block properties (parts).  I'm trying to generate an RTF document that exports the SysML blocks with its "children" block properties and associated data underneath.  I've run into a few issues:
   1. The RTF generator is treating my block properties as elements, instead of child elements or embedded elements of the "parent" block.
    2. There is a "property" tab for a block property with a value of "initial" that can be set, yet I don't see a field in the "Insert Field" options that would correspond to this value?

Thanks in advance for any help!
Rebecca

4
Frank, Geert,
  Thanks for pointing me to the other topic.  However, in my case, all the elements ARE children of the package (at least that's how they're displayed in the project browser).  Based on the notes in the other thread, the Package.Elements should return elements that are direct children of the package, but not elements that are "owned" by other elements within the package.  This would lead me to believe that there is an issue with either my database, or the "fixed" implementation.

Any idea where I go from here?
Thanks!
Becky


5
Hi,
  I was updating an add in I created an originally ran with v. 7.5.893 (I think) of EA and saw some funky behavior when running the new add in using EA v. 8.0.855.  When I started debugging, I noticed that the Package.Elements.Count was not returning the correct number of elements for my packages.  I'm also getting exceptions thrown and have had EA crash on me multiple times (I didn't experience these issues with 7.5).  I tried updating the interop library from v. 2.10.238.1 to 2.10.0.0 but saw no improvement after doing so.

Has anyone else run into issues with add ins in the new version of EA?

Any assistance is appreciated!
Becky

6
Disregard - upon further investigation, looks like when I create an AttributeTag with a name that matches a TaggedValue in the TaggedValueEx, it removes the attr from the TaggedValueEx list.
Thanks!

Geert,
  I suspected that this was the case.  Given this approach, in the GUI, when a tag is edited, it moves from the TaggedValuesEx list to teh TaggedValues list.  If I use the approach you mentioned (creating a new AttributeTag in the TaggedValues collection), should I delete the corresponding attribute from the TaggedValuesEx, or with this delete the attribute from the parent?

Thanks!
Rebecca

7
Hi,
  I'm working on an Add-In for EA written in C#.  I'm using EA version 7.5.849 and Visual Studio 2008.  I'm trying to create elements in a package with data stored as attributes.  The attributes are classified to another class element that I created which defines a series of tagged values.  When I try to edit the tags for the individual attributes, the Attribute.TaggedValues collection is empty - all the tags show up under Attribute.TaggedValuesEx.  When I change the value in the TaggedValuesEx, it changes the tag value in the parent, rather than "moving" the tag from the TaggedValuesEx to TaggedValues, as is the behavior if I do the same operation through the GUI.  The result is that the tags get set for the parent, rather than for the attribute itself.
I've searched the forum and looked through the help with no luck.  Could someone please help me understand what is the proper method for modifying "inherited" tags in an object, rather than modifying the parent's tag values?

Code snippets provided upon request.
Thanks!
Rebecca

Pages: [1]