Message 1 of 1
Custom Property - Assertion error
Not applicable
03-13-2002
10:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.
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.