CustomObject, AcDbBlockReference

CustomObject, AcDbBlockReference

daniel_gearloose
Enthusiast Enthusiast
453 Views
2 Replies
Message 1 of 3

CustomObject, AcDbBlockReference

daniel_gearloose
Enthusiast
Enthusiast

Hello Forum,

is there a good Sample for a CustomObject derived from AcDbBlockReference?

Or can anyone maybe provide me one?

0 Likes
454 Views
2 Replies
Replies (2)
Message 2 of 3

tbrammer
Advisor
Advisor

It is usually a better idea to use overrules instead of deriving a new entity class. See AcRxOverrule and its derived classes. What kind of special behaviour do you need in your custom BREFs?


Thomas Brammer ● Software Developer ● imos AGLinkedIn
If an answer solves your problem please [ACCEPT SOLUTION]. Otherwise explain why not.

0 Likes
Message 3 of 3

artc2
Autodesk
Autodesk
Also, if you really do want to derive from AcDbBlockReference, be aware that your derived class won't be able to have attributes the way that an actual AcDbBlockReference can.