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 ... 54 55 [56] 57 58
826
Automation Interface, Add-Ins and Tools / Re: Package.FindObject method
« on: August 07, 2007, 02:26:38 pm »
If you do have any further problems with this, please send an email to support@sparxsystems.com.au with all the relevant details and we can try to look into this further.

827
Automation Interface, Add-Ins and Tools / Re: Package.FindObject method
« on: August 06, 2007, 09:06:31 pm »
Hello Tonu,
What version of EA are you running and what type of repository are you using?  I have tried this using EA 7.0.815 with an EAP file and did not have any problem with this function under VB 6.0.

828
Quote
The sequence position when loading into diagram (affects Z order). The Z-order is one-based and the lowest value is in the foreground.

According to the documentation, the lowest value is in the foreground, so it looks like you need to do your sequence numbering in the opposite direction.  I.e. Start with a higher zorder value and do '--' instead of '++'.

829
Also, make sure it's saved to a local drive (E.g. your C: drive).  Opening chm files over a network will also fail like you describe.
See http://support.microsoft.com/?kbid=896358

830
bittercoder,
EA 6.5 build 801 should be available very soon.  When it is released, please install and see if it resolves your issue.  If the problem continues, please submit a bug report with details on the issue
http://www.sparxsystems.com.au/support/bug_report.html

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

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

833
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

834
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 support@sparxsystems.com.au (along with a description of the problem) we will see what we can do to help.

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

HTH.

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

837
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).

838
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:
http://www.sparxsystems.com.au/products/mdg_doors.html

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

839
micia,

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?

840
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

See:
http://www.sparxsystems.com.au/EAUserGuide/repository3.htm
http://www.sparxsystems.com.au/EAUserGuide/objecttypeenum.htm

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