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

Pages: 1 2 3 [4]
46
General Board / Event that start up when Model is open
« on: March 17, 2016, 06:48:01 pm »
Hi,
Does anyone know if there is an event that jumps when a model is opened?
I could not find such one in this link:
http://sparxsystems.com/enterprise_architect_user_guide/12.1/automation_and_scripting/addins_2.html

Tzafrir

47
General Board / Cloning EA.Element
« on: March 17, 2016, 05:03:26 pm »
Hi,

Is there an API to clone EA.Element, similar to the cloning API of a package EA.Package package.Clone()?

Tzafrir

48
General Board / Retrieve tags of a package
« on: March 14, 2016, 04:10:25 am »
hi,
I have tag in a package which I am trying to retrieve using EA API.
The only API that I found that is related to tags is from EA.Element (element.Tag)

For Package, there is no API to retrieve its own tags.
Is there a way to retrieve it throw EA API?

49
General Board / Available tables and their field in EA
« on: March 13, 2016, 05:04:04 pm »
Hi,

Is there a link that describes all the available tables and their fields in EA?

Thanks,
Tzafrir

50
General Board / Completely remove AddIn from Manage Add In window
« on: March 10, 2016, 05:14:04 pm »
Hi,

Is there a way to completely remove AddIn, that it will not appear in Extention -> "Manage Add In window"?

Thanks.

51
General Board / SysML is jumping on EA_OnPostNewElement
« on: March 07, 2016, 07:08:47 am »
Hi,
I have written an AddIn that jumps on EA_OnPostNewElement event.
One of the Addin functionality is getting the ID of the element that was inserted to a diagram and then deleting it from it.
Up until here everything was fine.
I then installed SysML Addin from sparxsystems site.
What happens is that the SysML started running my event, the problem is that it looked for an Id that does not exist in the model anymore and that causes a crush.
Does anyone have any idea how this issue can be resolved?

Thanks,
Tzafrir

52
General Board / Copying a Dll for use on another Computer
« on: February 28, 2016, 11:36:32 pm »
Hi,

I have places the NewAddIn dll and exported the registry of my current EAAddin setup for the 2nd computer use.
Can someone provide the full necessary steps that are needed in order to install the dll on the 2nd computer?

Thanks.

53
General Board / Delete an element
« on: February 26, 2016, 07:00:02 am »
Hi,

I guess this should be straight forward,
but I can find any API that would simply delete an EA.Element from the module.
Is there such an API?

54
General Board / Recursive run down all elements in a package
« on: February 22, 2016, 03:44:08 am »
Hi,

Is there a simple way to get all the decedent elements underneath a specific package recursively?
i.e. all the elements, classes, diagrams or other packages underneath a package in one command?

Thanks.


55
General Board / loading pattern in EA API
« on: January 13, 2016, 07:44:07 am »
Hi,

I have created a customized xml pattern that is I am using in EA (for example when creating a package, I am creating a set of other customized elements).
Does EA API support loading this pattern, do some manipulation on its xml (like changing created names in tags),
assuming I know the path where it is located.

56
General Board / Retrieving the Package above an element
« on: January 07, 2016, 12:33:21 am »
Hi,
I am trying to retrieve the id of a Package and load the package that is located above a specific element.
PackageId and ParentId either give an Id that does not exist or does not return anything even though a package exist above the element

i.e. something like this:
EA.Element elem = <retrievedElement>;
int packageId = elem.PackageID;
EA.Package parentElement3 = (EA.Package)repository.GetElementByID(packageId);
or
int parentId = elem.ParentID;
EA.Element parent2Element = repository.GetElementByID(parentId);
                       
Is there a more convenient way to do it, because this does not seems to be the one...?

57
General Board / Add or delete an element from a diagram
« on: December 26, 2015, 08:32:01 am »
Hi,

I have an element that i want to add to a specific diagram through the API.
And I have an element that I want to remove from the diagram.
I could not find an API that does that.
Does anyone know how this can be achieved?

Thanks,
Tzafrir

58
Hi,

I have an element that i want to add to a specific diagram through the API.
And I have an element that I want to remove from the diagram.
I could not find an API that does that.
Does anyone know how this can be achieved?

Thanks,
Tzafrir






59
Suggestions and Requests / List of tables sql queries can be run on
« on: December 25, 2015, 04:33:52 am »
Hi,

Can anyone post a list of tables and there fields (or where there is a link that it can be found at).

Thanks,
Tzafrir

Pages: 1 2 3 [4]