我正在尝试将预先存在的图纸中的块以程序方式插入到插件所运行的当前图纸中。为此,我在我的C#.NET表单上有一个按钮调用以下方法: public void MakeAndInsertObject() //Method to add all windows and doors templates...
我正在尝试找到一种方法,可以将C#类作为XRecord存储到AutoCAD实体中。例如,我有以下类: public class ExampleClass { private int x; private int y; public ExampleClass(int ...
编辑器类有一个名为GetString的方法,通过AutoCAD的命令提示框提示用户输入字符串值。我在这个包装方法中调用它: public static string PromptUserForString(string message = "Enter a string: ", string...
我正试图通过与此类似的连接字符串使用Entity Framework连接到Azure SQL数据库: Data Source=.database.windows.net;Authentication=Active Directory Integrated;Initial Catalog= ...