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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement