- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I am new to this forum (and MaxScript) but I couldn't find the answer by doing a search.
Basically, I am trying to launch 3ds max and run a .ms file via CMD. Pretty simple stuff I thought, I have followed the link below...
However, I am trying to run the .ms file from a location on my PC but this fails. This is what I have written so far in the CMD...
C:\Users\daniel>cd C:\\Program Files\\Autodesk\\3ds Max 2017 C:\Program Files\Autodesk\3ds Max 2017>3dsmax -U MAXScript C:\Users\daniel\Desktop\Dyn\Test FBX\TestMaxScript.ms
The purpose of this is part of a workflow where I need to open a new max file, run a script that imports FBX, saves and closes. Is there a trick I am missing though?
Any feedback would be much appreciated.
EDIT:
it works if i put the script in the 3dsmax Directory "C:\Program Files\Autodesk\3ds Max 2017" but I am programmatically creating the MAZ scripts from another software and this folder needs admin rights to save in (which will not be granted on users workstations)
Cheers,
Dan
Solved! Go to Solution.