IiLogicAutomationRunExternalRuleWithArguments Method |
Runs an external 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 RunExternalRuleWithArguments (
doc As Document,
ruleName As String,
ruleArguments As NameValueMap
) As Integer
int RunExternalRuleWithArguments(
Document doc,
string ruleName,
NameValueMap ruleArguments
)
Parameters
- doc
- Type: Document
The document to be used as the context in which the rule is run. - ruleName
- Type: SystemString
The filename. This can be a relative path.
The file must have a valid extension, but this argument does not need to include the extension.
- ruleArguments
- Type: NameValueMap
Arguments to pass to the rule
Return Value
Type:
Int32Zero if successful.
Remarks iLogic will look for the file in the folder of the current document.
See Also