![]() |
【转帖】do dxf files need layer 0
do dxf files need layer 0?
do dxf files need layer 0? when saving a dxf file, i get an error ("cannot resolve layer table") if i've deleted layer 0. the same thing does not happen when saving a dwg file (i'm using odt right now). i guess i can work around it, but is this expected behavior? layer 0 must present in drawing (and some other default objects too like linetypes continuous, byblock, bylayer). sergey slezkin but it appears to only be true of dxf, not dwg. if i use odt to create a simple drawing, adsavefile() will give me an error if i'm saving as ad_dxf, but no error if saving as ad_dwg. it's not a big deal - i just couldn't find anything in a dxf format document that says it's required. valid autocad drawing contains a number of objects which must always present. if some essential objects are absent some programs may crash on such drawing, some not. i think even if you succeed in writing dwg without layer 0 with odt autocad will not be happy loading it. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 02:34 PM. |