-
Re: problem with api GetSketchContours when get sketch segements
Manikandan Babu Dec 28, 2017 5:35 AM (in response to Moon Wang)Hi Moon Wang,
I have tried with sample part and verified the sketch contour count by GetSketchContourCount(),it is working fine.
Can you share your sample files to verify..
Instead of GetEdges try with GetSketchSegments...
Thanks
Manikandan
-
SketchContour.SLDPRT.zip 37.5 KB
-
Re: problem with api GetSketchContours when get sketch segements
Moon Wang Feb 7, 2018 4:26 AM (in response to Manikandan Babu)Hi,Manikandan Babu,thank you very much for your consideration about my puzzle.I have copied the component part,it is drawed by sw2015,you should can open it. The breakdown occured at the height of replane is 26mm.if you need other information,you are welcome to ask.
-
-
Re: problem with api GetSketchContours when get sketch segements
Moon Wang Jan 2, 2018 10:44 PM (in response to Manikandan Babu)Hi,Manikandan,thank you very much for your suggestion has worked.Because of the new year holiday,I tested your method yesterday,I am sorry for late reply and happy new year to you。because I want to get CurveParams3 of every curve ,I have to get edge and curve object of every sketch segment at the same time,athough your method cannot get edge object,by using GetSketchContours() for every curve,I finally get edge object succesfully.^-^and I will test if it works well again.So the problem is solved basically.
But I really want to know why the api GetSketchContours() doesn't work well.Are there some situations in which we will get wrong results if it is used?
-
Re: problem with api GetSketchContours when get sketch segements
Manikandan Babu Jan 3, 2018 6:23 AM (in response to Moon Wang)Hi Moon Wang,
Regarding GetSketchContours() i will check and let you now..
Happy NewYear... Great Year Ahead..
Thanks
Manikandan
-
Re: problem with api GetSketchContours when get sketch segements
Moon Wang Jan 3, 2018 10:24 PM (in response to Manikandan Babu)Hi,Manikandan
Thank you very much.
Moon
-
-
-
-
-