Preview | SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
ibioan b04/08/2024
Hello!
Trying to create a sketch programmatically, I discovered a strange behavior when trying to insert segments into a 2D sketch. Thus, if I insert an arc and a line using the code below:
skSegment = _SwDocument.SketchManager.CreateArc(-0.017822, 0.012246, 0.0, -0.011244, -0.027057, 0.0, 0.010653, 0.040124, 0.0, 1);
skSegment = _SwDocument.SketchManager.CreateLine(0.020653, 0.050124, 0.0, 0.010653,