![]() |
【转帖】user Block
user block
user block i have a database reactor added to my project and i think the following event gets called (for each entity in the user block) when i call undo of the "user block" creation. void cdbreactor:bjectunappended(const oddbdatabase* pdb,const oddbobject* pobject) //cdbreactor is derived from database reactor class {} inside the above event , i would like to know whether the pobject is an entity within a user defined block or not. how can i do that? i am getting the ownerid of pobject and if pobject is an entity , i am opening the ownerid object from within the even handler . for this specific (undoing block creation) , when i try to do the same , i am getting the error "was open for undo" try to open owner "for notify": openobject(oddb::kfornotify) vladimir |
| 所有的时间均为北京时间。 现在的时间是 02:38 PM. |