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.


Topics - Amy_N

Pages: [1]
1
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.

2
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?

3
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

4
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.

5
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#");
     }
}

6
Hi. I'd like to add the 'matrix specification' artifact to one of my customised MDG toolboxes but can't find it in the in-built types. I notice there is an artifact 'metaclass' but I wouldn't know how to extend this to make it behave as the matrix specification - any ideas?

7
General Board / Model Access
« on: April 18, 2016, 06:21:00 pm »
Our model now has a large number of users from across various areas of the business. I have had a request to restrict who can view certain diagrams. I know you can easily 'lock' packages so only certain users can edit them. However can you actually 'hide' diagrams and package contents?

I fully understand that if objects used in the 'hidden' packages are used elsewhere then users could still analyse links etc. I also understand that this could cause problems of duplicate objects etc.

8
General Board / Inserting a Document
« on: June 09, 2015, 10:24:22 am »
Hi there. I can't seem to work out how to insert a document e.g. a word or excel reference document. I don't want to be able to edit it within the model or anything, just click on it and it opens the document in the relevant application

9
General Board / Syntax
« on: June 19, 2015, 01:44:44 pm »
I am trying to do a number of things. One of these is using SQL e.g. to create charts but also editing the database directly. Is there a list of the syntax anywhere?

I am also interested in the syntax used in Sparx directly e.g. for shape scripts. Is there a list of commands anywhere?

10
General Board / Derived Tagged Values
« on: May 27, 2015, 09:50:33 pm »
I am in the process of developing an MDG technology for my project. This includes assigning a number of tagged values to my stereotypes. I would like some of these to either auto-populate with a value or change the enumeration options after the user has selected values for other tags.

I am comfortable creating new tags based on my custom enumerations and getting the shape to change if certain tags are changed to particular values (using the shape script). However I can't seem to figure out how to pass data between tags (in the same element), create derived tagged values or change which enumeration is assigned based on a condition.

For example lets say I'm modelling pets. The user can choose an animal from an enumeration e.g.
* Species (enumeration) Cat, Dog, Rodent, Snake, Lizard, Parrot

Question 1: I would then like the tagged value 'group' to be auto-populated based on their species selection
* Group (auto-assigned) Mammal, Reptile, Fish, Bird

Question 2: I would like the tagged value 'Animal' to offer specific enumerated values based on their species selection
* Animal (user selects Rodent as species) - enumeration values offered are: Hamster, Rat, Gerbil
* Animal (user selects Dog as Species) - enumeration values offered are: Labrador, Pug, Spaniel

Pages: [1]