Has anybody had any experience accessing the Autocad or Inventor API with Clojure?

有帮助吗?

解决方案

If you can access autocad through Java, then you can get to it from Clojure. I found this SO question on that matter. (http://stackoverflow.com/questions/856973/interfacing-autocad-with-java) Basically they've built a JNI bridge to the autocad API. Once you do that then you can access that through Clojure. It sounds like a non-trivial undertaking though to say the least.

I'm pretty old, and the last time I checked (cough 20+ years ago cough), Autocad was extensible via Autolisp. If that's still true, then would you really want to bolt on Clojure? Just curious.

其他提示

As far as I know, AutoDesk exposes API for their products in .net environment. There is a paralel clojure implementation in Microsoft clr (.net environmet).

https://github.com/richhickey/clojure-clr

I think this would be a better way to aproach Autocad Scripting.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top