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

Pages: [1]
1
Great, thanks a lot!
 :)
Olivier

2
Hi all,
I did a shape script for an extended element based on a class metatype (see below) and I have an overlap between the decoration (upper right position) and the name of the element depending of the lenght of the text.
Any idea to solve this issue?
Thanks a lot!
"
decoration Etape
{
 orientation="NE";
 image("Etape.png",0,0,100,100);
}

shape main
{
h_align = "center";
v_align = "center";
editablefield = "name";
roundrect(0, 0, 100, 100,10,10);
println("#name#");
   
} "

4
Sorry, just hidden in the project browser

5
Hi all,
I've created my own MDG Techno and I'd like to add hidden graphical elements in the project browser?
What kind of metatype should I use for that?
Thanks
Olivier

6
Hi all,

My MDG Techno includes scripts and I'd like to hide the source code of these scripts?
Do you have any idea?

Thanks,
Olivier

7
General Board / Re: GetRelationSet ?
« on: March 24, 2016, 12:44:05 am »
Ok, I did it.
Thanks for your response  :)

Olivier

8
General Board / GetRelationSet ?
« on: March 19, 2016, 01:54:56 am »
Hi all,

I would like to get the list of parent packages of a element and I use the "GetRelationSet" method of the "Element class" with "rsParents" but it doesn't work.
The string returned is always empty. :(
Any idea ?

Thanks a lot
Olivier

dim elementParents as string
dim currentElement as EA.Element
....
elementParents = currentElement.GetRelationSet(rsParents)

9
ok, thanks.

Best regards,
Olivier

10
Thanks for your response, but the function "Bookmark item ..." is not available on the result. Even if I select one or several items in the result list, I can't change the bookmarks.

???

11
Hi all,

I wrote a Model search sript (Javascript) for requesting the dependencies elements of the current selected element in the Project Browser.
The script runs well but the "bookmark item ..." function is unavailable on the results list in the Model Search View.

What kind of information do I need to add for each row to allow "bookmark item ..." ? I already added the element GUID.

Thanks

Olivier

12
Thanks for your help.

It works  :)
See below my shape script.

Olivier
______________________________________________

shape main{
      RoundRect(0,0,100,100,8,8);
      addsubshape("namecompartment", 100, 100);
      shape namecompartment
      {
         h_align = "center";
         editablefield = "name";
         println("#name#");
      }
}
decoration Activity{
 orientation="NE";
 image("activity.png",0,0,100,100);
}
________________________________

13
Hi all,

I would like to have a stereotype icon for any "stereotype" element in my MDG techno but I don't know what I have to do.
I found the solution to set a toolbox icon (by using a toolbox profile) and a project browser icon but not for a diagram.

If I set the stereotype of a class to "Change", the icon stereotype of a "Change" is displayed in the diagram, in the right top corner of the class.

I'd like to have the same feature for any stereotype element of my MDG.

Thanks a lot for your responses

Olivier

Pages: [1]