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

line weight
line weight
hi,
i'm using an old version of the dwgdirect library (2002) and the function setlineweight doesn't work correctly because when i reopen the generated .dwg file in autocad, the line weight of any entity is set to bylayer. moreover, the call setlwdisplay(true) seems to work, at least, the value has changed to true when i call getlwdisplay() after the call to setlwdisplay(true). but when i open the generated file in autocad, the value lwdisplay is set to off.
format test : dwg r12,r13
autocad 2002
microsoft visual c++ .net 2003
windows xp
thanks,
mst
lineweights were introduced in autocad 2000 (r15).
round-trip information on lineweights can be saved to r13-r14 (depending on saveroundtrip variable).
but only autocad 2000 and later or dwgdirect can interprete it.
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)