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

Rhino for Windows

Supported in: 6.2
See Also