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

annotation attachment in leader entity
annotation attachment in leader entity
i am not able attach annotation in the leader entity. i am using only object id to attach annotation.
what are the necessary parameters to be set before attaching the annotation?
is evaluate leader somewhat similar to recomputedimblock?? do i need to call this function also?
thanks
regards
prakhar
see odwriteex sample. it contains code creating leaders. note that not entity types can be used as annotation.
sergey slezkin
hello,
thanks! now i am able to attach the annotation but the hook line (dogleg in case of mtext) direction is opposite, is there any function to set the direction?
also how to calculate the start point of the annotation?
try to create a leader like you want to make in dd in autocad and look at it and it's annotation parameters.
for example autocad sets text alignment (left/right) depending on leader's direction and changes it if you drag the mtext entity.
if you set only annotation id to leader dd will calculate annotation direction etc. itself.
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)