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

Pages: 1 ... 530 531 [532] 533 534 ... 594
7966
Right out of mind Ports are listed in the Element.Elements collection of the containing class and Interfaces as well in the Port.

q.

P.S. There is an issue (still? I guess) with the position of a port inside a class. This has been introduced with 10.0. Not sure if that is fixed.

7967
Sparx' definition of consistency is obviously different to that of many users posting here. As Geert said: if you're using the API then YOU are responsible. That goes for quite some other use cases too - even worse.
q.

7968
I'm using the current build and had no problem with above code. I assigned seq. 12 and that was a) reflected in t_diagramobjects and b) displayed correctly on the diagram.

q.

7969
The Feature Visibility/Hide Stereotypes obviously does not work.No idea whether that is a bug. Probably you are the first ever trying that feature.

q.

7970
Automation Interface, Add-Ins and Tools / Re: language data type conversion
« on: November 20, 2013, 06:32:43 am »
Just from the stomach my feeling is that transformation was designed for the forward process, not for re-engineering. So the answer is most likely: not possible unless you use some add-in.

q.

7971
The location of an element in a diagram is found in its diagramObject.

Custom properties can be added via taggedValues.

q.

7972
Might be connected to a broken placement of embedded elements in V10 which worked in 9.3. I have reported this a while ago after one reader of my Scripting book noticed that the example did not work in V10.

You should report this as a bug. That might shorten the time to fix...

q.

P.S. The final Diagram.Update is superfluous.

7973
Automation Interface, Add-Ins and Tools / Re: package.update() exception
« on: November 19, 2013, 10:23:12 am »
How does your update code look like? Is it GetPackageByGuid / edit / Update? If so, have you checked the Get returns a valid object?

q.

7974
Try
Code: [Select]
Repository.SQLQuery ("SELECT * FROM t_object as o1, t_object as o2 WHERE o1.object_type = "Port" AND o2.object_type = "Interface" AND o1.PDATA1 = o2.ea_guid AND o2.object_id = <theid>")where <theid> is the ObjectID of the interface.

q.

7975
The Update actually stores the object in the database. The Refresh is only needed if you want to iterate the collection. Else it is not needed.

Regarding synch of TVs with MDG: pre 10.0? This has changed in the last version.

q.

7976
Which EA version do you use?

q.

7977
Correct. In some cases the Description also contains one ore more GUIDs. But the ClientID is the main element reference.

q.

7978
Yes. That's what they do.
Too fast. That's the primary key. The referencing GUID is hidden somewhere in another column. (I'm off-site.)

q.

7979
t_xref links a lot of data and one of them are stereotypes. The link is accomplished via GUIDs. It's not so simple. So I can't post all the stuff here. But as I found it out and you have the right approach you should be able to figure it out too.

q.

7980
The grouping is something EA does on the fly. Whether a stereotype is related to a MDG is stored in t_xref. I wrote a bit about that in my Inside book. It's only a part of the whole truth, but maybe it will help you further.

q.

Pages: 1 ... 530 531 [532] 533 534 ... 594