GISc 发表于 2006-3-23 20:02:00

按照手册写了一个简单的dxf文件,为啥就不对呢?请大家指点

<P>我按照手册写了dxf文件:</P>
<P>&nbsp;0 <BR>SECTION<BR>&nbsp;2 <BR>ENTITIES<BR>&nbsp;0 <BR>MTEXT<BR>&nbsp;5 <BR>2B<BR>&nbsp;100 <BR>AcDbEntity<BR>&nbsp;8 <BR>MyText<BR>&nbsp;100 <BR>AcDbMText<BR>&nbsp;10 <BR>&nbsp;4.66 <BR>&nbsp;20 <BR>&nbsp;5.77 <BR>&nbsp;30 <BR>&nbsp;0 <BR>&nbsp;40 <BR>&nbsp;1 <BR>&nbsp;41 <BR>&nbsp;5 <BR>&nbsp;71 <BR>&nbsp;1 <BR>&nbsp;72 <BR>&nbsp;5 <BR>&nbsp;1 <BR>Test<BR>&nbsp;73 <BR>&nbsp;1 <BR>&nbsp;44 <BR>&nbsp;1 <BR>&nbsp;0 <BR>ENDSEC<BR>&nbsp;0 <BR>EOF</P>
<P>用AutoCAD 2002打开后报了一个错“对象未定义编组 10第 16 行。”这是怎么回事呢?</P>
<P>另外,组码5 和 330 是否一定要写呢?如果要写得话应该怎么写呢,我不太理解句柄和指针的含义,我是新手,还请不要见笑,谢谢:)</P>
页: [1]
查看完整版本: 按照手册写了一个简单的dxf文件,为啥就不对呢?请大家指点