Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: albinofrenchy on August 20, 2010, 08:21:24 am

Title: IsRoot on Element
Post by: albinofrenchy on August 20, 2010, 08:21:24 am
Is there any way to access the "Is Root" property of an element short of direct database access? Read would be good, but write access is preferable.
Title: Re: IsRoot on Element
Post by: Geert Bellekens on August 23, 2010, 03:30:54 pm
Looks like they simply forgot.
The other advanced properties (isLeaf, isActive, isSpecification) are all available.
I would send in a feature request to get this property exposed.

In the meantime you can use Repository.SQLQuery(sqlString) to get the value, and Repository.Execute(sqlString) to update.

Geert