04-03-2012 09:01 AM
I have implemented a custom ENTITY type, derived from ENTITY_XYZ, which has data (geometry) and attributes attached.
How can I get the function api_get_entity_box to return the correct bounding box for my entity type?
Is there a function which I can override, or should I attach a dummy entity, which has the same bounding box?
I looked at the documentation on deriving custom entity classes, but could not figure out how this could be done.
Thanks for any suggestions!