getDesignRules()

Synopsis

Returns a list of names of the rules defined in the supplied design . All rules , including those inherited, can also be returned.

Syntax

getDesignRules ( designName As Name, _
                 Optional includeInherited? As Boolean = False ) As List 
Argument Type Description
designName Name The design to return rule names from.
includeInherited? Boolean Optional; returns all the design rules , including those inherited when True ; default is False .

Example 1

This example shows the difference in the same design with and without the inherited rules .
Intent >getDesignRules(:IvMateConstraint) 
--> {}
Intent >getDesignRules(:IvMateConstraint, includeInherited? := True) 
-->{:index, :%%Name, :NHA, :render?, :entity1, ... :isKindOf?, :safeRef, :safeRefMethod}
Note that the includeInherited? result is truncated