Camera rename
Hi all.
I haven’t used Maxscript in my work for a long time, I forgot a lot...
There is a camera in the scene. It is known that the camera class is Freecamera. I want to rename it using a script.
But that doesn't happen
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
for v in geometry do (
if (classof v == Freecamera) then
(
select v
$.name = "Camera"
)
)
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Comments
About Class
I understood the reason. The camera does not belong to the Geometry class. How to go through all classes of objects in the scene?
.
Tools and Scripts for Autodesk 3dsMax
.
Tools and Scripts for Autodesk 3dsMax
Thank you MIAUUU
Thank you MIAUUU