Book a Demo

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 4
1
Thx Jo. I will have a look on AddIn approach. Seems promissing
 ;)

2
Thank you MichPaule.

What do you mean by "scriptlet" compared to VBscript, Jscript or JS scripts ?  ???



3
Hello everyone,

Is there any possibility to achieve the following goal:

1. Three classes A, B, and C
2. Define an oriented relationship with let's say a "Percentage" tag value) where
A -> C at 40% and B -> C at 20%.
3. These settings would make a C tag value updated or C shape changed, based on an arithmetic computation for instance.

Could this process be possible in EA ?
Thx for your advices.

Eric

4
That's perfect for me and so simple.
I did not know this capability...

Thank you Geert  !

Eric

5
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

6
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

7

Thank you Valery  for pointing me this source !
 ;)

8
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

9
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

10
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
 



12
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

13
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

14
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 !
 :)

15
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

Pages: [1] 2 3 4