ProFeatureExternParentsGet and ProFeatureParentsGet would work, you'll get an array of the parent features,then you shouldloop to look for feature type PRO_FEATURE_CURVE, get its element tree and then you'll need to check PRO_E_CURVE_TYPE element of the feature elementtree tohavethe value ofPRO_CURVE_TYPE_SKETCHED.
Alternatively you can extract the element tree of the feature in questionand get the value of PRO_E_USE_SKETCH element. For the external sections the value would be avalidProSelection (ProReference) and the value would be NULL for the internal section.
In Reply to Bob Monat:
Greetings, Pro/TK hackers,
Using TOOLKIT, how can it be determined that an external sketch is consumed
or used by a feature?
Create an external sketch. Now create a feature which uses the sketch. How
can Toolkit determine if the sketch is consumed or used by the feature?
Jerand Technical Services, Inc.