is it possible to somehow link an xrecord to a graphic entity such that
if the entity gets deleted
the xrecord goes away as well? or does my application have to do the
deletion?
If you call:
(vla-getextensiondictionary(vlax-ename->vla-object ename)))
on an entity without an extension dictionary, this will create one.
After that, add your xrecord just as you would add it to the named object
dictionary or a dictionary which is owned by the NOD.
> If I add my own dictionary for my application is
> dictremove the only way to delete my dictionary.
>
Have you tried (entdel)?
Also, dictionary objects have a "delete" method, so you should be able to
do it via Active X, though I haven't tried it.