Click or drag to resize

RenderContentRegisterContent Method (Assembly, Guid)

Call RegisterContent in your plug-in's OnLoad function in order to register all of the custom RenderContent classes in your assembly.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.1
Syntax
public static Type[] RegisterContent(
	Assembly assembly,
	Guid pluginId
)

Parameters

assembly
Type: System.ReflectionAssembly
Assembly where custom content is defined, this may be a plug-in assembly or another assembly referenced by the plug-in.
pluginId
Type: SystemGuid
Parent plug-in for this assembly.

Return Value

Type: Type
array of render content types registered on success. null on error.
See Also