Share

IiLogicAutomation.RunExternalRuleWithArguments 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: 30.0

Syntax

VB

Function RunExternalRuleWithArguments ( 
	doc As Document,
	ruleName As String,
	ruleArguments As NameValueMap
) As Integer

C#

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: System.String
The filename. This can include a relative or absolute 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: Int32
Zero if successful.

Remarks

iLogic will look for the file in the folder of the current document.

See Also

Reference

Was this information helpful?