Returns or modifies edge analysis color displayed by the ShowEdges command.
rhinoscriptsyntax.EdgeAnalysisColor( color=None )
rhinoscript.application.EdgeAnalysisColor( color=None )
color |
Optional. The new color value. If omitted, the current item color is returned. |
Number |
If a color is not specified, the current edge analysis color if successful. |
Number |
If a color is specified, the previous edge analysis color if successful. |
import rhinoscriptsyntax as rs
oldcolor = rs.EdgeAnalysisColor()
newcolor = rs.GetColor(oldcolor)
if newcolor is not None:
rs.EdgeAnalysisColor(newcolor)