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/
_______________________________________________
Dia-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia

Reply via email to