RenderContentSetExtraRequirementParameter Method |
Extra requirements are a way of specifying extra functionality on parameters in the automatic UI.
See IAutoUIExtraRequirements.h in the C++ RDK SDK for string definitions for the parameter names.
Namespace:
Rhino.Render
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 7.9
Syntax public bool SetExtraRequirementParameter(
string contentParameterName,
string extraRequirementParameter,
Object value,
RenderContentExtraRequirementsSetContexts sc
)
Public Function SetExtraRequirementParameter (
contentParameterName As String,
extraRequirementParameter As String,
value As Object,
sc As RenderContentExtraRequirementsSetContexts
) As Boolean
Parameters
- contentParameterName
- Type: SystemString
The parameter or field internal name to which this query applies. - extraRequirementParameter
- Type: SystemString
The extra requirement parameter, as listed in IAutoUIExtraRequirements.h in the C++ RDK SDK. - value
- Type: SystemObject
The value to set this extra requirement parameter. You will typically use System.Convert to convert the value to the type you need. - sc
- Type: Rhino.RenderRenderContentExtraRequirementsSetContexts
The context of this operation.
Return Value
Type:
Booleantrue if successful, else false.
See Also