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 ... 529 530 [531] 532 533 ... 607
7951
Shape information is only exported if you export the diagram rather than the package as profile. Maybe that is your issue?

q.

7952
Why don't you use Copy/GUID and use Repository.GetElementByGUID(guid)?

q.

7953
It's maybe a status color? Check Tools/Options/Objects/Show status colors

q.

7954
You are better served to ask such a question at StackOverflow (after searching there) since this is not EA related.

q.

7955
Retrieve the diagram with Repository.DiagramByID and get the guid rom there.

q.

7956
Automation Interface, Add-Ins and Tools / Re: Elements instances
« on: March 20, 2014, 11:05:27 pm »
Instances have Object_Type == Object.

Any classified element (usually those are instances; don't know if there are more) has Classifier/_guid as Geert said.

q.

7957
There was a recent post about parsing XML in VBScript posted by Nazim. Use the Search button top left and extend the time to one year.

q.

7958
Try
Code: [Select]
Repository.SQLQuery("SELECT SourceTS, DestTS FROM t_connector WHERE Connector_ID = <id>"
That will return the values you are looking for. I guess the API does not provide them otherwise?!

q.

7959
Try Connector.ClientEnd and SupplierEnd. They hold ConnectorEnd objects each.

q.

7960
Beware of vampires...


q.

7961
I replaced the Format statement above with a simple string and then it worked.

q.

7962
I doubt that the supplied package guid really exist. Try to replace it with a real package guid obtained by context menu: copy reference/guid.

q.

7963
Nizam spotted the missing statements in minna's code...

q.

7964
You maybe need to call Repository.RefreshModelView (long PackageID) to see the update in the browser.


q.

7965
Maybe you forgot to save the diagram before running your script.

q.

Pages: 1 ... 529 530 [531] 532 533 ... 607