ScriptSpot

Script

MXSpy

By zhangligang · Credited author: Ace · 2016-01-11

Version
0.02
Date updated
2016-01-10
Votes
1
External download
External download

Tags: 3dsmax python py

Description

MXSpy This is a simple script for quick dev of 3dsmax.mxspy

like this in:
import "os"
print os.path.abspath("test.ini")
filepath = os.path.dirname("d:\test\test.txt")
print filepath
import "sys"
print sys.models
import "random"
random.choice(#(1,2,3,4,5))
paly maxscript like python!

Additional Info

Email(394452216@qq.com)
blog: http://cgace.blogbus.com/
github: https://github.com/zhangliganggm/MXSpy#mxspy

2016.1.13
add list struct.
--##
lst = list()
lst.append("t")
lst.pop()

2016.1.26
add threading struct.
add socket struct.

#Example(MaxScript)
fn test = (
for a in 1 to 10 do(
print a
sleep 0.5
--slow....
)
)

backthread = threading()
backthread.start_new_thread test

import "socket"
sever = socket()
sever.connect "127.0.0.1" 18868
sever.recv()

Comments (1)

fajar · 2016-01-13

1.is it faster than maxscript ?

2.is it supported for all max version , or it is supported but must install little magic thing?

3.is it more robust and easier to develop like native in maxscript ?

--- edited I see now the source that is...its just struct ...I think its pretty pointless ,as u understand , maxscript artist writte their own function for their own personal purpose, mainly from maxscript help, but nice try to expose it here.