entitytype

VBA  
I autocad VBA there was the property "EntityType", this was the type of entity of an object (acad element like line ore arc). Bricscad does not know this property. How can I get the EntityType from an element in BricksCad.

Comments

  • Try using the ObjectName property instead.
  •  Yes, the property ObjectName gives me the AcDbLine, AcDbArc and AcDbCircle as answer. Then in the next lines (select case) I put the name between " " and it works. 

    Thanks
  • some background :
    In AutoCAD COM, the "EntityType" property is present, but declared as "hidden" ... so normally, that property
    should not be available for access; strange enough, it is available, at least for VB/VBA.

    It is the same for BricsCAD COM - but here, that property is truly "hidden", hence not accessible.

    But for both systems, the "ObjectName" is the officially correct access function.
This discussion has been closed.