登录
首页 » 图形图像 » DXF文件读写接口

DXF文件读写接口

于 2022-03-24 发布 文件大小:15.56 kB
0 190
下载积分: 2 下载次数: 1

代码说明:

供用户直接调用的12个子程序调用: 1、 opendxf(xl,yl,drname,lend) 功能:新建DXF文件, 参数:xl,yl,drname,lend 分别为图幅长、宽、图名、图名长度  注意: 接口库中使用了文件通道号990、991、992、993、998、999, 请在程序中不要重复使用  2、 layer(ca1,nc) 功能:在表段和头段中写层信息, 参数:ca1,nc分别为层名、颜色值 注意:必须先赋层名值:ca1="hjk328" 再调用 call layer(ca1,ic)       不能直接call layer("hjk328",ic) 3、 circle(cx,cy,cz,cr) 功能:画圆 参数:cx,cy,cz,cr 分别为圆心的三维坐标和半径 4、 trace(x1,y1,z1,x2,y2,z2,wh) 功能:画轨迹线 参数:x1,y1,z1,x2,y2,z2,wh 分别为轨迹线中线端点三维坐标及线宽 5、 line(x1,y1,z1,x2,y2,z2) 功能: 画单线 参数:x1,y1,z1,x2,y2,z2  分别为线端点三维坐标 6、 poly(PLX,PLY,PLZ,NV,WH) 功能:画复线  参数:PLX,PLY,PLZ,NV,WH分别为复线各拐点三维坐标、拐点数及线宽 7、 point(x1,y1,z1) 功能:画点 参数:x1,y1,z1分别为点的三维坐标 8、 hz(xxt,yyt,zzt,zzh,rrang,ssca,qxj,cca1,len) 功能:中点对正写单行汉字 参数:xxt,yyt,zzt,zzh,rrang,ssca,qx

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 直线扫描算法rivate AX1(100) As Integer, AY1(100) As Integer, AX2(100) As Integer, AY2(...
    直线扫描算法rivate AX1(100) As Integer, AY1(100) As Integer, AX2(100) As Integer, AY2(100) As IntegerPrivate CX1 As Integer, CY1 As Integer, CX2 As Integer, CY2 As Integer, N As IntegerPrivate Sub form_Load()Picture1.BackColor = RGB(255, 255, 255)N = 0End SubPrivate Sub picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)If Button = 1 ThenCX1 = CInt(X): CX2 = CInt(X)CY1 = CInt(Y): CY2 = CInt(Y)End IfEnd Sub-linear scanning algorithm rivate AM1 (100) As Integer, AY1 (100) As Integer, AX2 (100) As Integer, AY2 (100) As IntegerPrivate CX1 As Integer, CY1 As Integer, CX2 As Integer, CY2 As Integer, N As IntegerPrivate Sub form_Load () Picture1.BackColor = RGB (255, 255, 255) N = 0End SubPrivate Sub picture1_MouseDown (Button As Integer, Shift As Integer, As Single X, Y As Single) If Button = = a ThenCX1 CInt (X) : CX2 = CInt (X) = CY1 CInt (Y) : CY2 = CInt (Y) End Sub IfEnd
    2023-04-06 10:20:03下载
    积分:1
  • VB写的颜色转换器 演示VB中使用API进行编程
    VB写的颜色转换器 演示VB中使用API进行图形编程-VB was the color converter demonstration using VB API Graphics Programming
    2022-02-02 14:59:53下载
    积分:1
  • EasyDraw轻松绘程序源代码
    EasyDraw轻松绘图程序源代码 -EasyDraw relaxed cartography procedure source code
    2022-04-12 12:07:03下载
    积分:1
  • Peking University
    北京大学遥感所的研究生图像处理讲义高级遥感数字图像处理(硕士生课程)之第七章 代数运算-Peking University
    2022-04-28 20:28:08下载
    积分:1
  • 希尔伯特曲线映射程序实验报告
    Hilbert 曲线的绘制程序 有实验报告-Hilbert curve mapping procedure experimental report
    2022-12-20 23:55:03下载
    积分:1
  • 这是我做本科毕业设计时用的dameon程序,它采用肤色和贝叶斯判别方法进行人脸检测,具有高的检测率和低的误码率....
    这是我做本科毕业设计时用的dameon程序,它采用肤色和贝叶斯判别方法进行人脸检测,具有高的检测率和低的误码率.-This is what I do when we graduated from the design dameon procedures, It uses color and Bayesian methods discriminant face detection with high detection rate and a low error rate.
    2022-05-06 11:14:43下载
    积分:1
  • OCR软件的源码
    OCR软件的源码-OCR software source code
    2022-03-10 11:02:02下载
    积分:1
  • 等多种方式显示时间钟表,在工控等方面常用
    以图形等多种方式显示时间钟表,在工控等方面常用-graphics to show in various forms, time clocks, the IPC so common
    2023-04-11 19:50:04下载
    积分:1
  • .wrl viewer
    查看.wrl模型文件,并在mfc的界面中显示出来-.wrl viewer
    2023-05-13 13:45:03下载
    积分:1
  • this program will not only draw one of the complex spiral patterns, can be tilte...
    此程序不但画出了其中的复杂的螺旋图案,还可以倾斜任意角度,具有较大的灵活性,其中的一些细节很值得学习,对其他的绘制图形起了一个很好的借鉴作用-this program will not only draw one of the complex spiral patterns, can be tilted at any angle, with greater flexibility, some of which is worth learning details of the other mapping graphics with a good reference
    2022-06-02 20:30:17下载
    积分:1
  • 696516资源总数
  • 106668会员总数
  • 21今日下载