Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Paolo F Cantoni on July 19, 2005, 04:40:05 pm

Title: Any Gotchas in Emitting a Model?
Post by: Paolo F Cantoni on July 19, 2005, 04:40:05 pm
As I'm mentioned in other posts, I'm working on emitting my conceptual models as an XML file from EA (initially via CTF and now) by the Automation Interface.

From my perusal and the (limited) experience so far, it seems pretty straight forward.  However, cautious soul that I am, I'm asking if there are any known "gotchas" or weirdness in traversing and collecting the model for emission?

This will save a lot of time diagnosing problems that aren't caused by my code.  Because of the Cantoni  Effect - if there's a bug in a particular area, I'll expose it within 5 minutes (makes me a GREAT tester ;D) (just ask the Sparxians ;)) - if the gotchas are there, I'll hit them.

With gratitude in advance ,
Paolo
Title: First Gotcha!
Post by: Paolo F Cantoni on July 20, 2005, 09:58:24 pm
As polvika has noted in:
Element IsRoot (http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=Automation;action=display;num=1121851753)[glb]You can't actually emit the entire model![/glb] ???

As far as I can tell, there are three ways of emitting the model:From what I can see, not one of these methods allows you to emit everything you can create in the Model using the UI!

The really frustrating thing is: some items are emittable using one method and not in another! :'(

Sparxians, please get a grip and fix this! >:(

Frustrated and Annoyed,
Paolo