1
Automation Interface, Add-Ins and Tools / Re: AddNew method does not work anymore in EA 6.5.
« on: April 03, 2007, 05:42:18 am »
Hey Folks,
I've got the same problem under Build 804:
EA.Element requPartition = (EA.Element) el.Elements.AddNew("Requestor", "ActivityPartition");
throws an exception!!!!.....BUT my Add-In worked fine under Build 79x!!!
The exception is: Invalid Parent for ActivityPartition (Class)
Why shouldn't it be allowed to add a new ActivityPartition under a Class?!?!?!
Has anyone a solution?
Thanks
I've got the same problem under Build 804:
EA.Element requPartition = (EA.Element) el.Elements.AddNew("Requestor", "ActivityPartition");
throws an exception!!!!.....BUT my Add-In worked fine under Build 79x!!!
The exception is: Invalid Parent for ActivityPartition (Class)
Why shouldn't it be allowed to add a new ActivityPartition under a Class?!?!?!
Has anyone a solution?

Thanks