ObjectARX

Reply
Valued Contributor
53 Posts
3 Kudos
Registered: ‎07-07-2004
Post 1 of 2
Accepted Solution

Derive from AcGiDrawable?

155 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

Sorry, missed on pure virtual function.:smileyembarrassed:

 

Mike

Valued Contributor
53 Posts
3 Kudos
Registered: ‎07-07-2004
Post 2 of 2

Re: Derive from AcGiDrawable?

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

Sorry, missed on pure virtual function.:smileyembarrassed:

 

Mike

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!