本站提供最佳多线程源码实例服务,欢迎转载和分享。

【爱券券 小程序源码】【神魔之道源码】【kettle 源码包】autocad软件源码_cad源码大全

2024-11-30 01:54:15 来源:opengl花瓣 源码 分类:焦点

1.VB.Net读取AutoCAD图纸
2.Autocad2004完全解密版

autocad软件源码_cad源码大全

VB.Net读取AutoCAD图纸

       å¦‚果可以的话请把分给我

       ã€€ã€€ä»¥ä¸‹æ˜¯cad版的,引用autocad type library 和autocad/objectdbx common 如果是或者版本更低的只要引用autocad type library,代码的话大同小异,思路是一样的

 

       ã€€ã€€

           Private Sub Form1_Load(ByVal sender As System.Object,源码爱券券 小程序源码 ByVal e As System.EventArgs) Handles MyBase.Load

               On Error Resume Next

               Dim acadapp As Autodesk.AutoCAD.Interop.AcadApplication

               acadapp = GetObject(vbNullString, "autoCAD.application")

               Dim acaddoc As Autodesk.AutoCAD.Interop.AcadDocument

               acaddoc = acadapp.ActiveDocument

               Dim Ms As Autodesk.AutoCAD.Interop.Common.AcadModelSpace

               Ms = acaddoc.ModelSpace

               Dim acadObjectI As Autodesk.AutoCAD.Interop.Common.AcadObject

               Dim Linei As Autodesk.AutoCAD.Interop.Common.AcadLine

               Dim Circlei As Autodesk.AutoCAD.Interop.Common.AcadCircle

               Dim Polylinei As Autodesk.AutoCAD.Interop.Common.AcadPolyline

               Dim pt As Autodesk.AutoCAD.Interop.Common.AcadPoint

               For Each acadObjectI In Ms

                   Debug.Print(acadObjectI.ObjectName)

                   Select Case acadObjectI.ObjectName

                       Case "AcDbLine"

                           Linei = acadObjectI

                           Debug.Print("X =" & Linei.StartPoint(0).ToString)

                           Debug.Print("Y =" & Linei.StartPoint(1).ToString)

                       Case ""

                       Case ""

                   End Select

               Next

           End Sub

Autocad完全解密版

       AutoCAD 迷你版 v0.2

       /HTML/.html

       AutoCAD +SP1 龙卷风会员版

       /HTML/.html

       AutoCAD 简体中文免注册自动激活版

       /HTML/.html

【本文网址:http://0553.net.cn/html/17a630493678.html 欢迎转载】

copyright © 2016 powered by 皮皮网   sitemap