StandardNames.Display

[UiInfo("Collection of standard meta data names associated with display overrides.")] public static class StandardNames.Display
Collection of standard meta data keys associated with display overrides.

Fields

AltSize

#
[UiInfo("Name for overriding the alternate or secondary size of point symbols.")] public static readonly MetaName AltSize
Name for overriding the secondary size of point symbols.

Anchor

#
[UiInfo("Name for specifying the anchor point of vectors in the display.")] public static readonly MetaName Anchor
Name for specifying the anchor point of vectors in the display. Without an anchor points, vectors cannot be drawn in the viewports.

Arrow

#
[UiInfo("Name for specifying the display style of vectors in the display.")] public static readonly MetaName Arrow
Name for specifying the display style of vectors in the display.

Color

#
[UiInfo("Fine, spell it without the 'u'. See if I care.")] public static readonly MetaName Color
Alternate spelling for the Colour key.

Colour

#
[UiInfo("Name for overriding the unselected display colour.")] public static readonly MetaName Colour
Name for overriding the unselected display colour.

Dashes

#
[UiInfo("Name for overriding the dash pattern of curve-like shapes.")] public static readonly MetaName Dashes
Name for overriding the dash pattern of curve-like shapes.

Density

#
[UiInfo("Name for overriding the display density of region interiors.")] public static readonly MetaName Density
Name for overriding the display density of region interiors.

Desaturation

#
[UiInfo("Name for how strongly the dark parts of a shaded mesh lose their colour, 0 to 1.")] public static readonly MetaName Desaturation
Name for how strongly the dark parts of a shaded mesh lose their colour, 0 to 1.

Diffuse

#
[UiInfo("Name for overriding the surface diffuse colour.")] public static readonly MetaName Diffuse
Name for overriding the surface diffuse colour.

Emission

#
[UiInfo("Name for overriding the surface diffuse colour.")] public static readonly MetaName Emission
Name for overriding the surface emission colour.

Font

#
[UiInfo("Name for overriding the typeface used in text display.")] public static readonly MetaName Font
Name for overriding the typeface used in text display. The associated value ought to be a string, either specifying one of the standard typefaces (i.e. "mono", "sans", "serif", or "script") or an installed font family name.

FontSize

#
[UiInfo("Name for overriding the font size used in text display.")] public static readonly MetaName FontSize
Name for overriding the font size used in text display. The associated value ought to be an integer or a number.

Gloss

#
[UiInfo("Name for overriding the surface display gloss strength.")] public static readonly MetaName Gloss
Name for overriding the surface "skewness" display parameter.

Glow

#
[UiInfo("Name for overriding the surface glow strength.")] public static readonly MetaName Glow
Name for overriding the surface glow strength. Corresponds to the "brightness" display setting.

GraphTint

#
[UiInfo("Name for overriding the colour of function graphs.")] public static readonly MetaName GraphTint
Name for overriding the colour of function graphs.

GridLines

#
[UiInfo("Name for overriding the number of grid lines in a plane display.")] public static readonly MetaName GridLines
Name for overriding the number of grid lines to draw in a plane display in each of the four cardinal directions.

Hide

#
[UiInfo("Name for hiding objects from the display.")] public static readonly MetaName Hide
Name for hiding objects from the display.

NakedThickness

#
[UiInfo("Name for the pixel width of naked mesh edges (true boundaries). Zero hides them; defaults to the welded width.")] public static readonly MetaName NakedThickness
Name for the pixel width of naked mesh edges: single-face edges without a twin, i.e. true boundaries. Zero hides them. When not given, welded edges' width is used.

NonManifoldThickness

#
[UiInfo("Name for the pixel width of non-manifold mesh edges (three or more faces). Zero hides them; defaults to the welded width.")] public static readonly MetaName NonManifoldThickness
Name for the pixel width of non-manifold mesh edges, i.e. edges shared by three or more faces. Zero hides them. When not given, welded edges' width is used.

ShadeFalseColour

#
[UiInfo("Name for lighting meshes that carry per-vertex colours instead of showing them flat.")] public static readonly MetaName ShadeFalseColour
Name for lighting meshes that carry per-vertex colours instead of showing those colours flat.

Size

#
[UiInfo("Name for overriding the display size of point symbols.")] public static readonly MetaName Size
Name for overriding the display size of point symbols.

Stippling

#
[UiInfo("Name for stippling shaded meshes with a screen-space dot pattern.")] public static readonly MetaName Stippling
Name for stippling shaded meshes with a screen-space dot pattern.

StipplingAmount

#
[UiInfo("Name for the percentage of the stipple pattern left out, 0 to 99 (stippling only).")] public static readonly MetaName StipplingAmount
Name for the percentage of the stipple pattern that is left out, 0 to 99. Only used when stippling is on.

StripeContrast

#
[UiInfo("Name for the contrast of the stripe bands, 0 to 0.9 (striping only).")] public static readonly MetaName StripeContrast
Name for the contrast of the stripe bands, 0 to 0.9. Only used when striping is on.

StripeWidth

#
[UiInfo("Name for the width of the stripe bands in pixels (striping only).")] public static readonly MetaName StripeWidth
Name for the width of the stripe bands, in screen pixels. Only used when striping is on.

Striping

#
[UiInfo("Name for overlaying diagonal stripes on shaded meshes.")] public static readonly MetaName Striping
Name for overlaying diagonal stripes on shaded meshes. See also Style, which selects a stripe preset; StripeWidth and StripeContrast refine it.

Stroke

#
[UiInfo("Name for overriding the display width of curve-like shapes.")] public static readonly MetaName Stroke
Name for overriding the display width of curve-like shapes.

Style

#
[UiInfo("Name for overriding the surface styling.")] public static readonly MetaName Style
Name for overriding the surface styling.

Symbol

#
[UiInfo("Name for overriding the display symbol of points.")] public static readonly MetaName Symbol
Name for overriding the display symbol of points. This key must be associated with either an integer mapping to the RhinoCommon PointStyle enumeration, or a string value from the following set:

[o] = Rhino.Display.PointStyle.RoundSimple

[O] = Rhino.Display.PointStyle.RoundControlPoint

[x, X] = Rhino.Display.PointStyle.X

[*] = Rhino.Display.PointStyle.Asterisk

SymbolAngle

#
[UiInfo("Name for overriding the rotational angle of point symbols.")] public static readonly MetaName SymbolAngle
Name for overriding the rotational angle of point symbols.

SymbolInterior

#
[UiInfo("Name for overriding the interior colour of point symbols or other elements with two shades.")] public static readonly MetaName SymbolInterior
Name for overriding the interior colour of point symbols or other elements with two shades.

UnweldedThickness

#
[UiInfo("Name for the pixel width of unwelded mesh edges (the two sides of a seam). Zero hides them.")] public static readonly MetaName UnweldedThickness
Name for the pixel width of unwelded mesh edges: single-face edges that have a coincident twin, i.e. the two sides of an unwelded seam. Zero hides them.

Vigour

#
[UiInfo("Name for overriding the surface display vigour strength.")] public static readonly MetaName Vigour
Name for overriding the surface "skewness" display parameter.

WeldedThickness

#
[UiInfo("Name for the pixel width of welded mesh edges (shared by two faces). Zero hides them.")] public static readonly MetaName WeldedThickness
Name for the pixel width of welded mesh edges, i.e. edges shared by exactly two faces. Zero hides them.

Wireframe

#
[UiInfo("Name for drawing meshes as a wireframe of their edges instead of shaded faces.")] public static readonly MetaName Wireframe
Name for drawing meshes as a wireframe of their edges instead of shaded faces.

XAxis

#
[UiInfo("Name for overriding the colour of a drawn X-axis.")] public static readonly MetaName XAxis
Name for overriding the colour of a drawn X-axis.

YAxis

#
[UiInfo("Name for overriding the colour of a drawn Y-axis.")] public static readonly MetaName YAxis
Name for overriding the colour of a drawn Y-axis.

ZAxis

#
[UiInfo("Name for overriding the colour of a drawn Z-axis.")] public static readonly MetaName ZAxis
Name for overriding the colour of a drawn Z-axis.

Methods

ParseArrowStyleMetaValue

#
public static bool ParseArrowStyleMetaValue(object value, out ArrowStyle style)
Try and parse an Arrow entry from meta data.
value (object)
style (out ArrowStyle)
True on success, false on failure.

ParseDashPattern

#
public static bool ParseDashPattern(object value, out Dash8 pattern)
Try and parse a Dashes entry from meta data.
value (object)Value to parse.
pattern (out Dash8)Array of dashes and gaps.
True on success, false on failure.

ParseFaceStyle

#
public static bool ParseFaceStyle(object value, out Stripe style)
Try and parse an Dashes entry from meta data.
value (object)
style (out Stripe)
True on success, false on failure.

ParsePointAngleMetaValue

#
public static bool ParsePointAngleMetaValue(object value, out double radians)
Try and parse an SymbolAngle entry from meta data.
value (object)Value to parse.
radians (out double)Parsed angle in radians.
True on success, false on failure.

ParsePointSymbolMetaValue

#
public static bool ParsePointSymbolMetaValue(object value, out PointStyle style, out double angle)
Try and parse a Symbol entry from meta data.
value (object)Value to parse. Either a known textual descriptor of a pointstyle, or an integer describing one of the enumerations.
style (out PointStyle)Parsed style.
angle (out double)Angle embedded in value.
True on success, false on failure.