Hi friends
Has anyone of you tried to retrieved the sketch of any feature using the function
ProError ProFeatureSectionCopy(ProFeature *feat_handle,int section_number, ProSection *p_section)
I am trying to use this function to get the sketch of any feature but I think I am not getting the sketch.
If anyone has used it successfully please help me to find my error.
I have used the following code to check whether the sketch retrieved is correct or not
ProStringToWstring (wname, "demo");
status = ProSectionNameSet (section, wname);
printf("\n ProSectionNameSet status %d",status);
status = ProObjectwindowCreate(wname,PRO_3DSECTION,&windowid);
// status = ProObjectwindowCreate(wname,PRO_2DSECTION,&windowid);
printf("\n ProObjectwindowCreate status %d",status);
status = ProWindowActivate(windowid);
printf("\n ProWindowActivate status %d",status);
However I dont get any sketch.
Your Help is really needed
Thanks
Abhishek
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.