![]() |
【转帖】dwg to pdf conversion111
dwg to pdf conversion!!!
dwg to pdf conversion!!! i have crated one dwg file and converted that file to pdf by using dwgdirect library. after that, i tried to open the converted pdf file by adobe reader but it did not open. pdfexportparams params; params.flags = pdfexportparams::pdfexportflags(pdfexportparams::k zoomtoextentsmode); ? ? ? exportpdf(params); attached are the dwg and pdf file for checking. is there insufficient data to make the dwg file? please let me know, where i made the mistake. --thanks yoshida attached files hi, your file containes layer with lineweight = bylayer. in my opinion this value cannot be used with layer. bylayer enum value is -1... as result pdf output includes negative lineweight command and viewer hangs. the temporary fix is void pdf2dexportdevice::dc_lineweight (double lineweight) { graphstatechanged(); pdficontentcommands *pout = cc(); pout->w(lineweight < 0 ? 0 : lineweight); } quote: originally posted by arumjantsev hi, your file containes layer with lineweight = bylayer. in my opinion this value cannot be used with layer. bylayer enum value is -1... as result pdf output includes negative lineweight command and viewer hangs. the temporary fix is void pdf2dexportdevice::dc_lineweight (double lineweight) { graphstatechanged(); pdficontentcommands *pout = cc(); pout->w(lineweight < 0 ? 0 : lineweight); } hello, thanks arumjantsev for your quick reply. let me check it. --yoshida |
所有的时间均为北京时间。 现在的时间是 10:22 AM. |