Reading the action commands sent to max and recompiling those set of actions as a script.
Hello All,
I have just finished a project with a happy ending and i want to librarize some models that i have created for future use on other projects and also share my workflow that i will use for the next decade (hopefully).
#1 - group the objects
#2 - rename the objects inside that group same as group's name
3# re-align pivots considering the group as on objects.
4# move the grouped objects to "0" coordinates.
5# assign the grouped objects to a new layer
6# rename the layer , same as the group name.
7# save every layer to separated maxfiles. ("layers 2 files script from "tanya wiesner" works very wellin this case.)
8# launch a third party plugin to render the new max files, the program will render the preview and save the output named as the group's name.
so in total,
i will have a preview file
a max file
a group,a layer bunch bunch of objectsthat are named same as the max file.
"I had a plan"...
My initial idea was realying on the max script listener so any tool i used through the GUI, would be read from the listener. but it does not say anything usefull. so is here any other way around?
the first 6 steps are sufficient.
Comments
Did you test the new version
Did you test the new version in the top post?
Tools and Scripts for Autodesk 3dsMax
Thanks miauu for this well
Thanks miauu for this well explain example :-)
You want someone to write a
You want someone to write a script that will do all 8 steps?
Tools and Scripts for Autodesk 3dsMax
Did you turn on Maxscript ->
Did you turn on Maxscript -> Macro Recorder? I believe most of your steps should have appeared in maxscript listener. You can't use that commands directly, but you'll have the clues to look up in maxscript help.
well, they dont...:)
if i laucnh listener and start macro-recording, all i get is...
select #($Box001, $Box002)
actionMan.executeAction 0 "40140" -- Groups: Group
max group group
macros.run "Tools" "Move"
actionMan.executeAction 0 "310"
so without some scripting knowledge , i wont achieve to automate this thing.
-- step b y step ( -- #1 -
With UI.
Tools and Scripts for Autodesk 3dsMax