![]() |
【转帖】ext Covered By The Solid Hatch
text covered by the "solid" hatch
text covered by the "solid" hatch hi! now i can read and display the file "demo0.dwg".but i find that the text is covered by hatch,and i open the file with autocad,the text can be displayed. i find that the hatch has a "oddbdictionary" in it,and how can i get the information in "oddbdictionary". can you give me some demo code? thank a lot. attached files quote: originally posted by zhang hi! now i can read and display the file "demo0.dwg".but i find that the text is covered by hatch,and i open the file with autocad,the text can be displayed. "acdbsortentstable is the persistent container for draw order information. it resides in the extension dictionary of an associated acdbblocktablerecord under the key acad_sortents." quote: originally posted by zhang i find that the hatch has a "oddbdictionary" in it,and how can i get the information in "oddbdictionary". can you give me some demo code? oddbobjectid dictid = entityptr->extensiondictionary(); if ( !dictid.isnull() ) { oddbdictionaryptr dict = dictid.safeopenobject(); if ( !dict.isnull() ) { ... } } best regards, sergey z. oddbobjectid dictid = entityptr->extensiondictionary(); if ( !dictid.isnull() ) { oddbdictionaryptr dict = dictid.safeopenobject(); if ( !dict.isnull() ) { ...//what should i do here?help me...fff">} } oddbblocktablerecord::newiterator() has "sorted" parameter. if it's "true" than you'll get entities sorted according to sortents table. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 06:55 AM. |