Click or drag to resize

IGH_ActiveObjectAddRuntimeMessage Method

Add a new message to this object. Valid message type flags are Warning and Error. If the Message string is empty or zero-length no message is added.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
void AddRuntimeMessage(
	GH_RuntimeMessageLevel Type,
	string Message
)

Parameters

Type
Type: Grasshopper.KernelGH_RuntimeMessageLevel
Type of message. Only Warnings and Errors are recorded.
Message
Type: SystemString
Content of message.
See Also