Book a Demo

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 - [email protected]

Pages: [1]
1
General Board / Re: ISO 80000-1 Quantaties and Units
« on: May 30, 2017, 05:08:59 am »
Thanks, I thought it was there somewhere. Bit odd that it's in the SysML1.3 implementation but not the SysML1.4 one. I also note that it's a much reduced set compared to the specification.
It should be possible to write a transformation between the spec XMI and the way Sparx have implemented it. I will have a go if I can find the time.

2
General Board / ISO 80000-1 Quantaties and Units
« on: May 26, 2017, 07:59:30 pm »
Does anyone know if there is an EA friendly version of the ISO 80000-1 Quantaites and Units xmi? The OMG Standard one, while it imports OK doesn't create the expected SysML elements and the names aren't very user friendly

3
General Board / Re: Watermark in template does not appear in RTF
« on: July 15, 2015, 06:15:36 pm »
Is there a target resolution date / version for this issue?

4
General Board / Re: RTF Template - Custom Stylesheet
« on: June 23, 2015, 02:11:49 am »
I've worked out how to do this:

You go File -> Update Styles and you can 'overwrite' the styles in your template with those from a style-sheet.

Just have to remember to do this when you make changes to the stylesheet if you want it to look correct in the template

5
General Board / RTF Template - Custom Stylesheet
« on: June 22, 2015, 11:23:27 pm »
I know that when I generate a document I can select a customer style sheet, but how do I apply the customer style sheet when I'm editing a template?

The drop down list has all the system style sheets in, but none of the custom ones?

6
Automation Interface, Add-Ins and Tools / Re: Find MDG Diagrams via SQL
« on: September 24, 2015, 07:53:50 pm »
Errrrr... OK some confusion here.

So I can understand how the digram 'kind' could be hard coded for UML & SysML, but for custom diagrams specified by an MDG, how does EA render the diagram frame if it doesn't store this information in the DB?

Does it just read the MDG data from the XML at startup and hold it in memeory?

If this is this case then presumably it has to re-generate the diagram frame (or at least the heading) every time one is required?


7
Automation Interface, Add-Ins and Tools / Re: Find MDG Diagrams via SQL
« on: September 24, 2015, 02:41:24 am »
Found it, thanks!

Follow-up question 1: Where will I find the short form of the 'type' as used in the diagram frame "Bdd", "Req" and the like?

8
Automation Interface, Add-Ins and Tools / Find MDG Diagrams via SQL
« on: September 24, 2015, 12:02:02 am »
How can I retrieve diagrams of a certain MDG 'type' in SQL.

I know for Elements I have to create a join between t_object and t_xref where t_xref stores the MDG Stereotype I'm looking for.

How do I do the same for diagrams (assuming the FQN of my 'type' is MDG::DIAGRAM)?

Thanks

9
Automation Interface, Add-Ins and Tools / List Override
« on: July 01, 2015, 08:53:52 pm »
OK so the 'list override' mechanism in the template designer seems to be the most user-unfriendly bit of design ever. Does anyone know how this works, or how to delete 'list overrides'?

there appear to be some in my template, I can't work out what they apply to, or how to delete them

The help on this topic is non-existent or not very helpful

10
Automation Interface, Add-Ins and Tools / Document Template Header
« on: July 01, 2015, 03:14:05 am »
I want to add a header and a footer to a document template, when I select Edit -> Edit Page Header / Footer, I get a dotted line at the bottom of the page where (below which) i can add my footer text, but I don't get a dotted line at the top where (above which) I can add my header.

Am I doing something wrong?


11
Thanks for the reply (and for the reply to my colleague Simons support request).

A bit annoying but not a big issue as we assume the only difference the diagram type makes is which toolbox is displayed by default?


12
Seems logical - and in fact when we check diagrams which we have manual changed using the UI it's as you describe. However....

We can set the relevant part of the attribute, but when we call Diagram.Update() and then re-load the diagram, it's reverted back to it's previous value!

Anybody got any ideas why?

13
We have defined some new diagram types in an MDG profile and now want to change some existing diagrams to these types in a script.

The API has an attribute Diagram.MetaType but the help says this is read-only. Is there a way to update this (you can do it from the UI)?

14
I've got some elements which were created before we added a profile, I now want to write a script to update those elements to the correct elements in the profile.

The Element.MetaType attribute in the API is read only, is the only way to change this by an SQL UPDATE statement issued via the the Repository.Execute() Method?

15
Is there any way to get multiple objects selected in the Project Browser in the same way that Diagram.SelectedObjects gives you Objects Selected on a Diagram?

I know Repository.GetTreeSelectedElements will return the elements, but the browser allows you to select a mixed collection of Elements and Diagrams and this only returns the Elements.

Is there any way to get a collection of Diagrams from the selection if not a collection of Objects?

Pages: [1]