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 - Rich Anderson

Pages: [1] 2
Bugs and Issues / DAO.Recordset Errors after File Transfer from EAP to EAPX
« on: September 19, 2018, 06:32:58 pm »
Hi There, I recently migrated my repository to EAPX (Jet 4) using the file transfer utility.  Now, every time I attempt to add a new element to a diagram or a connection between two elements, I get the DAO.Recordset[3022] error that says the change was not successful because duplicate values would be created. I did an integrity check and it comes back clean.   So, I have reverted back to EAP, for now.       

I am using the most recent Release 14.1.

I would like to start using EAPX, if I can, but this is stopping me.  Anyone have any ideas or experience with this one?

Bugs and Issues / EA 14 - Problems with Archimate
« on: May 30, 2018, 10:19:58 am »
I'm getting some different (and very annoying) behaviours when modeling in Archimate with EA14 (Build 1421).   The diagram illustrates this pretty well when I'm trying to use the quick linker to create a simple composition association.   Look at this simple comparison between EA 13 and EA 14 on the same diagram in the same repository.   (!)

I've also had to turn the Strict Connector Syntax off in Preferences because it was preventing me from making perfectly legal composition associations between data objects.   

Something looks fundamentally broken with the way Archimate works in EA14.     :-[

Is anyone else seeing this or am I missing something?

Bugs and Issues / Cannot select dbms when trying to generate DDL
« on: May 29, 2018, 02:04:18 pm »
I'm not sure what's going on, but I'm suddenly not able to select a database when attempting to generate DDL from this window.  I even went so far as to completely uninstall and reinstall EA, but that did not fix it.  Here is an image of the screen where I can't select the database for each table in the list.    This used to work and it would give me dropdown of all the templates.  Yes, I checked and the templates are all still there.

What am I missing?

General Board / System Resource Exceeded on Large Deletes
« on: May 28, 2018, 12:37:07 pm »
Hi There, I'm having problems deleting packages with lots of elements and attributes, frequently getting the dreaded "System Resource Exceeded" message.  The only workaround I have found was to restart EA and delete the package in smaller parts. (I could write a script, but I'd rather not).  I've scoured the messages to see if anyone has had this problem and did not find anything.  I've also filed a but with Sparx because I've seen this recommended also, but I thought I would ask.   I do this a lot because I'm writing code that generates lots of elements, so in my testing I frequently need to delete packages that are quite large.   I'm using the standard EAP file on my desktop.

Hi There, I'm pretty new to building add-ins and I was able to build a simple Hello world add-in and successfully register it with c# using the examples on the website.  I also tried to make a clone of it in VB.NET using VS2015 and I wasn't able to register it, getting the "missing  0x800401f3" error.   I've looked through all the posts I can find on this, and it appears to be a  C# kind of thing (although the SDK has lots of VB in it)

All things, being equal, I would rather use VB for this situation, but I'm wondering whether I'm just setting myself up for problems.  I can do C#, if I have to. 


Hi there,

I'm wondering whether anyone knows of an MDG that has been developed for the Essence Language.    (

It has similar purpose but distinct differences from SPEM 2.0 ( which does have an MDG.    I have a client that may be interested in this, so just checking to see if anyone here can point me in a good direction.

Hi There,    I would like to be able to generate a PowerPoint presentation from EA using  However, I don't see any easy way to get a reference to the diagram image as an object through the API.  Anyone know how to do this or do I need to access the image through SQL?

Hi There, 

I have a case where I'm programatically generating several diagrams and I'm not able to properly set the diagram type on creation with this code:

Code: [Select]
Dim archimatediagram As EA.Diagram
archimatediagram = parentelement.Diagrams.AddNew(parentelement.Name, "Archimate3::Business")

I've read in other posts that it's not possible to change the diagram type programatically using the Metatype property because that was deemed to be unsafe, and there appear to be ways to do this in SQL (which I prefer to avoid). 

It seems however, reasonable that I should be able to set the type of diagram based on the MDG at creation and the AddNew method takes type as a parameter.  However, this code above always yields a basic class diagram. 

What, if anything, am I missing here?

General Board / Learning the document generator
« on: March 24, 2018, 11:41:30 am »
I'm trying to learn how the document generator works, mostly by reading the help system and just trying things.  I'm finding it to be a bit of "black art" and I find myself sometimes going in circles.  For example, I cant' seem to figure out how to generate the element details on a diagram directly after the diagram.  The documentation sort of explains it, but I can't get it to work.  I'm making some progress, but it's painfully slow.  Does anyone know a better way to learn this thing?   Some kind of tutorial with exercises would be good.

Hi There, 

I'm trying to add elements into a package in a particular order, but not having much luck. I understand the TreePos property needs to be set, but it does not appear to be having the effect.  If this code below worked as I wanted it to, it would add 3 classes to a package with the order "Charlie, Baker, Adams".  Instead it comes up "Adams, Baker Charlie" in  EA.  I can re-sort them manually, but I want this to be automatic.   

Code: [Select]
Dim thisPackage As Package
thisPackage = earepository.GetPackageByGuid("{22926A63-B111-45cf-94D4-49081E77E6A6}")

Dim newElement As Element

newElement = thisPackage.Elements.AddNew("Charlie", "Class")
newElement.TreePos = 1

newElement = thisPackage.Elements.AddNew("Baker", "Class")
newElement.TreePos = 2

newElement = thisPackage.Elements.AddNew("Adams", "Class")
newElement.TreePos = 3

I've tried various refresh and update commands on the package and the connectors, but to no avail. I've also tried multiple values for TreePos.   I feel like I must be missing something basic, so can anyone shed light on this for me?

General Board / UI Suggestion - Option to Locate on Current Diagram
« on: December 13, 2017, 08:06:45 am »
I think it would be really good to have this checkbox inserted on this dialog.  Sometimes, my diagrams get quite big and I forget that I have already placed an element there.  Then I have to go through several clicks to locate it.   Why not just do this?

Automation Interface, Add-Ins and Tools / Technopedia and EA
« on: October 31, 2017, 07:08:56 am »
Hi There,  Has anyone on this forum ever used Technopedia with EA?   I'm particularly interested if anyone has built an API to Technopedia so that EA can be updated with its metadata on various software and hardware components.  I'm thinking this might be pretty useful for doing IT baseline architectures in complex organisations.   

General Board / Archimate 3 Composition - Now behaving differently
« on: July 14, 2017, 10:20:32 pm »
I'm working on an Archimate 3 model and have been using the Composition relation without any issues.  However, just today, when I draw a composition relation between two objects, the aggregation property on the one end get set to "none" (so the line is just plain with no filled in diamond) and the stereotype is now "ArchiMate3::ArchiMate_Composition" rather than just "ArchiMate_Composition" as it used to be. I can fix this by manually changing the aggregation property and stereotype property manually, but this is a pain.   By the way, the Aggregation relation and all the others are working fine. It's only this one that has gone wonky.   I've tried including and excluding the MDG and a few other things, but cannot get it back to the way it was before.   The only fix I have used before was to create a new EAP and basically export my entire model to it, but I don't want to do that now because the model is rather large.   Any ideas how to fix this?  Is this something that can be patched in my current EAP?

Hi everyone,   If you have the time, would you please have a look at this short video where IBM RSA is forward and reverse engineering API specs.   

I've seen some posts indicating there might be some tools or add-ons for EA to do something similar, but these have not panned out. If there were some sort of MDG/Addon that does it like this, I have a client who be interested.

Automation Interface, Add-Ins and Tools / MDG for Value Stream Mapping
« on: March 24, 2017, 02:25:40 pm »
Is anyone aware of any MDG available or in development for Lean Value Stream Mapping (  It has a generally accepted notation and is pretty popular in the Lean community for helping to remove waste, undertake Kaizen improvements, and other improvements.  I would consider it a variation of process modeling such as you might find in Archimate or BPMN.      If someone does have such a thing, I would be quite interested and I have a client that might be willing to pay for an MDG (and I stress MIGHT) if some MDG expert on this board is interested.   I am most emphatically NOT an MDG expert.   

Pages: [1] 2