指定されたデザインで定義されているルールの名前の一覧を返します。継承されたルールを含むすべてのルールを返すこともできます。
getDesignRules ( designName As Name, _
Optional includeInherited? As Boolean = False ) As List
| 引数 | [タイプ] | 説明 |
|---|---|---|
| designName | Name | ルール名を返すデザインです。 |
| includeInherited? | ブール値 | 任意指定。True にすると継承されたルールを含むすべてのデザイン ルールを返します。既定は False です。 |
Intent >getDesignRules(:IvMateConstraint)
--> {}
Intent >getDesignRules(:IvMateConstraint, includeInherited? := True)
-->{:index, :%%Name, :NHA, :render?, :entity1, ... :isKindOf?, :safeRef, :safeRefMethod}
includeInherited? の結果が中略されていることに注意してください。