几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】lineweight problem (http://www.dimcax.com/hust/showthread.php?t=17055)

yang686526 2009-05-06 04:54 PM

【转帖】lineweight problem
 
lineweight problem
lineweight problem
found the following problem in dwgdirect 1.11.1 (and earlier versions):
when you save a drawing in r14 format the setting for the lineweight for new entities is set to 0.00 (but only when it was "bylayer").
do the following:
- start odamfcapp
- set lineweights to "bylayer" in the "format-lineweights settings dialog"
- save as r14 dwg
- close the drawing
- open the drawing in odamfcapp
- check the lineweights setting in the "format-lineweights settings dialog"
- now it is 0.00
this happens only when you save in r14 format. when you save in r15 format it does not happen.
any idea what the problem could be ?
thanks
oliver
i was unable to duplicate this behavior. are you using the latest 1.11.01 release?

yes, i am using 1.11.01 and the vc6md libs.
you need to select tools/options/save round-trip data from within odamfcapp, and then it should work. the lineweight value is saved back to r14 as "round-trip" data, since lineweights are not natively supported in r14.

neil,
thank you very much for your help.
but:
when i set the check "tools/options/save round-trip" it saves all lineweights correctly except the bylayer setting.
means:
when i set byblock save in r14 format and reopen it is still byblock, when i set 0.13 and reopen it is still 0.13 but when i set bylayer and reopen it is 0.00 (always with "tools/options/save round-trip" enabled)
that is a bug--we will get it fixed in the upcoming 1.12 release (4-5 weeks).

ok,
thank you for the information.
then i will try it with 1.12


所有的时间均为北京时间。 现在的时间是 05:13 AM.