高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】dwf export default lineweigh
dwf export default lineweight
dwf export default lineweight
i have a simple program based on oddwfexportex (dwf export example), with dwgdirect 1.14.02. it just reads a dwg and writes a dwf. i'm having a problem with a non-zero default lineweight being set on all the dwf files. this results in the following: in the dwf viewer, when you zoom in past a certain point, all the lines suddenly have width, and further zooms make them thicker. this makes it hard to use the dwf files. the same drawings exported using the opendwg viewkit do not have this problem.
my dwf files (if ascii) are coming out with this, towards the top:
(colormap ...)
c 255
(lineweight 21)
(linestyle
(linejoin round)
(linestartcap round)
(lineendcap round))
the problem is the lineweight 21. it shouldn't be there, or should be defaulting to 0. i can't see where it is being set, or if there is any way to change it. can anyone help?
1. a line with lineweight is scalable. to set "0.0" lineweight if you want non-scalable value.
2. there is lwdisplay variable.
3. viewer can has some lineweightdisplay setting.
misha kuzinets
|