Book a Demo

Author Topic: Can't create child elements...  (Read 3418 times)

incanus

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Can't create child elements...
« on: January 12, 2007, 10:17:28 am »
I'm trying to create child elements of an use case using:

Set acti = myElement.Elements.AddNew("", "StateNode")

but it gives me an error.

Its weard because the same sentence works fine in the previous versios 6.5.799. But I'm using the version 6.5.801.


does anybody have the same problem?

Or does anybody know if i'm doing something wrong?


Thanks.
« Last Edit: January 12, 2007, 10:23:39 am by incanus »

incanus

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Can't create child elements...
« Reply #1 on: January 16, 2007, 04:44:50 am »
so i read somewhere in the forum that the addnew function, doesnt work anymore for children elements, but this function does work for children diagrams.
this needs to be fixed quickly because i have an addin that doesnt work anymore because of this failure (or have reduced its functionality). :-/

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Can't create child elements...
« Reply #2 on: January 16, 2007, 02:57:14 pm »
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.