Share

IiLogicAutomation.RunExternalRule Method

Runs an external rule.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 30.0

Syntax

VB

Function RunExternalRule ( 
	doc As Document,
	ruleName As String
) As Integer

C#

int RunExternalRule(
	Document doc,
	string ruleName
)

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.

Return Value

Type: Int32
Zero if successful.

Remarks

iLogic will look for the file in the folder of the current document, in the workspace folder, and in the external rule directories.

See Also

Reference

Was this information helpful?