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 - Paul Krcma

Pages: [1]
1
General Board / EA Best Practices for sharing Project settings
« on: August 10, 2010, 06:09:02 am »
Hello,

Our group is interested in sharing Project level settings, such as Option settings from the Tools > Options dialog.  Our specific need, is to share Source Code Engineering options, such as Collection Classes for various programming languages.

Other than creating snapshots of screens, and having each team member edit these options by hand, are there any other methods for sharing this data? The EA documentation does not recommend version controlling/sharing the .eap file, and the other alternative I've studied is Replication process using the Design Master.  

Any ideas would be appreciated.

Thanks,
Paul Krcma

2
Automation Interface, Add-Ins and Tools / Deleting stereotypes
« on: February 03, 2012, 04:52:46 am »
Does anyone know the proper way to delete stereotypes with the API?

Thanks,
-Paul

3
Thanks for the tip on the Allow Free Sorting, Geert.
I've activated the Free Sorting.  Then, for an example, I create new elements, update the element, set TreePos = 1, update the element, refresh the package. I would expect the last element to be added, be the first in the tree view. But instead, it's the tree as the alphabetic order.

I must be missing something.

-Paul

4
Are there any automated interface examples on how to add embedded elements to an element and set the tree position on the embedded element? EA version 8.0.

I'm using the API to create new elements, and some elements have embedded elements, and EA is putting them in alphabetical order. I wish to have the elements appear in the browser in the order in which they were created.

Thanks,
Paul Krcma

5
Has anyone run into issues with debugging EA version 8 Addins with Visual Studio 2010 C# ?

When attaching to the EA.exe in Visual Studio, all the VS window views vanish, except for the Debug output view.  The Code view with my breakpoints seems to disappear.

Thanks,
-Paul

6
I've been informed by Sparx Systems, that the Repository.CustomCommand is an internal Sparx systems development tool, and is not supported for external usage.

-Paul

7
Hello,

In EA v8, we built custom profiles (based on SysML 1.1) for our custom stereotypes that apply to Class, Interface, Part, Port types.  These extensions supported custom stereotypes with TaggedValues, that were synchronized correctly with the api with the Repository.CustomCommand with the following syntax format:("Repository", "SynchProfile", "Profile=<name>;Stereotype=<stereo>;").  All our stereotypes were properly synchronized with our automation.

After upgrading to EA version 9 build 908, and adding our custom profiles, our stereotypes for Class and Interface types are not being synchronized.  The Repository.CustomCommand returns "true" indicating the api found the profile and stereotype, however the TaggedValues are not being synchronized/updated.  All other types (Port, Part) are being synchronized correctly.

Has anyone seen this in Version 9?  Did the Repository.CustomCommand change ?

Thanks,
-Paul

8
Thanks for the reply. I've finally been able to upgrade to v9, and the Repository.SyncProfile(string,string) reveals a protected memory error.
I'm using the following syntax:
     eaRepo.SyncProfile("MyProfile","MyStereotype");

-Paul

9
As I understand the Repository.CustomCommand, the synchronization occurs on the entire repository of elements that have the stereotype of the profile. Can this command be run on a single Package and/or Element? If so, what is the syntax/process.

Thanks,
Paul

Pages: [1]