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 ... 622
7951
It must be connected manually before you can use the VC API methods. You "can" do that also programmatically but it is cumbersome (and I would not see the point to do that config via automation).

q.

7952
Ah. Right. Since the new versions the tags are created on the fly. In former versions they were only created along with the element. So unless you downgrade to some (I guess) pre 8 release you won't be lucky then.

q.

7953
That should be feasible. You need to catch the OnPostNewElement event and modify the stereotype. I remember having done something along those lines but my memory is lost in the fogs of the past.

q.

7954
Well, the stereotype is what triggers all that wizardry. You can not leave it empty.

q-

7955
This is simply not possible. TVs are created along with an element creation.

q.

7956
Automation Interface, Add-Ins and Tools / Re: Import Images to EA
« on: August 01, 2014, 08:04:50 pm »
You can create an XML file and use the import reference data. Or you can fiddle around with the table t_image directly. Since the import reference data (still?) has its flaws regarding the reference number I would recommend to put images in t_image directly.

q.

7957
It should be a bit easier when using sub-shapes but that's just a marginal difference. IIRC there's a sample script in the help which looks a bit like a bar graph.

q.

7958
You can also find that info on page 14 of my Inside book.

q.

7959
Maybe via copy/paste. I don't know if Windoze offers a method to mimic a  copy operation so you could inspect the paste buffer.

q.

7960
Thanks for verifying that, Simon. I just wrote those lines out of my head without verification :-[

q.

7961
Code: [Select]
Element.ParentID = Package.PackageID // Package is the new parent
Element.Update()
q.

7962
Altering the MDG does not change the existing TVs for elements created from the MDG. If you Synch the element/MDG EA will add missing TVs but it will not remove existing ones. If you want that you need to do it either manually or by using a script.

q.

7963
I (AFAIR) reported that as a bug quite a while ago. So thanks for posting the solution. I won't call it workaround. It's like what Geert said. You can't wait for an official solution. So you have to build your own.

q.

7964
Automation Interface, Add-Ins and Tools / Re: Add-in Error
« on: July 14, 2014, 06:09:05 pm »
This just tells you: "You made an error. Good luck in hunting for it. Your Sparx developer team."

Honestly, I hate it. There's nothing one could do to help you except crossing fingers.

q.

7965
Well, the diagram filters are some EA functionally which (AFAIK) is not available from the APi. Setting an element invisible in the "normal" API context is that you remove it from the diagram. If you want to dynamically hide and show elements you need some external storage where you keep the original elements/positions.

Alternatively you could ask for an extension of the API.

q.

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