What I do with my projects (exporters for renderers, game engines) is to simply write all shaders, custom camera\lights\helpers as scripted plugins in…
I looked at your code, then checked with mine that I use, the difference is that I select all the uv faces before I flatten. –select all uv faces $…
What folder are you writing to? And what version of max – and OS? I have seen this often with ‘user access control’ on if you try to write within “pr…
use selection.count instead.
Try with ‘filein’ instead : sPath = ( getDir #Scripts + “\\ToolsFolder\\” + “scriptName.ms”) filein sPath
I had a similar question a while back, we solved it in this thread: Give that thread a read, and if you get stuck then just let us know here.
Hi, you need to add more checks before you try to read the data out. Here’s how I would do it (many ways to solve it, this is just one way of doing it…
If you need to do it from 3dsmax then – some ways to do it is: user has to run 3dsmax as administrator (right-click->run as administrator). User …
Since number of texture verts are independent from number of mesh verts then I’d guess you could copy them from one mesh to another more or less direc…
well, fanatic or not, been using it for 14 years and last 8 years it’s been my daily job, so I know my way around. Also – remember that it just got r…
Use whatever editor you want , then use the function to launch the python scripts from maxscript by pointing to the py file. python.ExecuteFile “file…
The documentation has been updated a lot since initial release, which is very good! Also the sample scripts for python are installed here: C:\Progra…
All the info about Mcloth maxscript API is in the maxscript documentation here:
Could you post your solution? It’s nice for others to see the exact solution to your question since it’s solved.
For latest 3dsmax it’s located in this folder: C:\Program Files\Autodesk\3ds Max 2014\stdplugs\stdscripts\(MassFX)\