Runs a rule with the specified arguments in another component or document.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 25.0
Syntax
VB
Function RunRule (
componentOrDocName As Object,
ruleName As String,
ruleArguments As NameValueMap
) As Integer
C#
int RunRule(
Object componentOrDocName,
string ruleName,
NameValueMap ruleArguments
)
Parameters
- componentOrDocName
- Type: System.Object
The name of the component or document. - ruleName
- Type: System.String
The name of the rule. - ruleArguments
- Type: NameValueMap
A map containing argument names and values.
Return Value
Type:
Int32
See Also
Reference