RenderContent.FromId Method

RenderContentFromId Method

Search for a content object based on its Id

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static RenderContent FromId(
	RhinoDoc document,
	Guid id
)
Public Shared Function FromId ( 
	document As RhinoDoc,
	id As Guid
) As RenderContent

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.
Version Information

Rhino for Windows

Supported in: 6.14
See Also