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

Pages: [1] 2
1
Automation Interface, Add-Ins and Tools / Connector Validation
« on: April 25, 2017, 08:48:55 pm »
I have written a custom plugin to validate connectors in archimate models in a package.  I've used the validation framework and it works great if I want to validate an entire package.

I am having a hard time trying to extend this to validate the elements on a diagram or a selected item.  It looks like you used to be able to validate at the diagram level but I am not sure it still exists.

I've used the sample C# validation code but am unclear how to enable validation at the diagram or element level.

Has anyone done this at all?

Many thanks,
Neil

2
Automation Interface, Add-Ins and Tools / Odd QuickLink Issue
« on: October 27, 2016, 08:44:58 pm »
I am trying to use quicklinks in my MDG package and everything is looking good aside from one issue.

I have a connector that is an Aggregation.  When I create it from the tool box it is created properly and the arrowhead is where it should be.  This is due to a property (aggregation) in the connector being set to "shared".  When I create one using the quicklinks it has no arrow and the property is set to "none".

I have used the ArchiMate3 diagrams and they all work both from the toolbox and from the quicklinks, so this must be possible.  How do I do it?

Thanks in advance.
Neil

3
Bugs and Issues / Re: Icon Transparency
« on: October 13, 2016, 12:57:07 am »
The thing is, I have transparency working on the canvas.  It didn't work until 13 was realeased but now the images are transparent on the canvas, they look great.

Unfortunately, when printed or exported in any other way they are not transparent.  It is an odd one and rather frustrating.

I've raised a ticket and will share the response.

4
Bugs and Issues / Re: Icon Transparency
« on: October 12, 2016, 09:08:47 pm »
Hi Geert,

I've tried that and I now get a grey box on the canvas and everywhere else.

I am trying to add this icon to a shape using shapescript and I am using the icon from the image library.  Is that where I am going wrong?

I have my icon in the image library in the MDG, in shapescript I put the icon into the shape and then I deploy the MDG to my project.

I set the background to be R 192, G 192, B 192 in photoshop.

Which bit am I doing wrong?

Thanks very much for your help, I've found many of your posts helpful.
Neil

5
Bugs and Issues / Icon Transparency
« on: October 12, 2016, 08:12:56 pm »
I am trying to put a custom icon onto a stereotype defined in an MDG package.  On the canvas the icon looks as expected but in the toolbox, project explorer, PDF output, printing, the transparent area is BLACK.

I set the transparency using photoshop.  I've seen suggestions that maybe EA uses a different version of transparency but then others that say 13 respects transparency. 

How do I fix it so that I can have my icons looking good everywhere?

Thanks

6
Uml Process / Hide Stereotype Icon
« on: September 15, 2016, 09:57:19 pm »
I have diagrams with components on and all of the components have the component icon on (top right corner).  How can I turn the icon off?  I have certain diagrams where I don't want the icons to display.

I have tried the Hide Stereotype checkbox in Elements on the diagram properties but they don't disappear.

Does anyone know how I can do this?  I do want them in some diagrams, just not others.

Thanks,
Neil

7
They are quite cool and very simple, but it looks at the moment that each object on the canvas you want one on has to have it manually added.  Which I don't think can be right.

I'm wondering if I might need to use a script.

8
In the diagram profile and toolbox profile you can add the stereotypes that you want to use on a diagram.  You can also obviously use shape script to make the objects that you drop on the diagrams look in a certain way.

However, you can leave the shape script alone and just drop the objects onto the diagram with the default style.  In EA there is a dropdown where you can select an object and apply a style (in 13 it is in the drop down under Layout - Style in the ribbon).  In there you can create custom styles that are for the model.

My question is, those custom styles, can they be created as part of an MDG package?  I would like there to be a list of styles that I have defined that are available to the users.

Does that make sense?

9
I would like to create a number of different styles in an MDG package.  The idea being that if the user of the package creates a diagram and adds an object, they can then select one of my predefined styles from the Layout - Style dropdown.

How can I do this?

Thanks,
Neil

10
Is it possible to have a template for a Structure Type Progress Bar included in an MDG package?  Essentially I have created a tagged value type format in my model and it works really well but I would like it to automatically apply to each object of that stereotype that is created.

How can I do this?  Has any one done it?

Thanks,
Neil

11
I am trying to import some data.

I have worked out how to connect objects that are of the same stereotype.

Now I want to connect objects, say Business Capabilities to Organisation Units that are already in the model.

Is this possible?  I cannot see how to do it.  The profile editor lets you create more than one connection but I don't see how I can say what to.

Has anyone done this?

Thanks,
Neil

12
Replying to my own post as I have discovered the answer.

According to the FAQ it isn't currently possible to import custom connectors.  It is being developed though so may arrive at some point.

13
Hi all,

I have been using the MDG for Office add in to import data from a different EA tool and have been using the MDG for Office addin as I want to import relationships between objects.

It all looks great except that I have noticed that it isn't using a custom connector I have created in and MDG package.  In the profile when I do the import for the connector stereotype I have put "company::composed of" where that is the name of the stereotype I created (I go the name from manually adding one).

When I do the import it has the relationships between the objects and they are all called "composed of" but they are not my one.

Any suggestions?  This is so close to being perfect for what I need.

Many thanks,
Neil

14
Thanks everyone.  I will try all of those.

15
Automation Interface, Add-Ins and Tools / MDG Diagram Profile Toolbars
« on: August 22, 2016, 11:14:36 pm »
I am creating a custom MDG for the organisation I work for.  I am a bit stumped with the toolboxes.

I have 2 diagrams, application landscape and business capability landscape. 

I have toolbox profiles for each and in the diagram profile I have put an attribute of "toolbox", with a default value of the toolbox name.

When I publish the MDG I get the diagram types but when I create a diagram it doesn't have the toolbox, I have to manually add it.

When I use the Sample it comes up with the toolboxes automatically.

I cannot help thinking I am missing something obvious but I really cannot see what it is.

Does anyone have any suggestions?

Many thanks,
Neil

Pages: [1] 2