DMIS5.0标准释义如下: 1.在输出报告,设置里面定义一个设备。2.拷贝要读取文本点信息的文件到要定义设备目录下。3.需要声明循环变量,元素标签名变化变量,以及点信息位置X,Y,Z,I,J,K变量。DMISMN/'Created by [山涧果子] on 星期日, 十二月 17, 2017', 4.0UNITS/MM, ANGDECWKPLAN/XYPLANPRCOMP/ONTECOMP/ONFLY/1.000000MODE/PROG, MANSNSET/APPRCH, 10.000000SNSET/RETRCT, 10.000000SNSET/DEPTH, 10.000000SNSET/SEARCH, 10.000000SNSET/CLRSRF, 10.000000RECALL/D(MCS)SNSLCT/S(ROOTSN1)GEOALG/CIRCLE, LSTSQRGEOALG/ARC, LSTSQRGEOALG/PLANE, LSTSQR$$$$MODE/PROG,MANDID(Shanjianguozi) = DEVICE/STOR,'E:\Lenovo.txt'OPEN/DID(Shanjianguozi), DIRECT, INPUT$$$$声明点信息X,Y,Z,I,J,K为变量,以及循环变量,点信息元素标签名字符变量!$$DECL/COMMON,INTGR,IDECL/COMMON,DOUBLE,XX[10]DECL/COMMON,DOUBLE,YY[10]DECL/COMMON,DOUBLE,ZZ[10]DECL/COMMON,DOUBLE,II[10]DECL/COMMON,DOUBLE,JJ[10]DECL/COMMON,DOUBLE,KK[10]DECL/COMMON,CHAR,255,C1DO/I,1,10,1READ/DID(Shanjianguozi),XX[I],YY[I],ZZ[I],II[I],JJ[I],KK[I]C1 = ASSIGN/CONCAT('PT','-',STR(I))F(@C1) = FEAT/POINT,CART, XX[I],YY[I],ZZ[I],II[I],JJ[I],KK[I]OUTPUT/F(@C1) 设置输出主要是为了与文本信息对比看点信息是否有出入,实际测量时一般不需要。ENDDO 来源:山涧果子