Gets a rule in a document.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 25.0
Syntax
VB
Function GetRule (
doc As Document,
ruleName As String
) As iLogicRule
C#
iLogicRule GetRule(
Document doc,
string ruleName
)
Parameters
- doc
- Type: Document
The document that contains the rule. - ruleName
- Type: System.String
Name of the rule to get.
Return Value
Type:
iLogicRuleA rule object.
See Also
Reference