質問

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