autocad

Are there any libraries for parsing AutoCAD files?

一个人想着一个人 提交于 2019-11-30 06:53:52
Are there any libraries (preferably open-source) for parsing AutoCAD files (DWG or DXF)? CAD bloke Duplicate of (or at least related to) Open source cad drawing (dwg) library in C# & .Net CAD component that can read/write dxf/ dwg files There isn't anything available for parsing DWG for free that I would regard as reliable. The Open Design Alliance tends to be cheaper & runs on more OS's than AutoDesk's RealDWG offering. The ODA has a price-tier for startups who aren't yet shipping code - RealDWG doesn't. Both the ODA and AutoDesk offer support in forums - you have to be a member of the ODA

Visual Lisp: how to call functions in external C++ DLL

孤街浪徒 提交于 2019-11-30 04:12:33
问题 I have a C++ dll I have written (native, not .net), and I would like to use its functionality from Visual Lisp. Can anyone point me to an example of how to do this, or at least which bit of documentation to read? 回答1: I solved this by writing an activex/COM wrapper for my dll, which I think should make it easier to link to in future. Starting a thread on the swamp yielded some answers from nice people about how to call COM from Visual Lisp. For the record, it looks something like this: //in c

水清冷冷:AutoCAD 2018安装图文教程方法(附工具),windows系统X64

╄→尐↘猪︶ㄣ 提交于 2019-11-29 16:04:49
> 工具分享在底部 AutoCAD 2018 是新版的工程制图软件工具,功能强大实用的自动计算机辅助设计软件,可以用来制作和绘制二维制图、详细绘制和基本的三维设计功能。通过它的功能,咱们不需要懂得深奥编程,就可以轻松自动制作绘图。经常被广泛应用在土木建筑,装饰装潢,工业制图,工程制图,电子工业,服装加工等多方面领域。 AutoCAD 2018 X64 是从事工业设计行业不可缺少的实用工具,让设计操作更人性化流畅,稳定自用版本。CAD2018 64位中文版具有演示的图形、渲染工具、强大的绘图和三维打印功能。每个人都要熟练掌握好一项工具技能,能让自己在社会立足更有把握。 详细CAD2018安装图文教程: 1.用鼠标右击软件安装包,选择解压到CAD2018。 2.双击打开CAD_2018_64bit.exe 3.点击更改,选择解压目标文件夹,可在D盘或其它盘里面新建一个CAD2018文件夹,然后点击确定。 4.然后点击安装。 5.这里选择我接受,然后点击下一步。 6.点击浏览更改软件安装路径:建议安装到除C盘以外的磁盘,可选择之前在D盘或其它盘里面新建的那个文件夹CAD2018。然后点击安装。 7.安装中(可能需要32分钟左右)。 8.点击完成,若弹出重启系统对话框选择否,以后手动重新启动。 9.双击打开电脑桌面上的CAD软件图标。然后选择第一项:始终将DWG文件与AutoCAD重新关联

Are there any libraries for parsing AutoCAD files?

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-29 07:36:29
问题 Are there any libraries (preferably open-source) for parsing AutoCAD files (DWG or DXF)? 回答1: Duplicate of (or at least related to) Open source cad drawing (dwg) library in C# & .Net CAD component that can read/write dxf/ dwg files There isn't anything available for parsing DWG for free that I would regard as reliable. The Open Design Alliance tends to be cheaper & runs on more OS's than AutoDesk's RealDWG offering. The ODA has a price-tier for startups who aren't yet shipping code - RealDWG

Why am I getting the “LoaderLock was detected” warning when debugging?

て烟熏妆下的殇ゞ 提交于 2019-11-29 05:47:06
I'm developing an add-on for AutoCAD 2009. The project output is a class library. When I attempt to debug and load the class library, I get this "LoaderLock was detected message." I've been writing these add-ons for awhile and this is the first message of this type I've seen. Where do I start trying to figure this out? What is LoaderLock and why is it bothering me now? LoaderLock was detected Message: Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang. I went

【示例详解】AutoCAD处理控件Aspose.CAD8月新更!支持加载大型DWG文件

守給你的承諾、 提交于 2019-11-28 19:48:06
Aspose.CAD for .NET 是一个独立的AutoCAD处理API。它提供将DWG,DWF和DXF文件转换为高质量PDF和光栅图像的功能。开发人员可以从AutoCAD文件中选择和转换特定的布局和图层,并轻松跟踪整个文件转换过程。 近期 Aspose.CAD for .Net (点击下载) 更新至最新版v19.7,新增支持DWG R11,R12格式,增强加载大型CAD文件,支持设置自定义视图以进行渲染,接下来,我们通过示例来了解新增功能! 加载大型DWG文件 Aspose.CAD for .NET提供了使用CadImage类打开非常大的DWG文件的功能。现在,您可以使用下面给出的示例示例轻松打开大文件。 //文档目录的路径. string MyDir = RunExamples.GetDataDir_DWGDrawings(); string filePathDWG = MyDir + "TestBigFile.dwg"; string filePathFinish = MyDir+ "TestBigFile.dwg.pdf"; Stopwatch stopWatch = new Stopwatch(); try { stopWatch.Start(); using (CadImage cadImage = (CadImage)Image.Load(filePathDWG)

How can I improve the speed of .NET Plug-in Development?

无人久伴 提交于 2019-11-28 10:05:54
问题 I'm developing an AutoCAD add-in, which uses a .NET 4.6 assembly. I am finding the development process very frustrating; the API is very large and the documentation beyond getting started is all over the place and very hard to find. The only way to get anything done seems to be just prototyping functions in Visual Studio and seeing if it works. It then takes several minutes to load up AutoCAD and attach a debugger, which wrecks my prototyping workflow. It would be very handy if I could have

How can I open AutoCAD 2015 through the .NET API

我的梦境 提交于 2019-11-28 10:02:21
I've been browsing for a good hour and have yet to find something that would help with this. I'm working on opening AutoCAD from the .NET API in VS2013 using C#, but for some reason, I can never get AutoCAD to actually launch. I'm using the following code: using System; using System.Runtime.InteropServices; using Autodesk.AutoCAD.Interop; using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD.ApplicationServices; namespace IOAutoCADHandler { public static class ACADDocumentManagement { [CommandMethod("ConnectToAcad")] public static void ConnectToAcad() { AcadApplication acAppComObj = null; //

Reading .DXF files [closed]

。_饼干妹妹 提交于 2019-11-27 13:59:54
Does anyone know of source code, ideally in C# or similar, for reading .DXF files (as used by AutoCAD etc)? If not code, then tables showing the various codes (elements / blocks / etc) and their meanings? I am writing a reader myself, and have dead tree documentation detailing the format, but am trying to avoid writing e.g. a converter from each of the 255 ACI colours to RGB... Thanks! sBENdk Cadlib from WoutWare have I been using for a couple of projects with good results. I have work a couple of years at developing my own DXf-Viewer in java (you could drop your own DXF file or an URL on the

AutoCAD.Net/C#.Net QQ群:193522571 AutoCAD .Net 创建Ribbon界面并且进行执行

南笙酒味 提交于 2019-11-27 12:04:41
版权声明:本文为CSDN博主「HisinWang」的原创文章,遵循CC 4.0 by-sa版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/hisinwang/article/details/78797068 从 AutoCAD 2009 版开始,引入了 Ribbon 界面。 那怎样用代码创建 Ribbon 界面呢? 本篇文章讲解如何创建如下图所示的 Ribbon Tab 页:测试Ribbon页。 如上图所示: AutoCAD 的 Ribbon 界面由一系列 Tab 组成:默认、插入、注释…… 测试Ribbon页 是我们创建的 Tab 页。 它由两个 Panel 组成:Panel1、Panel2。 Panel 下面就是三个按钮:直线、圆、Test。 除了需要添加 AutoCAD 引用: acmgd、acdbmgd、accoremgd(AutoCAD 2012版本及后续版本)。 还需要添加如下 AutoCAD 引用: * AcWindows * AdWindows using System; using System.Collections.Generic; using System.Text; using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD