|
Sweet Home 3D Forum » List all forums » » Forum: Features use and tips » » » Thread: How to set the material file name programatically » » » » Post: How to set the material file name programatically |
Print at Dec 15, 2025, 6:44:02 PM |
| Posted by avnerm at Apr 26, 2018, 8:06:30 AM |
|
How to set the material file name programatically Hi, I have a home 3d model with many walls. I added a image file as texture to one of the walls and exported the model to obj format I noticed that a new material was created in the .mtl file with the name wall_74_212. I want to to add texture to every wall and set the wall name programatically, from a script which is external to sh3d. My questions: What is the indexing logic in the material name? (why the name wall_74_212 ?) Is there a way to programatically set the material name? Thanks, Avner |
|
|
Current timezone is GMT Dec 15, 2025, 6:44:02 PM |