Tag: determining the type of entity
-
Checking the type of an Entity? (AutoCAD .net)
Ok, so you’ve got a bunch of entities in a collection. You only want to deal with circles. You need to iterate through the collection and consider only the circles. But how will you identify the circles from the other objects. Casting. You can cast Entity en = en as Circle And then you…