高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|