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

reversed insert ocs
reversed insert ocs
with the new dwgdirect it looks like if we have an insert with a negative x scale we are setting the ocs x-axis to (-1,0,0). this is incorrectly mirroring my insert point across the x-axis since the insert point is in the ocs, was this change intentional (want to know if i have to change my old toolkit code, or just wait for the next version of dwgdirect)?

in odt block insertion position was specified in ocs. in dwgdirect it is specified in wcs like in objectarx. so you need to alter your old code.
btw, setblocktransform() can set transformation matrix in a single step (position, rotation, normal, scale).
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)