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

Pages: [1] 2 3
1
That's perfect for me and so simple.
I did not know this capability...

Thank you Geert  !

Eric

2
Thx Geert but what is a template package in this context ?

I started setting dataex and pdata attributes with no success (showForeign=0" doesn't work)  then some posts led me to API and scripts...

What would be the recipe through these template package ?!
 :o

Eric

3
Hello all,

I am stucked with the inability to automatically unset 'Show Namespace' option at creation of custom sequence diagrams .

APi seems to provide a RW attribute (HighlightImports) to set it off but how to assign a script running this job whenever user create a new sd ?

Thank you

Eric

4

Thank you Valery  for pointing me this source !
 ;)

5
Bugs and Issues / Re: Can't set Show Namespace in Profile
« on: January 08, 2025, 11:42:57 am »
Is the command still not effective ?

In its latest version, doc (https://sparxsystems.com/enterprise_architect_user_guide/17.0/modeling_frameworks/custom_diagram_types.html)

still refers to this syntax :

Code: [Select]
showForeign: string = 1
in step 5 in order to hide namespace

?!?!

Eric

6
Hi Takeshi,

Without doc, I have no clue how you can determine the keyword (here 'SuppressFOC') just by comparing an option-enabled release and an option-disabled's one  :-\

Does EA provides means or do we require a DB inspection ?!

Thx for your help !

Eric

7
That works. Thank you Takeshi ! 

I understand that User Guide 'MDG Technologies' is not the only guide to read as it never refers to 'SuppressFOC'   :o

Where this 'SuppressFOC=1' documented ?

Eric
 



9
Hello all,

In my MDG metamodel, I'm adding up a sequence diagram to my <<diagram profile>>.
Is there a way to configure it without activations bars by default ? I don't spot any related parameter (in styleex and pdata) for the Diagram_Sequence metaclass. Weird ?!

Thx you and best wishes for 2025 !

Eric

10
Geert,

I just discovered your precision. Thank you !!

Any info or example how to use classifier with shapescript would enlight me.

BTW, Happy new year !

Eric

11
Thx Takeshi ! showlabel is documented into https://sparxsystems.com/enterprise_architect_user_guide/16.0/modeling_frameworks/drawing_methods.html

That's exactly infos I was looking for to better control shape edition.

Meanwhile, I just found :
Quote
shape middlebottomlabel{}

in qwerty's book !
 :)

12
Hi,
With MDG, I set up in my toolbox a stereotype of Association metaclass called ""Is Associated To".
That works fine but.. as it is default connector and I have many of these in my diagrams, I'd like to lighten it by hiding stereotype label.

In shape script editor for my new stereotype, I tried

Code: [Select]
shape main
{
    print("");
}
that hides the line and not the label. And :

Code: [Select]
shape main
{
    moveto(0,0);
    lineto(100,100);
    print("");
}

that brings back a no more clickable line !?!?

Does someone has any clue to control connector label or where to look for ? Thank you !

Eric

13
OK, It requires an add-in setup. It's another step for me.
but I'll throw a look into Geert's work.

Thx for all, qwerty !

Eric

14
Quote
The attributes are only available via the classifier (which you have ro set manually)

Too bad...

And what about a code sequence being fired when TB element is dropped to diagram ? Is that possible ?


Eric

15
Yes,qwerty I configured it that way (as an object stereotype in my TB as Eve recently recommended me), but then...how can I access attributes of the metaclass and, even better, values of theses attributes that have been defined so far?

For example:
  for:   Committee.name='Steering committee'
 
  being able to get:  Committee instance.name =:Steering committee
by selecting in a listbox among all existing names

  instead of simply getting :  :Committee Instance

In metamodel, what should be the relation type between  Committee stereotype that extend Actor metaclass and Committee Instance stereotype that extend Object metaclass  to make Committee element attributes, TV accessible to Committee Instance element ?

 :-\

Eric

Pages: [1] 2 3