Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hello,
The following PTC article details how to obtain references from Annotation elements,
https://www.ptc.com/en/support/article/CS289474
However this only is viable for annotation references of the type: PRO_ANNOT_REF_SINGLE:
/*---------------------------------------------------------------------*\ get the references for the AE \*---------------------------------------------------------------------*/ status = ProAnnotationelemReferencesCollect(&elem, PRO_ANNOTATION_REF_ALL, PRO_ANNOT_REF_FROM_ALL, &ann_ref); int num_refs; status = ProArraySizeGet(ann_ref,&num_refs); for (int i = 0;i < num_refs;i++)//all references of selected item { if (ann_ref[i].type != PRO_ANNOT_REF_SINGLE) continue; //proceed this loop only if the single reference is NOT a PRO_ANNOT_REF_CRV_COLLECTION or PRO_ANNOT_REF_SRF_COLLECTION
How could the surface ID's be obtained for type PRO_ANNOT_REF_SRF_COLLECTION (or even PRO_ANNOT_REF_CRV_COLLECTION )?
Thank you.
Edit: Link should point to article https://www.ptc.com/en/support/article/CS298411