查看单个帖子
旧 2009-05-07, 04:42 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)