执行 最简单的代码
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.DatabaseServices;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
GetLayerPro();
}
public static void GetLayerPro()
{
Autodesk.AutoCAD.DatabaseServices.DBDictionary dt = new Autodesk.AutoCAD.DatabaseServices.DBDictionary();
}
}
}