Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Paolo F Cantoni on July 19, 2005, 02:33:15 pm
-
HI,
A (admittedly quick) perusal of the EA Help and a search of this forum doesn't show how to access inner classes via the Automation Interface. I can get them OK with the CTF, but I'm now moving on to the AI.
Can anyone help?
Cheerz.
Paolo
-
You'll need to find everything:
- that is on the source end of a nesting connector (that the current element is on the target end of)
- in the current package that has its ParentID equal to the current class ElementID.
Simon
-
You'll need to find everything:
- that is on the source end of a nesting connector (that the current element is on the target end of)
- in the current package that has its ParentID equal to the current class ElementID.
Simon
Thanks, Simon.
That's hat I figured, but I thought I'd ask if there was an easier way, since the CTF makes it relatively easy...
Paolo
-
Sounds like the dreaded n-recursive parts explosion (BOM) query to me. I do have a template for this somewhere if you can wait somewhere between 24 hours and armageddon-cometh for me to find it.
bruce
-
Sounds like the dreaded n-recursive parts explosion (BOM) query to me. I do have a template for this somewhere if you can wait somewhere between 24 hours and Armageddon-cometh for me to find it.
bruce
Hi bruce,
If it's a coding template then I'm very interested. If it's a CTF template, then I'm still interested, but no hurry. I'm already generating one level of InnerClass via the CTF.
As I said in the first post, I'm moving past CTF, having used it to establish the XML (defined by the XSD I've created) can be emitted from EA. Since CTF won't emit everything I need, I'm going to AI.
Cheerz,
Paolo