Rhino 5 script, rename layer material based on layer name

Post, discuss and share handy resources like textures, models and HDRI maps in this forum.
Forum rules
Please do not post any material that is copyrighted or restricted from public use in any way. OTOY NZ LTD and it's forum members are not liable for any copyright infringements on material in this forum. Please contact us if this is the case and we will remove the material in question.
Post Reply
vanhage
Licensed Customer
Posts: 31
Joined: Sun Jan 20, 2013 4:00 pm
Location: Brooklyn, NY, USA

Wanted to share a script I wrote that helps keep my materials organized when I move geometry from Rhino to Octane.

With my architecture workflow in Rhino, I like to organize my layers by material, but even after the careful naming of my layers, rhino assigns a default prefix to any modified layer material (which makes assigning materials in octane arduous). When you run the script, you are asked what layers you want to rename and the material names are automatically changed to the layer names (which are then identical in octane).

Really simple and straightforward and it saves me from having to type in the same information twice. Hope its useful.
Attachments
NameLayerMaterialsByLayerName.zip
Rhino 5 .RVB script to change layer material name to match layer name
(823 Bytes) Downloaded 534 times
Screen Example
Screen Example
Win 8 64 | 2X Geforce GTX680 | i7-3770K Ivy Bridge 3.5GHz | 32GB
User avatar
Refracty
Licensed Customer
Posts: 1599
Joined: Wed Dec 01, 2010 6:42 pm
Location: 3D-Visualisierung Köln
Contact:

he, he, that is great. I thought about writing a script for the same purpose but I am not a progrgammer so I skipped this.
Thank you for setting this up and sharing it.
It saves tedious work.
ArchMP
Licensed Customer
Posts: 44
Joined: Sun Dec 04, 2016 10:26 am

Thanks!
Post Reply

Return to “Resources and Sharing”