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

Pages: [1] 2
1
Thanks for the tip...will play around ;)

Update: thanks again...me not running the update solved the problem

2
curious...if I do actually use the rep.execute method, should I still run a refresh on the old and new class? I am checking the data in the actual underlying tables, and actually don't see anything that would actually need refreshing.

UPDATE...I ran a test, and debugged. My actual hardcoded update statement did work, and then ran an update(),  and the Object_ID for the row in t_attribute flipped back to the original class.

Weird, or am I not getting it?

E

3
good to know...I will see if that is possible.

Thanks

4
Thanks...I was afraid of that.

Unfortunately, I do not have update rights in the actual DB itself, so don't think I could run an update SQL statement, I believe.

Thanks for the quick answers.

Eric

5
Hi all,

Trying to automate (in vbscript) the movement of attributes from one Class to another.

On checking, I have found threads that say to just update the ParentID of the element to the new parent and refresh both the old and new parent.
Unfortunately, I am getting the error which says that I "Can't assign to read-only property".

Any clues?

TIA...Eric

6
Thanks to you all (Geert), this has been fixed.

Whoever is the admin for our back end repository did not run the script in question. Once I got in touch with th right person, the insert statements were run, and the full list now show up ;)

Eric

7
Thanks for the hint...I don't have access, but I will see if I can talk to our dev team, who does have that permission.

8
Thanks Paolo for the suggestion.

We do use MDG, but I had loaded it in my local model, just to be sure (the MDG tech we have set up adds search views and custom tags). It did not change the dropdown on t_connectortypes.

Eric

9
OK...after some googling, the values I have listed above match what is in the "t_connectortypes" table.

Can anyone tell me exactly how that is populated? If I create a local model, it has the full list, compared to the cut down list on our shared repo model.

TIA...Eric

10
Greetings...this may be a simple question for someone.

I'm in a UML Class diagram, and create a "Composition" relation between two classes.
I then right click on the relationship, select "Advanced" -->"Change Type" and my drop down "Select Connector Type is limited to this:
Abstraction
CommunicationPath
Extension
Information Flow
Substitution
Template Binding
Usage


This is on a shared model, in a repository.

If I do the same operation in a Class diagram on a local model, the list includes many more connector types (and includes the one I need, which is "association".

Can someone point me to what may be causing this? Comparing to the two models, I do not see and differences within the preferences (I'm sure there is, just can't see it yet).

This is on 17.0.1704

Thanks in advance...

Eric

11
Thanks all...great news.

Of course, I asked the question prior to running it through my SQL  tool; assumed that the output via the search, I ran exact SQL that Sunshine mentioned. I mean, why would anything on the result set change (joking).

Eric

12
Hi all...we're thinking of implementing a simple ("?") MDG to add some extensions to elements.

In my testing, I noticed that when I create a class based on the metaclass in the MDG, it's object type on t_objects changed to the stereotype name used.

Is there any way to query t_objects, joining to some other table, which can give me the base class that the object type is an extension of? Searched almost every table, and didn't find anything.

Thanks in advance...Eric

13
ty

14
ty...so the only way is through Right click->Specialize->"Custom whatever I want"

Not Right Click->"Custom whatever I want"

Saw that, was just wondering why "specialize" necessary. Shouldn't be a problem, though, as long as I document it ;)

E

15
Hi all,

Just starting to read up on add-ins concepts; receptors, events, etc. etc.

There seems to be a "EA_OnContextItemDoubleClicked"...awesome. But can't seem to find an equivalent that would be called (hopefully):
"EA_OnContextItemRightClicked"

No such beast?

TIA...Eric

Pages: [1] 2