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 ... 527 528 [529] 530 531 ... 640
7921
Automation Interface, Add-Ins and Tools / Re: Element sub-compartments
« on: November 13, 2014, 08:54:27 pm »
You're talking about shape script, aren't you?

q.

7922
Automation Interface, Add-Ins and Tools / Re: AddIn on shapescript...
« on: December 12, 2014, 11:42:13 pm »
Thanks for sharing :-)

q.

7923
Automation Interface, Add-Ins and Tools / Re: AddIn on shapescript...
« on: December 12, 2014, 11:13:58 pm »
IIRC the methods receives a string collection (means you can use GetAt) and returns a string. So basically Uffe is right.

q.

7924
No real idea, but try starting with a complete empty EAP with all MDGs/add-ins turned off. Then start turning them on one by one.

q.

7925
I tried above example and I get the name, not the guid. (V11)

q.

7926
Automation Interface, Add-Ins and Tools / Re: Export Diagram to Visio?
« on: December 11, 2014, 08:10:21 am »
If Visio could read XMI then yes. Else you need to export the image.

q.

7927
I guess it should (have not test with Gantt). But if your add-in reacts to other dbl-clicks then you should send a bug report.

q.

7928
IIRC Stefan Bolleininger has published his merge script here a while ago.

q.

7929
Try Repository.RefreshModelView (packageID)

if PackageID == 0 it will reload the entire model.

q.

7930
Either you do that with a client of your choice or you use Repository.Execute("INSERT...") to do that. Note that though this method is not documented it works and will (most likely) still work in future EA releases.

q.

7931
Automation Interface, Add-Ins and Tools / Re: Repository.Execute in VBA
« on: December 05, 2014, 06:35:42 am »
It shouldn't be an issue. I used it from Perl without any issue. So VB should recognize it as well. The auto-completion would not work. Maybe VB just stops working when encountering such methods. How about  Repository.CustomCommand?

q.

7932
You should send a bug report. Meanwhile you need to dbl-click in the project browser to achieve what you want.

q.

7933
I guess you can't do that. Unless you read the MDG, interpret it, and build the structure based on that. You could probably ask for a new feature. Can you hold your breath for a couple of years?

q.

7934
Right that. Luckily there is this escape we can use where the API fails.

q.

7935
My bad: it's Repository.Get... and returns the predefined value list.

You may alternatively try Repository.SQLQuery("SELECT cardinality FROM t_object WHERE Object_ID = <id>")

q.

Pages: 1 ... 527 528 [529] 530 531 ... 640