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

Pages: [1] 2 3
1
you are great :)
that's exactly what I needed
from this rfi I'll read what this language can and comes out with a shapely code
thank you very much...

2
ok

Maybe You know
Is anywhere language reference (definition of language) to VB Script

For now i have to learn these script usign example
I am looking for something like this: https://docs.microsoft.com/en-us/office/vba/api/overview/language-reference
or maybe what kind of script component is used by Sparx. On producent page, I think these langref will be ...

Thanks Piotr

3
Hi

I does my first MDG model, that I use to generate source code,
but for usability I want to connect the script to ribbon
Is possible to add script to custom part of ribbon ?

Piotr

4
You're right
I will follow these rules.
As for the explanation, I have been using EA for 10 years, and before that it happened that when I asked by e-mail I didn't get the answer or the times were long. That's why it turned out this way.
In conclusion, I will write an e-mail, sorry for the confusion.

5
Hi Sparx  :P

If EA does not have such functionality just write that it is not there, then maybe I will use some other solution or I will do it manually

Reply welcome ...

6
Hi Sparx   :P


If EA does not have such functionality just write that it is not there, then maybe I will use some other solution or I will do it manually

Reply welcome ...

7
When I saw that I have a problem with the definition based on enum, I did it in class
And it worked. And it could practically stay that way.
However, because it is an enum, I wanted to do it according to art. Hence my question.
So if you can model an enum then you should also model the item to enum. And you can do it but the method I found is a bit around. It is possible that there is something better on enums so I could use them.

In summary, I know that I could work around the problem using classes, but maybe you can do it without this.

greetings Piotr

8
Have you tried Synch Stereotype from the context of the stereotype in a toolbox?
hm

I found this in documentation - I thing that You write about this

https://www.sparxsystems.com/enterprise_architect_user_guide/15.1/model_domains/synchronizetagsandconstrain.html

It resolve my problems, thanks ...

But, is it possible to write a script that the author himself reviewed the model and applied the changes?
It was enough to call this function as many times as I have defined stereotypes in my metamodel.
So can this function be called from a script? and if so, what it is called
Thanks Piotr



9
Thanks
I looked on Labnaf

It looks like a bigger tool, I definitely need to look at it more closely, because it's worth it.
I will do it on days and look for tag updates

Thank you

10
Hi

I work with metamodel and add many custom properites.
These properties are then downloaded via sqla to code-generating applications.
However, I have a problem with changes in the metamodel
If I change the name of the property or add a new one, then I have to remove and add the stereotype that has this property (in the target diagrams)
After this operation I have new property but all values have been lost.
I could write an update using sql, but
is there any code in the scripting tool built into EA
to do it automatically?
Or do you have any fragments from which you could exit to do such an update automatically?

In scripts I can navigate the package structure,
add tags but snippets of code to start with
would be appreciated.

I was looking in the forum, but I found only the info that such code would be useful, and people now click on such changes manually.
Unless I was looking badly :)

I will be grateful for any tips

Peter

11
Hi

In my meta model I have Entity(dervied from MetaClass Class) and Fields (derived from MetaClass Attribute)
It looks like:

https://drive.google.com/open?id=1F-MpnF9XCtJA5WyQZ0vauIw6xzQQP4di

Is this configuration possible:
that the Field stereotype can be used only within the Entity class attributes?
Such a blockage should probably be combined with a form for selecting stereotypes
https://drive.google.com/open?id=1xlnuWtT1hk9ENQf_W6T_UxV-Mp6v5qph

12
Hi

I made metamodel with package - name BuisnessModule . I have toolbar, can drag from toolbar and all works fine.
I want to simplify working for modeler.
Below Buisness Module  I have diagram BMDiagram, that should be there allways.
Therefore, I want to create it automaticly
My meta model looks like:
https://drive.google.com/open?id=16rXthNo8zXE4bU6uj_X29kSPot0fL-yo

when I use these meta model with _makeComposit= True I get something like this:
https://drive.google.com/open?id=1Ho6kxPb5bP1jf_CNHyYQgq2Mo4s5Wsri


I just want to add the diagram under the package when putting the "Buisness Module" from the toolbar
I suppose you can't use a Package with a composite.
So is it possible to add this sub-diagram automatically somehow? Or do something to make ComponentPackage not change its operating mode?

Have You any idea on it?

Peter




13
Hi

I want to create my own Enum with items. I do this, it works, but with one disadvenatege
Meta model looks like:
https://drive.google.com/open?id=1v3k60ssf3Qk8L7Uilq6l9WxYv75veWZa

I can use this model when I do this steps
1) add item to enum using Featuers/Attribute
2) change on properties page
3) set manually stereoptype "Enum Item"
4) update tags values in "properties" tab

I wanto do drag enum item from toolbar like on this example
https://drive.google.com/open?id=1EZDwByzqZRsxG8tXqYGFGRvas-GdofFg

In same meta model, I have example with class and attribute all works fine when I drag field to class
What I do wrong ?

Best regards, Peter




14
All works fine
thanks very much
this is result for another people ...
https://drive.google.com/file/d/1X2FOqB7hLBJGgOCc-mB1YxcngkSQ79yU/view?usp=sharing



15
Thanks a lot
that's what I needed.

I really thank you, I'm going to implement it  :D

I will let you know the results

Pages: [1] 2 3