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

Pages: [1] 2
Automation Interface, Add-Ins and Tools / Re: Rectangular Notation
« on: November 24, 2017, 03:41:37 pm »
perfect thank you :D

Automation Interface, Add-Ins and Tools / Rectangular Notation
« on: November 23, 2017, 02:51:36 pm »
Is there some way you can set an element (e.g. use case) to default to rectangular notation using an MDG Stereotype or would you have to build it from scratch using a shape script? If not is there something in project setting to do this?

Automation Interface, Add-Ins and Tools / HTML Report for Multiple Roots
« on: September 15, 2016, 10:49:20 am »
Is there any way to export multiple Roots into the same HTML file? i don't want to exportthe whole project just some but not all of the roots.

Uml Process / Re: Specification Manager
« on: September 02, 2016, 05:00:38 pm »
Just had a colleague look at this and he has version 12.1 and can do it (I am using 12.0). Next question can you save the specification manager view as a diagram?

Uml Process / Specification Manager
« on: September 02, 2016, 04:33:00 pm »
Does anyone know if there's a way to have tagged values as column titles in the Specification Manager?

Uml Process / Re: Custom Toolbox Creation
« on: September 02, 2016, 04:31:57 pm »
As previously stated Sparx doesn't seem to let you add packages through the browser. One way round this could be to set it up as a model pattern through your MDG?

Thanks guys. Have managed it using a mixture of both your suggestions:

* BPMN2.0::StartEvent(UML::Event)
* BPMN2.0::IntermediateEvent(UML::Event)
* BPMN2.0::EndEvent(UML::Event)
* BPMN2.0::Gateway

I shoud have also explained what I was doing. My users (for this particular toolbox) are using just a small subset of the BPMN Notation and wanted a customised toolbox with just those elements in. For the actual BPMN activity I ended up creating my own stereotype. These are mainly users that are unfamiliar with the UML and modelling in general. They simply want to do BPMN process flows. The built-in BPMN activity has far too many tagged values that would just confuse them. However they also need to populate some additional tagged values. Thus I found it easier to simple create a new stereotype and add my own tags and shape scripts etc. If anyone has a better way of doing this (hiding certain tags maybe?) I would be very interested. Wouldn't it be great if we were provided with the Sparx models behind the Sparx MDGs, rather than having to sift through the code?  ;)   

Our team are managing a centralised model used accross the business. I am developing an MDG and associated methodology to ensure we have a consistent approach. We have more advanced users doing other types of modelling e.g. class diagrams etc. I'm finding it's a balance between making it as simple as possible without restricting users too much!

seems to work if I add a UML activity metaclass entended by BPMN Activity and specialised by another stereotype!

Is there not a way to just add the std BPMN elements straight into the toolbox though?

The other option is just to draw the BPMN icons using a shape script

I'm trying to add some of the BPMN elements to a custom toolbox (gateway, start, end and intermediate). However it isn't displayed under 'built-in types' when I try and add from the toolbox page. I have tried adding it as a stereotype in my profile (using the metaclass from the toolbox and then selecting it through stereotypes) but it won't let me select this from the toolbox page unless I have it extending a metaclass. I have tried having the following:

* gateway entends decsion
* start extends activity initial
* end extends activityfinal
* intermediate extends activity

However although they now appear in the tollbox when I install the MDG it doesn't create an element when I drag it onto a diagram

Automation Interface, Add-Ins and Tools / Re: Diagram Patterns in MDG
« on: June 18, 2016, 11:46:09 pm »
Thanks Geert will check that out!  :)

Automation Interface, Add-Ins and Tools / Diagram Patterns in MDG
« on: June 18, 2016, 06:49:48 pm »
Hi. I have included some diagram patterns in my MDG that appear in various toolboxes. I have developed the MDG in a separate model and then added the MDG to our company model (server based).

Some of these patterns include elements that I would like to use an alternative image for. I have noticed when I do this for an MDG that is developed within the model it will be deployed in it all works fine. However when I do this for my MDG that has been developed in a separate model the diagram pattern works but it displays as the default image.

I have tried both importing the image with the MDG and having an image with the same name in the main model. I know I could use a shape script. However the image is a logo and the resolution is poor when I use an emf or jpeg version (but very clear when using the PNG version directly through 'alternate image).

It's actually for a diagram title bar that I would like users to be able to drag onto their diagrams. If there was a way to display this on all diagrams in the model as a default that would actually be a better solution but I couldn't find this option anywhere.

Thanks guys. Managed to solved it in the end by using Enhanced Metafiles

Thank you that certainty helps with the proportions. However it is still putting a black background on the image when there should be 'no background' the images are not rectangular.

Automation Interface, Add-Ins and Tools / Images and MDG Stereotypes
« on: June 02, 2016, 09:06:36 pm »
I would like to use an alternative icon for elements in my MDG. I have saved my images as PNGs and when I manually change the image using 'select alternate image' (i.e. not using the MDG) on an element it shows fine. However when I try to incorporate this into my MDG using the below code (taken from Sparx User Guide) a black background is shown around my image and some of the colours change. I have written shape scripts for simple shapes successfully. However the icons I would like to use would require relatively complex scripts to define 'long hand' and I was hoping I could just reference an image. The only way I seem to be able to get anything usable is to save my images with coloured (or white) backgrounds.   

shape main
     addsubshape ("theimage", 100, 100);
     addsubshape ("namecompartment", 100, 100);
     shape theimage
               image ("element image", 0, 0, 100, 100);
               // "element image" being the name of the image that is loaded into the Image Manager
     shape namecompartment
               h_align = "center";
               editablefield = "name";
               println ("#name#");

Pages: [1] 2