Runs a rule, also passing arguments to the rule.
Namespace: Autodesk.iLogic.Interfaces
Assembly: Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 30.0
Syntax
VB
Function RunRuleWithArguments ( doc As Document, ruleName As String, ruleArguments As NameValueMap ) As Integer
C#
int RunRuleWithArguments( Document doc, string ruleName, NameValueMap ruleArguments )
Parameters
- doc
- Type: Document
The document that contains the rule. - ruleName
- Type: System.String
The rule name. - ruleArguments
- Type: NameValueMap
Arguments to pass to the rule.
Return Value
Type: Int32Zero if successful.