ScriptSpot home

maxJs

Downloads

3ds Max compatibility
Unknown
Report a problem
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
0.01
Author’s update date
Legacy votes
1
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

maxscriptfactory

Pavel Vojacek

More by this author

Description

Have fun with javascript in 3dsmax. Very simple integration google's V8 engine over .net. Please read instruction on my pages, some manual adjustments are necessary.
Already here, I say it's just basic javascript (no xhr and similar stuff)
Probably useless. Take it as an example.

Comments (5)
fajar

could you give us some example?

Reply to fajar
Pavel Vojacek

check out my website from links. i don't have more now

Reply to fajar
Pavel Vojacek

examples

check out my website from links. i don't have more now

Panayot Karabakalov

that's interesting

I not tested it yet, but 2-3 questions raise in my head instantly :)

1. If your assembly is compiled with "Any CPU" as platform, i.e. to run as 32-bit and as 64-bit process?

2. DotNet version: 3.0, 3.5, 4.0 (or other)?

3. Can we use COM/OLE objects? For example:

context.Run(@"var fso, f;
   fso = new ActiveXObject('Scripting.FileSystemObject');
   f = fso.CreateTextFile('testfile.txt', true);
   f.WriteLine('This is a test.');
   f.Close();
")

Cheers!

Reply to Panayot Karabakalov
Pavel Vojacek

re: that's interesting

hi,
1.-2. my assembly is 4.0 (but could be 2-3-3.5, I've just been lazy to change it in settings) and any cpu. noesis assembly can be downloaded here: http://javascriptdotnet.codeplex.com/ and there are 32/64 and 3.5/4.0 versions in package.
3. no. as I said - it's just pure javascript and if you need anything advanced you have to inject it to context (in maxscript: context.SetParameter = some dotnet object).
I have plan to try it with https://github.com/fholm/IronJS also.
My assembly do the same - it  just provides print and execute commands to js context and raises event when function is called. (and this dotnet event is catched in maxscript)