export selected via maxscript
super simple question but I have no idea and don't found anything in max help.
I want export to obj selected objects from scene to file for specified name.Is it possible at all via maxscript?
The only thing I found is:
actionMan.executeAction 0 "40373" -- File: Export Selected
but there is no access to name, extension, etc.
Comments
work
ok I found this
for anyone looking for exporting selected objects:
sceneName = maxFilePath + "objectName.obj"
exportfile sceneName #noPrompt selectedOnly:true
...
http://docs.autodesk.com/3DSMAX/14/ENU/MAXScript%20Help%202012/index.htm...
bga
thanks for link,I have seen
thanks for link,I have seen it already before your reply and like I said, there is nothing about exporting selected objects, I check it with noses:
sceneName = maxFilePath + "objectName.obj"
for o in selection do
(
saveNodes o sceneName
)
but don't work
...
You are making me angry.
bga