Click or drag to resize

RenderContentFromId Method

Search for a content object based on its Id

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.7
Syntax
public static RenderContent FromId(
	RhinoDoc document,
	Guid id
)

Parameters

document
Type: RhinoRhinoDoc
The Rhino document containing the content.
id
Type: SystemGuid
Id of the content instance to search for.

Return Value

Type: RenderContent
Returns the content object with the specified Id if it is found otherwise it returns null.
See Also