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 ... 3 4 [5]
61
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.


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

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

64
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

65
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






66
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 ... 3 4 [5]