![]() |
【转帖】problem vectorizing oddbregion
problem vectorizing oddbregion
problem vectorizing oddbregion hi, i am using dd 1.13.02. i have a dll which statically links to the dd libs. the dll is then loaded/used by the main application. i can vectorize all entities except oddbregion. i have written: quote: odrx_declare_static_module_entry_point(modelermodu le); odrx_begin_static_module_map() odrx_define_static_application("modelergeometry", modelermodule) odrx_end_static_module_map() in one of my cpp files and called: quote: odrx_init_static_module_map(); just after odinitialize(). ..but the oddbregion entities are not vectorized. i can see the draw() function being called for them though. the odvectorize example calls odrx_init_static_module_map(); before odinitialize() while the dwgdirect help file says that quote: after the static module map has been declared, the dwgdirect client application should call the odrx_init_static_module_map macro once to initialize the static module map. this should be done after odinitialize, i tried both..but it still didn't work. i cannot reproduce the problem with the odvectorize sample though. 01. do i have to do something special to initialize modelergeometry library when the libs are statically linked to a dll?? 02. how can i know if the modeleregeometry.lib has been initialized properly? thanks alex |
所有的时间均为北京时间。 现在的时间是 05:09 PM. |