Anyone know how to change the color of a layer?
-
I don't see any method to do so.
-
There isn't one, but it sure would be nice.
I'm not even sure if there is a work-around.
-
Just click the color next to the layer name.
-
This is the ruby forum Fletch He's asking for the ruby .method way of doing it I'll bet.
Chris
-
So it would be something like the following?
fletch.call_in_middle_of_the_night.get_in_car.come_to_current_location.manually_change_color "Black"
-
Look for my
layer.color=
new method in this Forum somewhere...layer-color=.rb
-
@fizgig said:
So it would be something like the following?
fletch.call_in_middle_of_the_night.get_in_car.come_to_current_location.manually_change_color "Black"
I think that method would need to be profiled...
-
@fizgig said:
So it would be something like the following?
fletch.call_in_middle_of_the_night.get_in_car.come_to_current_location.manually_change_color "Black"
sorry... I clearly neglected to look at which forum I was in while perusing the "new threads" topics [duh]Slap Self On Forehead[/duh] -
its to bad there isn't something like a macro recorder in SU where you can perform an action, then just check the code it created.
-
@xrok1 said:
its to bad there isn't something like a macro recorder in SU where you can perform an action, then just check the code it created.
Wouldn't help when there's no API for the action. Materials and Layers are sorely missing methods.
Advertisement