getRuleAnnotation()

概要

を返し、指定された part string として指定された rule の指定された注記の値です。 rule にこのような注記がある場合、 NoValue が返されます。 part rule のようになっている場合、エラーが発生します。 指定されたデザインが存在しない場合、エラーが発生します。

構文

getRuleAnnotation ( p As Part, _
                    ruleName As Name, _
                    annotationName As Name ) As Any 
引数 [タイプ] 説明
p Part rule. part
ruleName Name rule の[ name ]をクリックします。
annotationName Name 注釈の name をクリックします。

例 1

Intent >getRuleAnnotation(Me, :showInModelBrowser?, :%%prompt) 
--> "Set this to False to prevent the part from appearing in the model browser"