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 / 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.

47
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

48
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.

49
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?

50
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.


51
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.

52
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...?

53
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

54
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






55
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]