I having a Sketch which lot of Sketch-segments(All Sketch-segments are Circle).I need to check interference between the segments how i can do this Through API
I am new to SolidWorks API,Kindly Explain me briefly
.Thanks &v Regards
There is no API for sketch interference. But if you're willing to do some math, and since your geometry is only circles, you could accomplish something similar. I might use an algorithm like the following...
Part.SelectionManager.EnableContourSelection = True
Part.Extension.SelectByID2("Sketch1", "SKETCHREGION", x, y, 0, True, 4, Nothing, 0)
The "Sketch1" string above would need to be replaced with the name of the sketch you are checking.
Hope that helps you accomplish your task!
Hi suresh ,
Kindly refer this post . This might be useful . HO to Use SketchManager::AddToDB .
Thanks for your support.can you kindly go through this link Find gap in sketch you can understand what exactly i need
Thanks a lot for your Support,
Retrieving data ...