Message 1 of 5
Script Camera Node for Camera Map

Not applicable
01-26-2010
03:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I only have some experience with maxscript and after looking around for hours, I can't figure out how to script this simple task.
I have a hundred or so objects that I want to assign a camera map modifer, but they have to be copies for the camera to map it correctly. So I wanted to run a script to assign the camera to each copy quickly, but it's not working out to well and the macroreader doesn't give me anything when I assign the camera to the camera map modifier manually.
This code gives me an error, so hopefully one of you scripting geniuses can help me out.
I have a hundred or so objects that I want to assign a camera map modifer, but they have to be copies for the camera to map it correctly. So I wanted to run a script to assign the camera to each copy quickly, but it's not working out to well and the macroreader doesn't give me anything when I assign the camera to the camera map modifier manually.
for obj in $ do
(
obj.modifiers.CameraNode = $Camera01
)
This code gives me an error, so hopefully one of you scripting geniuses can help me out.