Returns the iLogic rule object of ruleName on the specified Part p.
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 . |
Intent >iv_GetiLogicRuleObject( Me, "Paint Rule").Text
--> "if Paint = ""None"" then
iProperties.PartColor = ""As Material""
else
iProperties.PartColor = Paint
end if
AlsoTriggeredBy = Material"