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