How to get edge color (and style)
-
Is there a way, in Ruby, to get or set the edge color?
And/or is there a way to get the raster image for the sketchy edge style?
-
You assign a material to an edge just like you would a face. However to display edges by their color, you have to set the Rendering Option.
Not sure about the style. If I were a betting man, I would guess no, but it's late and I'm too tired to look it up in the doc.

-
Thanks for the try Todd, but I found it in our scripts which add edges to renderings and 3D PDFs
This is the color I was looking for - in the Styles menu.

It is stored in rendering_options["Foreground_Color"]
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