Click or drag to resize

GH_CapsuleRenderEngineGetImpliedPalette Method

Static (Shared in VB) method for solving which palette is the default given a specific object's properties. Default palettes are either GH_Palette.Normal, GH_Palette.Warning or GH_Palette.Error depending on the objects' runtime message level.

Namespace:  Grasshopper.GUI.Canvas
Assembly:  Grasshopper (in Grasshopper.dll)
public static GH_Palette GetImpliedPalette(
	IGH_ActiveObject obj


Type: Grasshopper.KernelIGH_ActiveObject
Object to evaluate.

Return Value

Type: GH_Palette
The default palette.
See Also