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 ... 533 534 [535] 536 537 ... 647
8011
If I wouldn't know better I'd say the easter bunny comes from Australia.

q.

8012
The methods is Repository.Execute. It is hidden and you will have no auto-completion in your IDE. But it works.

q.

8013
Try the following:
Code: [Select]
Repository.Execute("UPDATE t_object SET Object_Type = 'Action' WHERE Object_Type = 'Activity'")Just place it in a VB script and it will convert all Activities into Actions. [highlight]Beware[/highlight]: This might break your model if handled not wisely. [highlight]Backup before use![/highlight]

q.

8014
Automation Interface, Add-Ins and Tools / Re: Problem using VB Script
« on: December 17, 2014, 10:04:40 am »
I inserted that in a 3-liner and it worked with on issue. So it's likely some follow-up error you see. Try commenting parts and see when it vanishes/comes up again.

q.

8015
Automation Interface, Add-Ins and Tools / Re: Adding conveyedItems
« on: December 16, 2014, 11:26:55 pm »
It appears that (EAUI) here you don't get a result object for a update but the AddNew adds the conveyed item directly. :P Just omit the Update.

q.

8016
See here: http://stackoverflow.com/questions/27098059/get-an-escaped-multi-syntax-sql-update-string
Hope that explains where you're stuck. In deep ...

q.

8017
Geert asked a similar question on SO. The answer: you need to care for that yourself  :(

q.

8018
To access the composite diagram you need EAElement.CompositeDiagram

To iterate to the elements in a diagram use EADiagram.DiagramObjects. The returned collection of diagram objects will allow to access the EAElement via Repository.GetElementByID. Note that you will also find Notes, Boundaries and other stuff you might need to ignore.

q.

8019
I don't see where the problem is :-?

Can't you find the composite diagram or do you have trouble iterating its elements?

q.

8020
Automation Interface, Add-Ins and Tools / Re: Element sub-compartments
« on: December 14, 2014, 01:47:27 am »
How do you want to modify them?

q.

8021
Automation Interface, Add-Ins and Tools / Re: Element sub-compartments
« on: December 11, 2014, 08:44:31 pm »
The diagram properties offers a couple of options and the context menu Feature Visibility. Else you would need to go the Shape Script path.

q.

8022
Automation Interface, Add-Ins and Tools / Re: Element sub-compartments
« on: November 17, 2014, 05:37:19 pm »
Good point, Nabil. Seems this was already implemented in 9.3. Has passed my attention.

q.

8023
Automation Interface, Add-Ins and Tools / Re: Element sub-compartments
« on: November 14, 2014, 11:04:13 am »
Quote
Oh, actuall Q.
Its there anyway I can change the appearance of the default attributes compartment?
I tried defining a shape script for my attribute stereotype, but it seemed to make no difference.
To my knowledge there is no way to react to stereotyped attributes in a shape script. Except (as indicated) maybe with the add-in escape. But even that will likely not allow very much in the direction you'd like it to be, I guess. Shape Script IS limited. See one of the recent suggestions post. Maybe you should join there.

q.

8024
Automation Interface, Add-Ins and Tools / Re: Element sub-compartments
« on: November 14, 2014, 11:00:56 am »
Yes, but it does not touch the attr/oper compartments in any way. They are rendered independently.

q.

8025
Automation Interface, Add-Ins and Tools / Re: Element sub-compartments
« on: November 14, 2014, 07:41:42 am »
In that case I have to confirm your above observation  :-/

Maybe you can create something using the add-in escape?

q.

Pages: 1 ... 533 534 [535] 536 537 ... 647