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
16
General Board / Getting StateFlags from element
« on: February 26, 2017, 06:48:43 pm »
Hi,

Is there an API to get the Stateflags from an element (and not running a sql to get it from DB?)

Thanks,
Tzafrir

17
General Board / Element ids in a partition
« on: February 09, 2017, 06:51:43 am »
Hi,

Does anybody knows in what table does EA holds the information of what object ids are inside a specific partition?

Thanks.

18
General Board / NType in t_object table
« on: February 07, 2017, 03:35:14 am »
Hi,

I am looking for the start StateNode and end StateNode on my diagrams.
I am seeing that in my Model (for example) the  start StateNode is always 100 and the end StateNode is always 101.
Does anybody know to what table it takes this value from (referring to).

Thanks

19
General Board / API that does a direct update on DB
« on: January 24, 2017, 06:22:49 am »
Is there an API that can do a direct update on data on DB?

20
General Board / RightToLeft char in EA
« on: January 24, 2017, 03:25:43 am »
Hi,

I am saving data to the description property (Notes), but EA as a default put it from LeftToRight.
When entering EA description box and clicking Shift+Ctrl it does move from and RightToLeft and saves it that way.
Does anybody know what character can be added\removed in the AddIn to do it automatically?

Thanks

21
Hi,

I am inserting new elements underneath a package.
Each time the new element is entered in the first position.
Then I can move them in EA up or down to change their order.

1. Does anybody knows where EA holds the sequence number (in DB?) of the position for each moved element?
2. Is there a specific API that I can use to change the sequence from AddIn?

Thanks,
Tzafrir

22
General Board / API for closing or opening a package
« on: January 10, 2017, 08:55:25 pm »
Hi,

Does anybody knows if there is an API that closes a specified package on the model browser tree
and API that opens a specified package on the model browser tree?

Thanks

23
hi,

The problem:
I am creating a report and I need to have 2 values (each from a different query) presented in one fragment

Is it possible to put 2 queries together in one fragment? If yes, can someone give a simple example what the correct way that it should be done because currently I am only able to put one.

Thanks,
Tzafrir

24
General Board / Creating EA APP that connects to AWS
« on: December 05, 2016, 08:21:08 am »
Hi,

Does anyone have some APP example and\or some documentation
how to create an APP the connects and retrieve data from AWS (Amazon Web Services).

Thanks

25
General Board / Location of element description in DB
« on: November 16, 2016, 04:55:59 pm »
Hi,

Does anybody knows where the description part of the element exists on DB?

Thanks,
Tzafrir

26
Hi,
I am trying to add a fragment with SQL query I have created to a template I have also created.

In order to to that I followed the following user guide instructions:
http://www.sparxsystems.com/enterprise_architect_user_guide/11/reporting/adding_fragments_to_a_template.html

or to be more specific:

In the Content panel, at the appropriate point within one of these sections, right-click and select the Insert Template context menu option.
The Select Template dialog displays.

When clicking right click, I am only getting the System Templates and not the one I have created.

Does anybody know how I can see the custom ones?

Thanks


27
General Board / Generating a report for a specific diagram
« on: November 04, 2016, 08:08:20 am »
Hi,
I am trying to generate a report through customize template I have created.
I want to run it on a specific diagram has a unique name (and only on that diagram)

I have notices that you can generate report only to a package, and then it drills down to the diagrams below.

Is there a way to activate a filter (by parameter, or built in mechanism) to find my desired diagram underneath the package?


28
General Board / New border element questions
« on: September 12, 2016, 12:24:29 am »
Hi,
I have created a new border element questions as follows:

EA.DiagramObject diagBorderElement = (EA.DiagramObject)diagram.DiagramObjects.AddNew("l=" + leftPos + ";r=" + rightPos + ";t=" + topPos + ";b=" + bottomPos + ";", "");
diagBorderElement.ElementID=borderElement.ElementID;

It was created fine on the diagram but I have 2 questions about it:
1. How can I change the borderElement color (to Red) for example

2. I have noticed that this element creation, the partitions (swimlanes) in the diagram disappear.
Does anybody know how to create the new element without harming those swimlanes?

29
General Board / Drawing a square on a diagram
« on: August 28, 2016, 03:57:50 pm »
Hi,

I want to draw a square around an element on a diagram.
I have its left, right, top and button positions.

Does anybody know if there is any graphic API that i can use to do this?

Tzafrir

30
General Board / Getting a value from EA.Attribute
« on: August 01, 2016, 05:55:17 am »
Hi,
This is probably pretty simple but I can get the value from EA.Attribute.

I am getting all the attributes in the element (using element.AttributeEx)
Then running on all the attribute I am getting, I am seeing that I am getting the attribute name.

But I cant get the attribute value,
I tries to get a collection EA.Attribute attribute.TaggedValuesEx\TaggedValues and attribute.Notes
None of these is working even though I have values for the attribute in the Model.

Does anybody knows the correct API for this matter?

Pages: 1 [2] 3 4