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