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 - KP

Pages: 1 ... 151 152 [153] 154 155 ... 169
Automation Interface, Add-Ins and Tools / Re: Custom Toolbox
« on: March 11, 2011, 09:40:08 am »
It looks like you are treating your toolbox profile as a normal profile. Did you import it in the Resources tree? If so, delete it from there and create an MDG Technology using the Technology Wizard (Main Menu > Tools > Generate MDG Technology File). When you get to the "Contents" page of the Wizard, tick the "Toolboxes" option and clear all the rest. Once you have created your technology, you will need to enable it: Main Manu > Settings > MDG Technologies > Advanced > Add > Add Path, and restart EA. There's more info in the help file.


First thought is that you need to set the connector's ClientID and SupplierID before calling Update. If that isn't the problem, could you show us your code please?

shape main {
      if (HasProperty(
            setpencolor(255, 0, 0);
      if (HasProperty(
            setpencolor(255, 0, 0);
This shape script also manages to confuse EA 9.0, so yes please send in a bug report...

This has been fixed for EA 9.0 (release date unknown).

Should I assume that each EA.Element object with "Subtype" with the value of "19" is an Hyperlink?
Also check Element.Type is "Text"

I think you've missed a semi-colon...

diagram.StyleEx = "ShowNotes=1[highlight];[/highlight]";

Currently not possible. The closest you can get is to write a model validation add-in that will validate your model after you have created it.

Automation Interface, Add-Ins and Tools / Re: Profile - Custom dialog box
« on: December 29, 2010, 10:22:23 am »
You may be able to do something in response to the EA_OnContextItemDoubleClicked event.

Will be in the next release (assuming it gets through code review!)


Automation Interface, Add-Ins and Tools / Re: scripting
« on: December 17, 2010, 11:17:41 am »
EA allows Dim ... as when using EA types, for example

Code: [Select]
Dim MyElement as EA.ElementThis allows you to use intellisense in the editor. However trying the same thing with a non-EA type will cause an error, for the reason that Geert gave.

Your shape script will need to look something like this:
Code: [Select]
decoration star
    // insert drawing code here...

There is no emf file. You can add decorations to elements though: search the help file for "shape scripts".

Try this:
Code: [Select]
MyToolboxName::MyAssociation(UML::[highlight]AssociationElement[/highlight])For a full list of elements that can be included in toolbox profiles, see this page in the help file.

Pages: 1 ... 151 152 [153] 154 155 ... 169