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
841
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:
http://www.sparxsystems.com.au/EAUserGuide/datamodelling2.htm

842
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.

843
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.
http://www.sparxsystems.com.au/resources/mdg_tech/

844
Automation Interface, Add-Ins and Tools / Re: About  visio importer...
« on: January 16, 2007, 05:07:19 pm »
A minor update to Visio Importer 1.0 has been uploaded to our site to correct this issue.  Please download from the MDG Technologies page and this should hopefully resolve the visio version number issue.
http://www.sparxsystems.com.au/resources/mdg_tech/

If there are any further problems, please email us as support@sparxsystems.com.au.

846
Automation Interface, Add-Ins and Tools / Re: Visio - Import failed
« on: November 26, 2006, 02:44:27 pm »
Unfortunately this is a known issue in the current release of the Visio Importer.  We have made a small correction to the Visio Importer which should hopefully fix this issue, as well as several other improvements to the import process.

Version 1.1 of the Visio Importer should be released around the same time as EA 6.5 build 801.  We recommend updating to EA 6.5 build 801 when it is released as well as installing the latest version of the Visio Importer.

Once these updates are made it should hopefully resolve your issue.  Sorry for any inconvenience.

HTH

847
Thanks.  We have logged this as an issue and we will look into fixing it as soon as possible.  Child elements may still be created via automation, but it seems that some combinations have encountered problems in recent builds.  This should hopefully be resolved within the next build or two.  Sorry for any inconvenience.

849
You should be able to just change the Element.PackageID value to the ID of the desired package and perform Update().  I have just quickly tested this and it appears to work.

Code: [Select]
element.PackageID = targetPackageID
element.Update
repository.RefreshModelView targetPackageID

Likewise, to move a Package change the Package.ParentID value.

850
I don't know about Delphi, but something like the following VB function should do what you want:

Code: [Select]
Public Function ExportAllDiagrams(ByRef proj As EA.Project, ByRef sPath As String, ByRef obj As Object)
   Dim elem As EA.element, subelem As EA.element
   Dim pkg As EA.Package, subpkg As EA.Package
   Dim diag As EA.Diagram
   
   For Each diag In obj.Diagrams
       proj.PutDiagramImageToFile diag.DiagramGUID, sPath & diag.DiagramGUID & ".png", 1
   Next
   
   Select Case obj.ObjectType
   Case otPackage
       Set pkg = obj
       For Each subpkg In pkg.Packages
           ExportAllDiagrams proj, sPath, subpkg
       Next
       For Each subelem In pkg.Elements
           ExportAllDiagrams proj, sPath, subelem
       Next
   Case otElement
       Set elem = obj
       For Each subelem In elem.Elements
           ExportAllDiagrams proj, sPath, subelem
       Next
   End Select
   
End Function


Call using something like:
Code: [Select]
Call ExportAllDiagrams(repository.GetProjectInterface, "C:\tmp\export\", repository.Models.GetAt(0))

Hope this helps :)

851
From Automation, you can also call the Find Orphans search using Repository.GetElementsByQuery which returns a collection of elements matching the search criteria (added in EA 6.5.795).

Dim results as EA.Collection
Set results = Repository.GetElementsByQuery("Find Orphans", "")

852
Automation Interface, Add-Ins and Tools / Re: Visio Importer doesn't work
« on: November 12, 2006, 06:07:58 pm »
We have had other reports of this same issue with the Visio Importer Add-In and should have a fix available soon.

For your scenario however, if you already have existing source code that you wish to represent in EA, we recommend using EA's Import Source Directory feature.  This will result in a more accurate import than importing a class diagram from Visio.

For more information of Import Source Directory feature, please see:
http://www.sparxsystems.com.au/EAUserGuide/revengtree.htm

Hope this helps.

853
Hmmm, not too sure what the problem could be.  Could you perhaps include a small code sample?

Something like the following should result in a new class element beneath the specified package:

Dim e as EA.Element
Set e = pkg.Elements.AddNew("Foo", "Class")
e.Update

854
EA 6.5 has introduced a new HTML report generator which resolves issues such as this.

For an example of the output from the new generator, please see the following page:
http://www.sparxsystems.com.au/html_report/index.html

855
Automation Interface, Add-Ins and Tools / Re: Generate C++ Addin
« on: October 15, 2006, 11:36:57 pm »
We do not have any examples of a C++ Add-In on the Sparx website, but there was one posted to the EA User Group website some time ago by 'Paul Ourada':
http://sharepoint.knowledgerecovery.com/external/eaug/EA%20AddIns/CPP_AddinFramework.zip

I haven't had a proper look at it myself, but I believe this follows along a similar track as Matt said in the previous post.
Please note however, if you are using Managed (.NET) C++ then the configuration may be a bit different, such as needing to have a reference to Interop.EA.dll and not EA.tlb.

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