Tagged 'c#'

MaxLINQ - LINQ functions for maxScripters

5 votes

MaxLINQ tool is intended to be a way to use inside maxscript language sweet predefined functions, similar to those in C# LINQ, through an easy lambda-style expressions syntax, concatenating functions after functions.

You can query arrays, strings, maxscript enumerables (objectSet, bitArray, groups, pathnames...) and DotNet IEnumerables.Moreover, it includes  specific functions for maxObjects.

It can be used both in your own scripts or directly in the 3dsMax Listener.

Some intuitive simple examples are:


Send Gmail from maxscript...

73 votes

This is a small c# class I wrote to help me send gmail from maxscript. I am going to use this in a special project where I need an email as soon as the rendering is complete then it sends me an preview image of that image.

You might need another reason for being able to gmail from inside 3dsmax.

The reason it is hardcoded for gmail was due to the requierments of my project. If there is a need for opening up so that you can have any settings, then I might do that in the future.

See included maxscript for how you can add this to one of your scripts.

Syndicate content