为AutoCAD开发插件? [英] Developing plugins for AutoCAD?

查看:170
本文介绍了为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 DevBlog .

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.

如前所述,通过接口是.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的早期和Beta访问权限.

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开发插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆