How to add your knowledge

iv_GetiLogicRuleObject()

    Table of contents
    1. 1. Synopsis
    2. 2. Syntax
    3. 3. Example 1

    Synopsis

    Returns the iLogic rule object of ruleName on the specified Part p.

    Syntax

    iv_GetiLogicRuleObject( p As Part, ruleName As String) As Any
    Argument Type Description
    p part The part containing the ruleName
    ruleName string The name of the iLogic rule. An exception is thrown if the rule does not exist in the part.

    Example 1

    Intent >iv_GetiLogicRuleObject( Me, "Paint Rule").Text
    
    --> "if Paint = ""None"" then
        iProperties.PartColor = ""As Material""
      else
        iProperties.PartColor = Paint
      end if
    
    AlsoTriggeredBy = Material"