Function ProAnnotationelemAnnotationSet
Description
Sets the annotation contained in an annotation element. Note:If the annotation element already had an annotation assigned to it, that annotation will be detached from the element and owned at the model level.
Licensing Requirement
Synopsis
ProAnnotationelemAnnotationSet
(
ProSelection element
/* (In)
The annotation element. If the annotation element belongs to an assembly, component path must be specified.
*/
ProAnnotation* annotation
/* (In)
The annotation. Pass NULL to set the element to be general.
*/
)
Returns
The function succeeded.
One or more inputs was invalid.
The annotation is already contained in this element.
Modification was aborted due to regeneration failure.
You cannot assign this type of annotation to the annotation element
datum target annotation element or annotation are not permitted for this function
User Guide References
¿Fue esto útil?