Hi
The ObjectClass property isn't available prior ObjectARX 2010.
Prior 2010, you can use the Entity.GetType() method
or evaluate the entity type :
{code}if (myEnt is Polyline)
{
// Do something here with the polyline
}{code}
or try an explicit cast to the requiered type (Curve in this example):
{code}Curve curveEnt = ta.GetObject(bRes.ObjectId, OpenMode.ForRead) as Curve
if (curveEnt != null)
{
// Do something here with the curve
}{code}