Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
π£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download
Name of texture
-
Hi!
If the scene has several textured components.
Is there a way to display in the message, the name of the texture only the selected component ? -
Open the Ruby Console.
Select one component-instance.
Copy/Paste this one-liner:Sketchup.active_model.selection[0].material.display_name -
Oh, sorry my mistake...
I meant not the name of the material and the name of the texture (for example :Wood_Cherry_Original.jpg) -
You obtain that from the Texture object: http://www.sketchup.com/intl/en/developer/docs/ourdoc/texture
-
Try
Sketchup.active_model.selection[0].material.texture.filename -
Thank you, TIG ! it works.
Advertisement