EdgeAnalysisColor

Returns or modifies edge analysis color displayed by the ShowEdges command.

Syntax

rhinoscriptsyntax.EdgeAnalysisColor( color=None )

rhinoscript.application.EdgeAnalysisColor( color=None )

Parameters

color

Optional.  The new color value.  If omitted, the current item color is returned.

Returns

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.

Example

import rhinoscriptsyntax as rs

oldcolor = rs.EdgeAnalysisColor()

newcolor = rs.GetColor(oldcolor)

if newcolor is not None:

    rs.EdgeAnalysisColor(newcolor)

Also See

EdgeAnalysisMode