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 - OpenIT Solutions

Pages: [1] 2 3 ... 7
1
Hi,

I'm assuming this is possible - just not sure how. I want to include clickable links (hyperlinks) to model elements and diagrams in the text displayed in the Sparx system output window. Anyone have a VB script example of how to do this ? Any pointers to help/guides ?


Regards,


Jon.

2
Automation Interface, Add-Ins and Tools / Connector created date
« on: September 19, 2017, 03:19:35 am »
Hi,

Anyone aware of any secret db column holding the connector created date ? can't see it in t_connector. Can I get it at all or do I need to alter the table to include a created timestamp ?

Regards,

Jon.

3
Automation Interface, Add-Ins and Tools / Convert to local copy
« on: September 05, 2017, 07:57:53 pm »
Hi,

I can see a clone method on the Element Class. But I can't see the equivalent of the menu option Advanced -> Convert Linked Element to Local Copy in the API anywhere. Does the equivalent exist in the API ? Or do I clone the element and add (move) it to the required Package object ?

Regards,

Jon.

4
Hi,

Is there a way to automatically show custom compartments for a given stereotype? I've added a shapescript to a stereotype. It works and displays my compartments - but only if I select the Features & Properties -> Feature and Compartment Visibility and check the option to show my custom compartment. I'd like them to be shown by default somehow. My shapescript is below, it adds and compartment and shows the details of related Activities and Components...

shape RelatedElement
{

if(HasProperty("Element.Stereotype", "Activity"))
   {      
   SetCompartmentName("Process");
   AppendCompartmentText("#Connector.Name#   #TAG:taskType#: #Element.Name#");
   }   
   
      if(HasProperty("Element.Type", "Component"))
   {      
   SetCompartmentName("IT Systems");
   AppendCompartmentText("#Connector.Name#   #Element.Stereotype#: #Element.Name# - #Element.Alias#");   
   }         

   
   
   if(HasProperty("Element.Stereotype", "MeasurementPoint"))
   {      
   SetCompartmentName("Measurement Points");
   AppendCompartmentText("#Connector.Name#   #Element.Name#:  #Element.Alias#");
    }         
   
   if(HasProperty("Element.Stereotype", "ControlCategory"))
   {      
   SetCompartmentName("Control Category");
   AppendCompartmentText("#Connector.Name#   #Element.Name#");
    }
   
   
   if(HasProperty("Element.Stereotype", "DataObject"))
   {      
   SetCompartmentName("Deliverables");
   AppendCompartmentText("#Connector.Name#:  #Element.Name#");   
   }   
}

5
Automation Interface, Add-Ins and Tools / Shapescript #TAG
« on: July 12, 2017, 06:37:16 pm »
Hi,

I have a tagged value of type <memo> (ie value is <memo> and notes contain the tagged values actual value/content). In my shape script if I use 'print("#TAG:condition#")' where condition is the tagged value name - the value column, ie <memo> is displayed note the actual value in the notes field. Is there anyway in a shapescript to print the actual value of a tagged value of type memo ?

Regards,

Jon.

6
Suggestions and Requests / Embed graphics into notes field
« on: January 28, 2013, 09:42:18 pm »
Hi,

Can anyone in Sparx confirm of a feature request to embed graphics directly within the notes field of an element has be logged/raised before ?

I appreciate that you can achieve this via linked documents, but i need the ability to paste a graphic directly into the notes field.

The interesting thing is that i can paste a graphic into the note field now. However it doesn't save.

Regards,

Jon.

7
Suggestions and Requests / Merging Elements
« on: August 26, 2011, 06:27:21 pm »
Hi,

Coud i request a feature - the ability to merge two or more elements into a single element. I provide governance around models and often find on global projects that individuals wil create duplicate elements in different parts of a model - say the same Component under different packages - EA lacks a feature to merge these into a single component. It would be nice if regular expersions could be used to find/match elements for merging and if one of the elements could be picked as the target.

Thanks,

Jon.

8
General Board / Instances of elements
« on: October 24, 2014, 08:22:59 pm »
Hi,

I have a library of 'components'. I have multiple views (diagrams) to which I add instances of the components and form relationships between them. Each view shows an alternate implementation. One of the views will be selected as the target. At this point i'd like to add the relationships formed between the instances on the chosen view to/between their underlying instance classifiers.

Is there a way to do this automatically in Sparx ?

Regards,

Jon.

9
General Board / Shapescripts
« on: May 02, 2014, 09:19:12 pm »
Hi,

Bit of a long shot - but i thought i'd check here before i start...I'm planning to add an embelishment to an element to indicate graphically that it has a linked document.

Does anyone have the shapescript code for a "document" embelishment - i'm after the same embelishment as that used for Artifacts ??

Regards,

Jon.

10
General Board / Autoatically adding tagged values to Packges
« on: March 08, 2014, 04:41:35 am »
Hi,

I use a template diagram to automatically add tagged values to various object types. This works fine for all objects except Packages.

Any suggestions on how to ensure that a couple of default tagged values are added to packages as users create them. I don't think i can do it via a profile as its the base Package type that i want to add these tag values to.

Appreciate any suggestions/pointer etc.

Regards,

Jon.
  

11
General Board / View shortcut connection string
« on: January 23, 2014, 09:15:12 pm »
Hi,

I created a shortcut eap file sometime ago that connects to our SQL Server repository. I need to check the connection string being used. Is there a way to check a shortcuts connection string ?

Thanks,

Jon.

12
General Board / HTML Model document
« on: January 08, 2014, 01:52:27 am »
Hi,

When i generate an HTML Model Document it appears that the top level "Package" in the generated project browser (ie toc iframe to the left of the browser) always has the name of "Project". I can see that this is defined in js/data/root.xml, but i want to set this within Sparx so that the name is something specific (ie "My Process Model"). Is there a value i can set against my <<master document>> package or the contained <<model document>>> class in order to set a default value for the root of the toc ?

Regards,

Jon.

13
General Board / BPMN Simulation
« on: August 29, 2013, 12:15:57 am »
Hi,

When running a (BPMN) simulation is it possible to access tagged values associated with an activity. Can this be done using the default simulation approach - which appears to interpret code found in the 'behaviour' tab of diagram elements (?) - in which case can i reference a taged value within as this code is being interpreted ? Whats the syntax ? If it can't be done using this default approach - can it be done using a custom script ?

Either way are there any examples/documents the explain how ? The similation example attached to the recent sparx video on the topic doesn't have this sort of detail....

Regards,

Jon.

14
General Board / RTF templates...
« on: February 26, 2013, 01:47:50 am »
Hi,

Is it possible (using 9.3) to add the name of the root package selected to the title page of an rtf document, followed by a contents page and then a section for each package (including the root package) ? Seems like a fairly typical requirment - but i can't see an obvious way to do this using the rtf report generator....

Any pointer appreciated.

Regards,

Jon.

15
General Board / Tagged values...
« on: November 27, 2012, 12:50:58 am »
Hi,

I've defined the following in a umlprofile section of an MDG file. I can create "Project" classes and the tagged value is added as expected. However i don't get a calendar when i click on the tagged value (as i'd expect/want), just free text (string).

Any idea why ????


<Stereotype name="Project" metatype="Project" notes="" cx="90" cy="70" strictness="profile">

<AppliesTo>                        
<Apply type="Class">
  <Property name="_Tag" value="1"/>
</Apply>
</AppliesTo>
                                <TaggedValues>
<Tag name="dateRequested" type="DateTime" description="Date of request" unit="" values="" default=""/>
</TaggedValues>
</Stereotype>

Pages: [1] 2 3 ... 7