查看单个帖子
旧 2009-05-06, 04:43 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】leader and arrow types

leader and arrow types
leader and arrow types
hello,
i have problems getting the correct arrow type name from leader entity:
i use similar code as at parsing ordinary dimension arrow types:
oddbdimstyletablerecord dimstyle;
pleaderent->getdimstyledata(&dimstyle);
acadarrows1=oddmutil::arrowname(dimstyle.dimblk()) ;
i have tried also dimblk1 and dimblk2:
acadarrows1=ddmutil::arrowname(dimstyle.dimblk1()) ;
acadarrows2=ddmutil::arrowname(dimstyle.dimblk2()) ;
but the library allways returns null objectid (empty string).
can anyone help me how to get the correct arrow type? or is this maybe a bug in the library?
i am sending an example drawing:
regards, tomaz.
attached files
ldrblk variable is responsible for leader's arrow head.
sergey slezkin
sergey,
thanks for help. it works now.
regards, tomaz
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)