Custom Property - Assertion error

Custom Property - Assertion error

Anonymous
Not applicable
222 Views
0 Replies
Message 1 of 1

Custom Property - Assertion error

Anonymous
Not applicable
I have posted this once but it was buried in another thread and may have
been missed.

I have created a custom dbx object and wish to add custom properties to the
OPM. I have used the ATL Wizard to add all of the needed code. The following
section is generated by that wizard and causes an assertion error.

BEGIN_DYNPROP_MAP(CDynPropMan)
{
DYNPROP_CLASS_ENTRY(CCategorized,TJN_CLEADER)
END_DYNPROP_MAP()
};

If I change TJN_CLEADER to AcDbEntity then everything works but of course
the properties show up for all entities. How do I get it to recognize my
custom entity (TJN_CLEADER) so that it only shows properties when this
object is selected? I don't receive any errors when compiling. The assertion
error shows up as soon as I load the .dbx file.
0 Likes
223 Views
0 Replies
Replies (0)