Book a Demo

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 - Chris Cortes

Pages: [1]
1
General Board / Re: Windows 7 ?
« on: February 12, 2009, 07:34:47 am »
Hi Secretbeauty, EA is a great tool, welcome. I suggest that you start a new thread for your question. You'll probably get your answer much faster...

- Chris

2
General Board / Re: Windows 7 ?
« on: January 13, 2009, 06:47:44 am »
Hmm.

So far as I can tell, in spite of the error that EA's install reported, EA seems to have installed successfully. After putting it through an hour of use this morning, EA is performing well.

Initially, I thought the install failed. Apparently the install completed after throwing the XML parse message.

If there is a problem with my install, I'm sure that it will rear itself again. And then, I'll have a better explanation.


EA on Windows 7 (OSX VMWare Fusion in unity mode)



EA on Windows 7 (OSX VMWare Fusion in single window mode)


3
General Board / Re: Windows 7 ?
« on: January 13, 2009, 05:02:20 am »
Thanks Midnight. I've been a lurker here for years and have benefited from your help several times.

I'll post back and let the forum know the results.

- C

4
General Board / Windows 7 ?
« on: January 12, 2009, 07:41:24 am »
Anyone get a successful EA install on Windows 7 yet?

I tried last night... The install failed on an XML error. Don't remember what exactly...

BTW, Windows 7 install through VMWare Fusion went perfectly.

5
Thanks Simon, you were correct.  

This is generally what I did (from memory):
Code: [Select]
//argElement is an EA.Element that is passed into this static method

EA.Element thisElement;
thisElement = (EA.Element)argElement;

var addElement = (EA.Element)thisElement.Elements.AddNew("someName","someType");

_updateThis = addElement.Update();
thisPackage.Refresh();

So when I queried: element.elements.count, I always got 0.

Turns out that the element was added to the package, and querying package.elements.count and filtering by type is the way to go. Thanks.

So, why is the Element.Elements.Count even there?

6
Hmm, maybe I wasn't clear. The object was added to the element using element.elements.addnew() not  the package.  I should query the package?



7
(In follow-up to my other post about generating useable composites:
http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1234932050)

Given API's limitations regarding composites & keeping in mind that I don't want to manually hack the repository:

What is the best way to create a composite, while also having access to it's encapsulated objects?

Is that even possible? I ask because my encapsulated object count: Package.Element.Elements.Count is always coming back: == 0.

Advanced thanks again all.
- Chris


8
Automation Interface, Add-Ins and Tools / Composites through API.  :(
« on: February 18, 2009, 03:40:50 pm »
Ugh, I'm at a loss, please help if you know...

I can't get composites to render properly, nor to click-through to their child diagrams. I've played with the order of object creation, update(), refresh(), etc.

Is this a bug in the API? Interestingly, the user docs specifically say that composite support IS provided by the API... LOL  ;D

If you or someone you know, has seen a working example of composite/diagram code, will you please post it? I don't care what language.

Thank you, thank you,
- Chris

9
Hmmm... Should have searched two more times before posting. Or maybe I'm just a tard. Think I found it:

http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1205431696/0#0

Is that the only way to do it?

- Chris

10
Is it possible?

11
Automation Interface, Add-Ins and Tools / Posts RE: Beta Version
« on: January 30, 2009, 01:03:46 pm »
Is there a specific location for posting observations about the beta SDK, etc?

Pages: [1]