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 ... 598 599 [600] 601 602 ... 616
8986
Maybe it should. But AFAIR it is not possible.

q.

8987
That's the way EA is doing it. You would need to submit a feature request.

q.

8988
Thanks Roy. But it was not clear to me what the "default technology" means until Neil described this above. So that was missing in the help (especially in the Manage MDG Technologies section).

q.

8989
Thanks Neil. I guess it would be a good idea if Roy could add a sentence in the help file.

q.

8990
Hmm. Not much more light. Can someone from Sparx please help?

q.

8991
Automation Interface, Add-Ins and Tools / Activating MDG vs. enabling
« on: April 06, 2012, 12:07:47 am »
Can anyone explain what Activating a MDG actually means. Once enabled the technology is visible an (I'd say) active. So what does Activating put on top of enabling (except for the asterisk in the list)?

q.

8992
Guess so. The Update tells EA to write the object to the DB. Then the UPDATE will replace the border column. Remember: be careful with the Execute function. With the next release of EA it might no longer work as expected. Not very likely, but possible.

q.

8993
There's always the unsupported way to call
Code: [Select]
Repository.Execute ("UPDATE t_diagram SET ShowBorder = <whatever> WHERE Diagram_ID = <id>")Keep in mind that this is a) an unsupported function and b) it might not directly effect the GUI but only after a restart of EA. But probably worth a try.

q.

8994
repository.SQLquery ("SELECT * FROM t_object WHERE object_id = " + note.ElementID)

will return a XML formatted query result of the according note element. You need to inspect the mentioned columns.

q.

8995
t_object.PDATA1 = feature name, .PDATA2 = Object_ID, .PDATA3 = linked feature elemen

q.

8996
EA is unique in its whole, not only in its interface.

q.

8997
There's a OnContext... method telling element changes. The shape script now can invoke add-in scripts. Maybe both together can do what you want. However, at least it will be difficult. If not impossible.

q.

8998
Automation Interface, Add-Ins and Tools / Re: MDG Technologies
« on: April 04, 2012, 09:07:09 pm »
Sorry, I'm no Cxx guru. But try EA.Method  (or what it is called) since that is what you get - the EA object for a method.

q.

8999
Automation Interface, Add-Ins and Tools / Re: MDG Technologies
« on: April 04, 2012, 07:59:53 pm »
OnPost passes the object. So you find it at parm2.MethodID. (N.B. I have used connector and element where it is that way so I guess method is alike.)

The OnPre instead gives you a collection with key/value pairs where you can find it.

q.

9000
Automation Interface, Add-Ins and Tools / Re: MDG Technologies
« on: April 04, 2012, 03:08:52 am »
The only other way is to catch one of the OnPost events triggered by EA and react accordingly.

q.

Pages: 1 ... 598 599 [600] 601 602 ... 616