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.
0
Comments
-
Try using the ObjectName property instead.0
-
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.Thanks0
-
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.0
This discussion has been closed.