Maya to be included in One LISP campaign

We are moving towards the cloud nowadays. I’ve heard some news from 3ds Max guys and they are going to add JavaScript support in the near future. It is wonderful for cloud products like A360 Cloud rendering services in 3ds Max. For the desktop products, we have some a similar movement in Maya.

There are lots of programming languages for Autodesk developers today, like MAXScript, MEL, JavaScript, Python, C++, etc. But above all, AutoLISP should be most important, it is introduced at very beginning and thrives in the AutoCAD product line.

Today, to make it easier to develop plug-ins for our different products, we decide to launch a One LISP campaign to make AutoLISP API available across our whole production line.

The first product going to add LISP support is Maya and it is coming in our next major release. Let’s take a sneak preview into it.

(ns MayaLispPlugin
(:require [clojure.core])
(:gen-class
:name MayaLispPlugin.helloWorldCmd
:extends Autodesk.Maya.OpenMaya.MPxCommand
:implements [Autodesk.Maya.OpenMaya.IMPxCommand]
:main false
)
)
(defn -doIt [this args]
(Autodesk.Maya.OpenMaya.MGlobal/displayInfo "Hello World!n"))

It is a helloWorldCmd sample in LISP:

Brief

Feel excited about the new toy? Don’t forget to check about the Javascript story on the 3ds Max SDK blog!.

For more details, please check out our press release Autodesk launches One LISP campaign.


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading