![]() |
【转帖】problem with creation of ole2frame objects in dwgdirect 1.13
problem with creation of ole2frame objects in dwgdirect 1.13
problem with creation of ole2frame objects in dwgdirect 1.13 hello, currently i am porting my project from dwgdirect 1.12 to dwgdirect 1.13 and i ran into a problem with creation of ole2frame objects. the problem is that if i create a drawing that contains an ole2frame object in model space and then open this drawing in autocad 2002, then that ole2frame object appears to be missing. it seems that this problem is autocad 2002 specific, because it is not reproducible with autocad 2004/2005. also, there is no such problem with ole2frame objects, which reside in paper space. i had the similar problem previously (at the moment i've been using dwgdirect 1.12), but i solved it by addition of a call to oddbole2frame::setmodelflag method. unfortunately, this method disappeared in dwgdirect 1.13 and i cannot find a substitute for it. is there a way in dwgdirect 1.13 to specify where the ole2frame object will reside (model or paper space)? please note, that i am looking for a way that will allow me not only to set the value for dxf72 group code, but also to set the appropriate bytes in first 128 bytes of ole2frame's binary data. thanks in advance, alexey popov pope # 26th april 2005, 02:36 am softdev join date: oct 2002 location: russian federation, spb posts: 332 hi alexey, it's a bug... we surely will fix it in nearest update for 1.13. for now we have workaround to solve the problem: alternative oleitemhandler.drx which gives access to all private fields of oddbole2frame objects. we could build drx/lib for the platform/compiler you need. so which library build you need ? note: alternative oleitemhandler.drx does not provide ole rendering functionality... dmitry a. novikov none ? | ? thread tools display modes linear mode search this thread rate this thread excellent good average bad terrible posting rules you may post new threads you may post replies you may post attachments you may edit your posts is on are on code is off html code is off forum jump user control panel private messages subscriptions who's online search forums forums home general topics news questions and remarks business issues industry commentary general software issues documentation issues future directions dwg libraries dwgdirect.net dwgdirect, c++ version dwgdirectx, activex version adtdirect/c3ddirect opendwg toolkit/viewkit dgn libraries dgndirect, c++ version (2.x+) dgndirect libraries (legacy 0.99xx) all times are gmt -7. the time now is 12:19 amfff">. - - - copyright ?2000 - 2009, jelsoft enterprises ltd. copyright 1998-2008 open design alliance inc. hi alexey, it's a bug... we surely will fix it in nearest update for 1.13. for now we have workaround to solve the problem: alternative oleitemhandler.drx which gives access to all private fields of oddbole2frame objects. we could build drx/lib for the platform/compiler you need. so which library build you need ? note: alternative oleitemhandler.drx does not provide ole rendering functionality... |
所有的时间均为北京时间。 现在的时间是 04:19 PM. |