IiLogicAutomationRunExternalRule Method |
Runs an external rule.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax Function RunExternalRule (
doc As Document,
ruleName As String
) As Integer
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: 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.
Return Value
Type:
Int32Zero 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