本文介绍了为 AutoCAD 开发插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑开始为 AutoCAD 开发插件,但我完全不了解该领域.插件系统如何工作?许可条款是什么?有哪些编程平台可用?

I'm thinking about starting to develop a plugin for AutoCAD, but I have absolutely no knowledge of the field. How does the plugin system work? What are the licensing terms? What programming platforms are available?

如果有人能给我一本入门书,或者更好的是,为我这个初学者提供一些资源的链接,我将不胜感激.

I'd really appreciate if somebody could give me a primer, or, even better, link to some resources for the total beginner I am.

谢谢!

推荐答案

在 AutoCAD 2014 之前,AutoCAD 有三种基本插件类型:

Prior to AutoCAD 2014, there were three basic plugin types for AutoCAD:

  1. AutoLisp
  2. .Net
  3. ObjectARX

AutoCAD 2014 还提供:

AutoCAD 2014 also provides:

4.Javascript API.您可以在 AutoCAD 开发博客.

4. Javascript API. You can find a link to the documentation at the AutoCAD DevBlog.

AutoLisp 可以与 DIESEL 脚本/宏一起使用来完成和自动化用户可以通过 UI 完成的任何事情,也许还有一点,但是 .Net 和 ObjectARX 更强大,允许您创建自己的自己的实体和更高级的行为.

AutoLisp can be used with DIESEL scripts/macros to accomplish and automate basically anything that a user can due through the UI, and a maybe a little bit more, but .Net and ObjectARX are much more powerful, allowing you to create your own entities and more advanced behavior.

ObjectARX 是一个 C++ 接口,.NET 类实际上是 ObjectARX 接口的包装器..Net 接口很好地抽象了事物,但是在开发更复杂的应用程序时,您仍然必须关注线程以及可能的其他一些事情.

ObjectARX is a C++ interface, and the .NET classes are actually wrappers to the ObjectARX interface. The .Net interface abstracts things fairly well, but you still have to be concerned with the threading and possibly some other things as you develop more complex applications.

如前所述,Through the Interface 是一篇关于 .NET 内容的精彩博客.

As previously mentioned, Through the Interface is a great blog for .NET stuff.

对于 ObjectARX,ObjectARX & 上有很好的介绍.傻瓜,但对于更深入的材料,开发者论坛 是很好的资源.

For ObjectARX, there is a good introduction at ObjectARX & Dummies, but for the deeper material the Developers Forums are a good resource.

如果你正在为自己以外的人开发任何东西,你也应该认真考虑获得一个注册的开发者符号,以防止不同插件之间的冲突.您可以在符号注册页面上执行此操作AutoDesk 网站.

If you are developing anything for people other than yourself, you should also seriously consider getting a registered developer symbol to prevent conflicts among different plugins. You can do that at the Symbols Registration page on the AutoDesk website.

根据您的资源,您可能还想加入 AutoDesk 开发者网络 (ADN),提供软件技术支持的访问权限,以及即将推出的 AutoDesk 产品和 API 的早期和测试版访问权限.

Depending on your resources, you may also want to join the AutoDesk Developers Network (ADN), which provides access to software technical support, and early and beta access to upcoming AutoDesk products and APIs.

这篇关于为 AutoCAD 开发插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 20:55