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 - Simon M

Pages: [1] 2 3 ... 414
1
Yeah, XMI 2.1 is a lot easier to read.

I don't have any recommendations for producing XMI 1.1, but if you want to produce 2.1 that EA doesn't remove the guids from I can offer some suggestions.

Code: [Select]
<xmi:Documentation exporter="Enterprise Architect" exporterVersion="6.5"/>
<uml:Model xmi:type="uml:Model" name="EA_Model">

Packages, use a guid with the format:
EAPK_{8 hex digits}_{4 hex digits}_{4 hex digits}_{4 hex digits}_{12 hex digits}
Everything else:
EAID_{8 hex digits}_{4 hex digits}_{4 hex digits}_{4 hex digits}_{12 hex digits}

2
If you're talking about Virtual Connector Ends...

It doesn't draw the shape script.
There's no way to make it draw the shape script.
No, it's not a bug.

3
Bugs and Issues / Re: Out of memory when starting
« on: Today at 08:49:51 am »
There's a known issue that some installs of Windows 10 can give this issue.

If I remember correctly, we never managed to reproduce it or find the cause. The good news is that we did manage to isolate and correct the problem with the help of a customer who was experiencing the issue.

The fix is planned for inclusion in a 1352 patch release.

4
Next thing is the To_Number(t_connector.PDATA1) there's a good chance you have somewhere a text in a PDATA1
I guess you better cast both fields to string to compare them instead of trying to cast it to a number.
I'll agree that this is very likely the problem, it would also explain why it used to work but now doesn't.

The other option is to filter the t_connector table to the Connector_Type you're interested in. I'm guessing 'Association'.

5
General Board / Re: Is there support for R language in EA/code/import ?
« on: December 12, 2017, 08:39:46 am »
Nothing built in, but there is the possibility of writing your own grammar and templates if you are committed.

The biggest problem is that it looks like Object Oriented Programming isn't always used for R. That means you're unlikely to get much of use out of reverse engineering it if you did write a grammar.

PS. Your closing ')' is outside of the hyperlink address. Fortunately wikipedia offers a redirect to the right page.

6
When this file is imported, the UUIDs are ignored and EA generates new ones.
Maybe you could solve this problem instead.

If you generate XMI that pretends to be from Enterprise Architect and use guids that match our expected format they won't be recreated during import.

7
Automation Interface, Add-Ins and Tools / Re: GUID of a diagram
« on: December 12, 2017, 08:28:43 am »
Just to extend the idea of a guid search, here's an example of how that might look if you wanted to search across multiple tables.

Code: [Select]
select ea_guid AS CLASSGUID, Diagram_Type as CLASSTYPE, 't_diagram' as CLASSTABLE, Name, Author, CreatedDate, ModifiedDate, ea_guid as GUID from t_diagram where ea_guid like '*<Search Term>*'
union
select ea_guid AS CLASSGUID, Object_Type as CLASSTYPE, 't_object' as CLASSTABLE, Name, Author, CreatedDate, ModifiedDate, ea_guid as GUID from t_object where ea_guid like '*<Search Term>*'
union
select ea_guid AS CLASSGUID, 'Attribute' as CLASSTYPE, 't_attribute' as CLASSTABLE, Name, null, null, null, ea_guid as GUID from t_attribute where ea_guid like '*<Search Term>*'
union
select ea_guid AS CLASSGUID, 'Operation' as CLASSTYPE, 't_operation' as CLASSTABLE, Name, null, null, null, ea_guid as GUID from t_operation where ea_guid like '*<Search Term>*'
order by 4


8
General Board / Re: Don't update Crossover to v. 17 if you use MySQL
« on: December 08, 2017, 08:28:03 am »
I'd be curious if you have the same issue using Wine directly.

I don't have any recent experience using Crossover, but I know that if I update Wine I always need to run winetricks --force mdac28 before ODBC connections will work for me. (That's on the latest stable versions)

9
Automation Interface, Add-Ins and Tools / Re: DiagramLink and Connectors
« on: December 05, 2017, 12:36:48 pm »
There are multiple levels in which a connector line color can be specified. Only two are available via the API.

Diagram legend auto colour - Colour specified in legend rule matching the connector

DiagramLink.LineColor - The colour for a single diagram only.
Connector.Color - Default for all places this connector appears on a diagram

Stereotype line colour - Default for all connectors with this stereotype applied.
User connector colour - Default for all connectors for the logged in user. (Can be altered using diagram themes)

It sounds like you're wondering why the default colour for a connector isn't applied unless you don't specify a diagram override for that colour.

10
Suggestions and Requests / Re: Relationship between/to Attributes
« on: December 04, 2017, 08:44:04 am »
This isn't an EA issue, but the way UML works: Attributes Do Not Have Relationships.
Not quite true. Dependency, some of its specializations and Information Flow all go between Named Elements, which includes Attributes.

On the other hand, UML doesn't define a notation for rendering relationships between the attributes of a class. (Although, it's not incorrect to render it as a Port or Part to show the relationships.)

11
Enterprise Architect believes you are trying to compare two unrelated packages because the unique id (guid) for the top level package in the XMI and the package you have selected are different.

12
I think an XMI import includes references (GUID) to out-of-scope elements, so that they can be resolved if the referenced elements are present in the target project, but I think the import ignores those that cannot be resolved. I may be wrong on this.
There is an option to create placeholders for external references. If you use this and then later import the package containing those elements, it will restore the links to those elements by the packages imported earlier.

13
General Board / Re: Repository security
« on: November 28, 2017, 08:16:57 am »
Was hoping to have time to look into it with the recent offer Free: Pro Cloud Server Express but alas other urgent things keep drawing my attention away from it.
The express version doesn't offer that capability. However, you can contact sales to organize a trial.

14
The problem isn't that a profile has been used to define the language. It's how to display, edit and report on user defined fields that EA has no knowledge of. Ultimately, regardless of how the language is defined, you are going to end up with a list of properties. ie. It's going to look like our tagged value list. As for the stereotype display, there's probably no reason why we couldn't display to the user no stereotype if the stereotype defines a metatype.

Defining validation rules for connectors and properties isn't something that is in the current profile language. (Although we have been doing a bit in that direction in version 14 if you look at the recent webinar)  But that doesn't have anything to do with how the language is defined. If it was added into existing profiles, it provides exactly the same advantage to users.

The only "extra" work defining profile for a language requires is extending a base UML metaclass. If you want to ignore UML, I'd choose 'Class' and 'Dependency'. Because of the database schema you're working with, you would still need to make that decision if you weren't creating a profile)

15
Bugs and Issues / Re: EA 11 and Windows 10
« on: November 23, 2017, 08:47:09 am »
As far as I am aware there is no way to make them co-exist.

Pages: [1] 2 3 ... 414