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 ... 8
1
General Board / Reading data from imported MDG
« on: October 30, 2018, 07:34:24 am »
Hi,

I imported MDG which included a customized dependency relation between stereotype A to stereotype B.
Now I want to get to that information (this dependency) when running the addin on the Model.
Is there an API that can read data from the MDG?
I did not find this data in the DB. Does anybody knows where it is kept?

Thanks,
Tzafrir


2
General Board / Re: Connecting 2 elements with dependency connector
« on: October 24, 2018, 06:50:41 pm »
thanks

3
General Board / Connecting 2 elements with dependency connector
« on: October 24, 2018, 05:39:46 pm »
Hi,

I am trying to connect 2 elements with dependency connector.
All I see is that there is a getter for the connector the element has.

Does it have a setter as well?
if so which API does that?

Thanks,
Tzafrir

4
General Board / Stereotypes data
« on: October 16, 2018, 04:51:18 pm »
Hi,
Does anyone knows where EA holds Stereotype data
of stereotypes in the profiles which are imported using MDG.

(I looked at t_Stereotypes table and it does not seems to hold them)

Thanks

5
Was already there before posting this post!

http://www.sparxsystems.com/enterprise_architect_user_guide/13.5/automation/add-in_license_management_even.html

Let me be more precises,
My questions are:
1. Where is the 'License Management' dialog located
2. What is the Sparx Systems Keystore?

hope i will manage from there... can you assist with that?



6
Hi,

I want to have fixed license keys control over my addin.
I triedto use the following methods:
EA_AddinLicenseGetDescription and EA_AddinLicenseValidate.

I put basic implementation of these events in my AddIn
i.e.
returning bool false - for EA_AddinLicenseValidate
returning string "Sample" - for  EA_AddinLicenseGetDescription
But nothing happends

Can someone who used this mechanism provide some sample how those events be activated?

Thanks

7
General Board / Re: Creating\Updating RunState attribute
« on: February 01, 2018, 08:46:30 pm »
thanks

8
General Board / Creating\Updating RunState attribute
« on: February 01, 2018, 08:04:58 pm »
Hi,

I need to create\update some runstate attributes of element.
element.RunState returns the getter of the current element's runstates.

Is there an API that updates it (setter).
I am trying to avoid using direct update on the DB.

Thanks

9
General Board / Re: Simulate save (ctrl s) in Addin
« on: January 01, 2018, 07:29:12 pm »
Yes,
Tried the refresh APIs, none of the worked.

Missed that one  ;)

10
General Board / Simulate save (ctrl s) in Addin
« on: January 01, 2018, 06:04:06 pm »
Hi,

Is there an API that simulates save (ctrl s) for example diagram saving,
that I can call during a run of Addin?
(for example will save the diagram in case not saved and then start the APP)


11
General Board / Re: Update a state of an element
« on: December 10, 2017, 06:00:22 pm »
Thanks,
The issue was with the element.Update() it deleted the value.

You are right,
mixing is problematic but the problem is that there is no element attribute to StateFlags column.

 

12
General Board / Update a state of an element
« on: December 07, 2017, 05:13:10 pm »
Hi,

I want to update a state of an element with some value.
I did not find any attribute on the element that holds that can be set.

I tried to use the query:
update t_object set StateFlags = 'SomeStateValue' where object_id = ElementID
and then:
repository.Execute(sql);
element.Update();

This did not update it as well.

Does someone know how can it be updated?

Thanks.

13
General Board / Re: Swimlines attribute
« on: November 06, 2017, 02:18:00 am »
Thanks,
The did the job.

One small question,
Can this partition line be somehow thicker (meaning does EA gives any field that sets the thickness of the vertical\horzontal partition line?).
The reason I am asking is, I need it for presentation purposes and it is kind of hard to see.

14
General Board / Re: Swimlines attribute
« on: October 28, 2017, 12:02:12 am »
Thanks,

I see it is a readonly variable, changing it on EA, does not change the value of PDATA1 or PDATA2.
Is there anyway those values can be changed? I need to increment them and decrement them in my Addin.

15
General Board / Re: Swimlines attribute
« on: October 27, 2017, 06:13:29 pm »
Thanks,

In which table? or it is some sort of API?

Pages: [1] 2 3 ... 8