Returns the value of the given annotation of the given rule of the given part as a string . If there is no such annotation on the rule , NoValue is returned. If there is no such rule on the part , an error occurs. If the design does not exist, an error occurs.
getRuleAnnotation ( p As Part, _ ruleName As Name, _ annotationName As Name ) As Any
Argument | Type | Description |
---|---|---|
p | Part | The part that has the rule. |
ruleName | Name | The name of the rule . |
annotationName | Name | The name of the annotation. |
Intent >getRuleAnnotation(Me, :showInModelBrowser?, :%%prompt) --> "Set this to False to prevent the part from appearing in the model browser"