Count shape edges

Discussion created by a.lalovic on Oct 15, 2013
Is there a way to check how many edges does a shape (2d, footprint) have. I would like to check if my footprint is a triangle, or it has 4 or lets say 5 edges and then acording to that i would treat them diferentley.