Category Data sharing, Object ProDatasharingfeat

Function ProDatasharingfeatCopiedgeomitemFind


Description
Retrieves the geometry item owned by the data sharing feature that is actually the copy of the indicated geometry 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>
ProErrorProDatasharingfeatCopiedgeomitemFind(
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 geometry. Pass NULL if the geometry is owned by the top level model in the datasharing feature.
*/
ProGeomitem* p_orig_item
/* (In)
The Geometry item in the original model.
*/
ProGeomitem* p_copied_item
/* (Out)
The geometry 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 geometry item is not copied by the data sharing feature.
PRO_TK_INVALID_TYPEFeature type is unsupported.

Sample Code References:

  1. pt_af_examples ( PTAEToChamfer.c )
  2. pt_af_examples ( PTAEToDraft.c )
  3. pt_af_examples ( PTAEToDraft.c )
  4. pt_af_examples ( PTAEToDraft.c )
  5. pt_af_examples ( PTAEToRound.c )