Differentiating between Connectors and Objects



Is it possible to get the type of an object without using a returned
string (object_get_type)? I want to loop over all the selected objects
and count the number of "connection objects" and the number of "other
normal objects" without having to go through this:

(pseudo code)
if (objtype == "Standard - Line" || "UML - Generalization" || "UML -
Dependency" || etc...)

-- 
Fred Morcos
http://fredmorcos.blogspot.com/
http://fredmorcos.googlecode.com/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]