高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】how can i remove the entities from the database
how can i remove the entities from the database?
how can i remove the entities from the database?
hi,
i want to remove the entities which were erased,because the database is too large for saving.somebody give me a example?thanks.
erased entities are not saved to file.
sergey slezkin
purge
do you mean something like the purge command in autocad?
i'm new here so i have no idea how to implement this without acad but i thought i'd just try to clarify.
good luck
if you erase entities with oddbobject::erase() method they stay in memory untill database is destroyed. erased objects are not saved to file. so if the problem is that "the database is too large for saving" you need not do anything.
if the problem is that the large number of erased entities still occupy a lot of memory while you need to continue working with the drawing see developers guide / paging support.
sergey slezkin
|