Valued Contributor
Posts: 53
Registered: ‎07-07-2004
Message 1 of 2 (140 Views)
Accepted Solution

Derive from AcGiDrawable?

140 Views, 1 Replies
11-23-2012 08:36 AM

I wanted to derive a class from AcGiDrawable but the ACRX_DXF_DEFINE_MEMBERS macro is giving the error: C2259: cannot instantiate abstract class. If I override all the pure virtual functions declared in AcGiDrawable, it would no longer be an abstract class?


Any suggestions? Surely this can be done since classes like AcDbEntity implement this class.


Mike B

Valued Contributor
Posts: 53
Registered: ‎07-07-2004
Message 2 of 2 (137 Views)

Re: Derive from AcGiDrawable?

11-23-2012 09:26 AM in reply to: mbujak

Sorry, missed on pure virtual function.:smileyembarrassed:



Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.