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 - Aaron B

Pages: 1 ... 55 56 [57] 58 59
This issue should be fixed in the next build of EA (6.5.801).  If there are any problems after installing 801, please contact us again.

An Element.GetLinkedDocument() method has been implemented for build 801, which should hopefully be available soon.

I don't think this is a problem with EA's interface.  The problem here is that 'Scale' is unfortunately a keyword in VB.  To get around this, put square brackets around Scale and it should work.
e.g.   attrib.[Scale] = 1

I am not aware of any issues with reverse engineering Access 2003 databases.  As long as you have JET 4.0 enabled and have defined the connection correctly, I can't think of any reason why it might fail.  If you can send us a zipped copy of the database to (along with a description of the problem) we will see what we can do to help.

Thomas was on the right track, but you need to retrieve the EA.App object using the GetObject call.  For more information, see the EA.App reference page below:


The ParentID is used when nesting elements within other elements in the tree.  As Midnight suggests, I believe that to move the element to another package you should set the Element.PackageID value.

No, it is not currently possible to select an element on the diagram window from automation.  You can currently only control selection in the Project Browser window by using Repository.ShowInProjectView(object).

Yes, MDG Link for DOORS needs to connect to a running instance of the DOORS application to import an open module.  It does not import directly from the file itself.

See the product page for system requirements:

Please refer to the help file included with the Add-In for more details on importing from DOORS.


It sounds possible that the information in DOORS might not be getting completely saved by the time you attempt to import, resulting in EA importing your 'old' data as this may be it's current state on disk.  Have you tried completely closing DOORS and re-opening again before importing?  If the problem still appears, can you please confirm which version of DOORS you are running?

GetCurrentDiagram should provide you with the currently opened diagram.  It is not affected by what is selected in the Project Browser window.  If you want to get the current selection in the Project Browser, regardless of the type, use Repository.GetTreeSelectedItem.  The object parameter should become set with the selected object, and the type enumeration will be given as a return value from the function.

For example:
Dim obj as Object
If (repository.GetTreeSelectedItem(obj) = otDiagram) Then
 Dim d as EA.Diagram
 Set d = obj
End If


In the "Repository" documentation I just noticed it says that the AddTab method returns an IUnknown pointer, which may be the problem.  Try searching through google for information on using IUnknown in VB6.  Not sure how best to do it myself unfortunately.  :-[

My only other suggestion is to temporarily put "As Project1.UserControl1" on the end of the Dim statement to get back your Intellisense while writing code, then comment it out again before running.

Hope this helps.

Perhaps try assigning to a regular 'Object' first, then try casting it later.  See if that makes any difference.

Dim objTab
Set objTab = Repository.AddTab("Hello", "Project1.UserControl1")

If Not objTab Is Nothing Then
   Dim lMyUctrl As Project1.UserControl1
   Set lMyUctrl = objTab
End If

Unfortunately the Visio Importer does not currently support import of Database diagrams, but I have logged this as a feature request on your behalf.

EA supports database modeling with it's implementation of the  UML Data Modeling Profile from IBM/Rational.  For more information on data modeling in EA, please see:

Automation Interface, Add-Ins and Tools / Re: Visio Importer 1.1
« on: January 22, 2007, 02:38:08 pm »
The MDG Technologies page was not updated with any version number information, but the installer file on the server has been updated.  Try clearing your browser cache and download the file again.

Automation Interface, Add-Ins and Tools / Re: About  visio importer...
« on: January 18, 2007, 08:28:18 pm »
Thanks for your report, incanus.  We have made another update to the Visio Importer and have just posted release 1.1 on the MDG technologies page.

Pages: 1 ... 55 56 [57] 58 59