Category Data sharing, Object ProDatasharingfeat

Function ProDatasharingfeatCopiedAnnotFind


Description
Retrieves the annotation item owned by the data sharing feature that is actually the copy of the indicated annotation item in the parent model. Currently, this function supports Inheritance, Merge and Cutout features only.
Licensing Requirement
TOOLKIT for 3D Drawings
Synopsis
#include <ProVariantFeat.h>
ProErrorProDatasharingfeatCopiedAnnotFind(
ProFeature* p_datasharing_feature
/* (In)
the data sharing feature.
*/
ProAsmcomppath* p_orig_path
/* (In)
The component path from the top level assembly to the subcomponent owning the annotation. Pass NULL if the annotation is owned by the top level model in the datasharing feature.
*/
ProAnnotation* p_orig_item
/* (In)
The Annotation item in the original model.
*/
ProAnnotation* p_copied_item
/* (Out)
The annotation item owned by the data sharing feature that is a copy of the original item.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_BAD_CONTEXTThe indicated annotation item is not copied by the data sharing feature.
PRO_TK_INVALID_TYPEFeature type is unsupported.

Manual References:

  1. Assembly: Data Sharing Features: Saved Queries for Copy Geometry and Publish Geometry Features