Hi,
I would like to add a fonctionnality to a little script :
In octane render (for eg )you can assign a layer ID to an object.
I would like to apply this ID if the object is in a layer which name contain a specific string :
layer name : thenameIwant - LID_2 or thenameIwant / LID_2 or thenameIwant LID_2
when running script it will set all objects in the layer the Layer ID 2.
(setUserProp $ "octane_layer_ID" 2)
when no string match it will set all objects in the layer the Layer ID 1.
if somebody help for this I could post the script on scriptspot with credit :-)