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

Pages: [1]
1
Then you must have generated the toolbox profile from a directory package instead of the diagrams. Or, the toolbox page is NOT present in both toolbox profile diagrams before generating the toolbox profiles. (I use this method all the time and know for a fact that it works.)

FTFY.
Oh, I overlooked the option to save individual diagrams as profiles, thought it is only applicable to packages. This makes sense, thank you.

2

  • In order to share a common page definition between two diagram types you need to have this common page definition extend the ToolboxPage meta classes in both profiles! The common page can be located in one of the toolbox page packages, it does not matter which. But it should be visible in the diagrams of both toolbox pages.

No, doesn't work. Page only displayed in one toolbox associated with profile where this page is located.

3
Automation Interface, Add-Ins and Tools / Model Template
« on: January 16, 2017, 07:36:13 am »
How do I package model templates with MDG Technology file? When technology is imported, the file is copied to the APPDATA, but the template doesn't, and I have no control over its location on the users computer.

4
I have two types of diagrams and want to have overlapping of tools available for them - some tools applicable for both diagrams, some are specific for one or another.
 
1) I have created toolbox profile using helper and added two custom toolboxes with different pages, and referenced each toolbox from the corresponding diagram stereotype. However, all items from both toolboxes are displayed for each diagram.
2) If I create two different profiles, apparently I have to duplicate common pages in both.

What is the point of having multiple toolboxes in one profile, and why do I need to specify toolbox profile and toolbox name (profile::name) in my diagrams, if effectively only profile is used?

5
Suggestions and Requests / Re: Parameters for subversion command
« on: October 19, 2011, 09:41:53 pm »
Same problem here. Also, if there are svn hooks installed to validate version comments etc, feedback or error messages are not delivered to the user, EA just freezes.

6
Automation Interface, Add-Ins and Tools / Re: How to set a stereotype?
« on: October 01, 2011, 01:16:26 am »
Tried it. Also tried to specify stereotype GUID instead of name. It just treats it as string. Looks like a gap.

7
Automation Interface, Add-Ins and Tools / How to set a stereotype?
« on: September 30, 2011, 10:18:04 pm »
Hi,

        Attribute attr = parent.GetAttributes().AddNew(name, type);
        attr.SetStereotype("My Attribute");
        attr.Update();

works, and "My Attribute" is displayed on the class, but it is not linked in any way to the "My Attribute" stereotype defined in my UML Profile. I still have to manually update stereotype for every attribute imported. Is there any way to set specific stereotype through the API? Also, is there a way to invoke tagged value synchronization for the stereotypes defined in the UML profile?

8
Automation Interface, Add-Ins and Tools / Re: Memo tagged values
« on: September 28, 2011, 06:10:40 pm »
Yes. Another trick was that once taggedValue.Update() fails, apparently it can't be updated second time. I have to add new value to collection and put notes to it.

9
Automation Interface, Add-Ins and Tools / Memo tagged values
« on: September 28, 2011, 01:49:21 am »
Hi,

I'm trying to update a tagged value of "memo" type with some 300 bytes through automation interface, but get error

"DAO.Field [3163]

The field is too small to accept the amount of data you attempted to add.  Try inserting or pasting less data."

Therefore, 2 questions:
1) What is the maximum size of a tagged value?
2) Is it possible to access "memo" tagged values through API?

Pages: [1]