• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk ObjectARX

    Reply
    Valued Contributor
    Posts: 51
    Registered: ‎07-07-2004
    Accepted Solution

    Derive from AcGiDrawable?

    86 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

    Please use plain text.
    Valued Contributor
    Posts: 51
    Registered: ‎07-07-2004

    Re: Derive from AcGiDrawable?

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

    Sorry, missed on pure virtual function.:smileyembarrassed:

     

    Mike

    Please use plain text.