Notifications
Clear all

[Closed] bevel and render script

hi I am tryin to make a very simple script (my first one) and I just cant make it work right
this is what it should do:

-select all shapes in the scene
-bevel them
-render the scene (preferebly from the same camera that I locked in my render settings)
-undo all that

en this is what I got so far:

select shapes
modPanel.addModToSelection (Bevel ())
render image
max undo

So my problem is. how can I render the scene from a specified camera. I tried the “render camera:camera01” line but it saying something about the node though camera01 is present in the scene.
And the bevel isnt always working so I am geuissing I did something wrong there too.

can anyone give me some pointers about what I am doing wrong here because I really dont have a clue what to do. thanx in advance!

PS I did take a look at the maxscript reference… a very long look.

2 Replies

I know this is a very stupid question but I really need an answer

PLZ help

to render a specific camera, type “render camera:$<cameraName>”, just don’t forget the $