Object name

 From:  Michael Gibson
5710.9 In reply to 5710.8 
Hi mir4ea,

> I wanted to ask you about a script that create object and assign name to it

Could you describe a bit more about how you would want the script to create the object? There are a lot of different ways to create objects, like drawing a circle, making a loft, doing an extrusion, etc.., etc... - how would this one single script know what method to use for creating the object?


> I have to create objects becouse of I export model for render.

For many kinds of file formats where the format has a name set for each different object, MoI will already set a name automatically at export time, like if you export to OBJ format separate objects will get named object1, object2, object3, etc... inside of the OBJ file.

For example, create a file with 2 boxes in it but do not name them - now export to OBJ format, that will automatically name the boxes object1 and object2, you should then see those names inside your rendering program, is that the kind of thing you're looking for?

- Michael