AnsweredAssumed Answered

question about createcircle method...

Question asked by Victor Davila on Feb 26, 2012
Latest reply on Feb 28, 2012 by Victor Davila

Hello everyone, so Im new to the world of Solidworks and VBA, though I have created numerous VB applications for another cad/cam software, so I do have some experience but Im not an expert by far. So to my question. I am trying to draw a circle using this method and I am confused as to the part of the line CreateCircle(XC, YC, Zc, Xp, Yp, Zp)

I know the XC,YC,ZC is the center of the circle, but what is Xp,Yp,Zp, I try and Macro record a .250 circle lets say and when look at the syntax I see Set skSegment = Part.SketchManager.CreateCircle(0#, 0#, 0#, 0.003036, 0.000928, 0#) I know its in meters but Im having trouble understanding where the .003036 and .000928 is coming from.  I see the help file tells me that its the value of the point on the circle in meters, but Im still lost. Thanks in advance...

Outcomes