Description
MAKE_ACDBOPENOBJECT_FUNCTION(CLASSNAME)
Note: The acdbOpenObject() function is a template function defined in dbmain.h where the first parameter is of type (CLASSNAME *&). This macro exists for backwards compatibility with prior source which required use of this macro to define a type-specific version acdbOpenObject().
This macro will create an overloaded version of the acdbOpenObject() function for the class specified by ClassName. This macro should be used only for classes that are derived (either directly or indirectly) from AcDbObject.
The presence of an overloaded version of acdbOpenObject() allows code to open an object without the need to know what it is before doing so.
The ClassName argument should not be in quotes. If quotes are used, they will be treated as part of the actual ClassName string. Also, ClassName is case-sensitive.
CLASSNAME : Input name of the class for which to make the acdbOpenObject() function