RhinoCommon API
RenderContentIsFactoryProductAcceptableAsChild Method (Guid, String, String) |
Override this method to restrict the type of acceptable child content.
The default implementation of this method just returns true.
Namespace: Rhino.Render
Assembly: RhinoCommon (in RhinoCommon.dll)

public virtual bool IsFactoryProductAcceptableAsChild( Guid kindId, string factoryKind, string childSlotName )
Public Overridable Function IsFactoryProductAcceptableAsChild ( kindId As Guid, factoryKind As String, childSlotName As String ) As Boolean
Parameters
- kindId
- Type: SystemGuid
[Missing <param name="kindId"/> documentation for "M:Rhino.Render.RenderContent.IsFactoryProductAcceptableAsChild(System.Guid,System.String,System.String)"]
- factoryKind
- Type: SystemString
[Missing <param name="factoryKind"/> documentation for "M:Rhino.Render.RenderContent.IsFactoryProductAcceptableAsChild(System.Guid,System.String,System.String)"]
- childSlotName
- Type: SystemString
[Missing <param name="childSlotName"/> documentation for "M:Rhino.Render.RenderContent.IsFactoryProductAcceptableAsChild(System.Guid,System.String,System.String)"]
Return Value
Type: BooleanReturn true only if content with the specified kindId can be accepted as a child in the specified child slot.

Rhino for Windows
Supported in: 6.8