Which assigns the V-Ray material if it has been loaded before, while in Python i´ve found only the method to return the material index of a layer: intIndex = rs.LayerMaterialIndex(strLayerName) In RhinoScript you can return and change the material index of a layer using: Call Rhino.LayerMaterialIndex(strLayerName, intMaterialIndex) It looks like this is not yet fully exposed in plain rhino-python.
0 Comments
Leave a Reply. |