Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: sandeep bhat on June 18, 2014, 11:17:03 pm
-
Hi,
I have a project which starts at Model, under that i have a view and under that view i have many packages. Is there any way i get to know by some property if its a view or a package? i tried debugging it all i see is in a view, the property Flags has some value isModel=1;VICON=4 and for the other packages the Flags property is empty.
-
The VICON tells you that it's a view and which kind. It's a simple enumeration. It's also documented in my Inside book.
q.
-
I would either be looking for the isModel=1. Either that or if it's parent doesn't have a parent.
-
Thanks a lot Qwerty and Simon. Appreciate it!