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

Pages: 1 [2] 3 4 ... 7
General Board / Question regarding profiles
« on: May 25, 2017, 05:32:38 am »
I have 4 questions regarding profiles:

1. What table holds the profile info.
2. In what table there is data for the all the stereotypes of a certain profile.
3. Can I get the tags of stereotypes somehow?
4. Does a tag have objectId\guid?


General Board / Question regarding uploading a new profile
« on: May 21, 2017, 06:35:23 am »
I have 2 questions regarding the procedure of loading a new profile:

1. Is the command Synchronize Stereotype (available in EA menus) is available somehow through the EA API.

2. If there is a specific tag of a Stereotype in a profile and in the model it has values.
If you rename the tag, and load a new MDG profile.
What I want to do is recognize the old tag, copy its value to the new tag and delete the old tag.
The question is does this recognition can be done?


General Board / Re: Synchronize profile API
« on: March 27, 2017, 06:48:29 am »
1. How do you find all the project's stereotypes
2. Once you found them, how do you find the profile name of each stereotype.
I did not find a table which does that.
3. Repository.CustomCommand does not exist in C#, is this only a VB one?

General Board / Synchronize profile API
« on: March 26, 2017, 04:01:27 am »

Is there a way to synchronize stereotypes from a profile.
In EA there is a command "Synchronize StereoType", I want to activate the same command using my addIn.


General Board / isOpenDiagram API
« on: March 16, 2017, 05:28:40 pm »

Is there an API that returns if a diagram is open on the screen?

General Board / Fit to window option on diagrams
« on: March 07, 2017, 11:06:50 pm »

Does anybody know as API on diagrams that the can be opened with "Fit to Window" option?


General Board / Re: Getting StateFlags from element
« on: March 02, 2017, 11:10:49 pm »
It holds the State of the Object.
I want to read it directly with an API call and not as query from DB.
My question is there an API that retrieves that value.

General Board / Getting StateFlags from element
« on: February 26, 2017, 06:48:43 pm »

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


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

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


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

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


General Board / Re: API that does a direct update on DB
« on: January 25, 2017, 07:21:33 am »
Thanks all,
I need it for the following case:
When entering notes in Hebrew
The API of notes will return the value:
Notes + DB = "מודל ה"
And it put the value Left To Right

When using CtrlShift it does move it to the right and change the DB as follows:
<p align="right" dir="rtl"><span dir="rtl">מודל</span><span dir="rtl">ה</span></p>

Do you think there is other way besides intervention with an update statement to get that result without manual touch?

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?

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

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?


Solved the issue.

But how does TreePos affects the order?
If assigned it does not seems to do anything...

Pages: 1 [2] 3 4 ... 7