Static Properties

COM objects wrap all native AutoCAD entities. ObjectARX applications, however, are not required to implement COM wrappers for their custom entities. If a COM wrapper is not provided for a custom entity, AutoCAD uses the entity's base class wrapper as its default. The default wrapper implements the methods of IAcadEntity or IAcadObject, depending on the derivation of the custom class.

When entities are selected in an AutoCAD drawing, AutoCAD queries for the IUnknown pointer of each selected entity. It then creates an array of these pointers to represent the members of the selection set. Property editors communicate with entities through the ActiveX objects that these pointers reference.

Note: If you want the Property Inspector to examine static properties for your non-AutoCAD ActiveX object, the object must implement the IAcadBaseObject2 interface. (This can be done with the IAcadBaseObject2Impl template class.) Also, its coclass must derive from AcDbObject. This limitation applies to static properties only.