Message 1 of 12
Loading and positioning an object
Not applicable
04-07-2011
08:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
With mel scripting, I can import an object into Maya and then move and rotate the object into the position and orientation that I want. A sample mel script is as follows:-
Is it possible to do something similar with a maxscript in 3DMax? Thanks in advance for any help.
With mel scripting, I can import an object into Maya and then move and rotate the object into the position and orientation that I want. A sample mel script is as follows:-
file -import -gr -gl -loadReferenceDepth "all" -shd "renderLayersByName" -gn "my_object" "C:/my_object.3ds";
currentTime 0;
select -r "my_object";
setAttr ".ro" 2;
setAttr ".rp" -type "double3" 0 0 0;
setAttr ".t" -type "double3" -44.059 0.0487435 4.16622 ;
setAttr ".r" -type "double3" 0.0 99.8438 0.0 ;
setKeyframe;
Is it possible to do something similar with a maxscript in 3DMax? Thanks in advance for any help.