Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: kjourdan on August 03, 2017, 10:03:27 pm

Title: Manipulating "New Element" Wizard
Post by: kjourdan on August 03, 2017, 10:03:27 pm
Currently, when a new element is added through the New Element button on the Project Browser, EA remembers the last selected toolset and type.  Is there a way for add-ins to manipulate this information?
Title: Re: Manipulating "New Element" Wizard
Post by: KP on August 04, 2017, 08:52:00 am

That kind of information is usually stored in the registry

Update: "LASTELEMPAGE"


Update 2: No.
Title: Re: Manipulating "New Element" Wizard
Post by: Eve on August 04, 2017, 12:00:01 pm
To explain KP's post...

It is stored in the registry, but the value will be cached by EA, so changing it while EA is running won't work.
Title: Re: Manipulating "New Element" Wizard
Post by: kjourdan on August 04, 2017, 09:20:39 pm
Had a feeling this was the case.  Thanks for the feedback.