Does anybody know how to draw Line on user form on VBA. I have ried some example I found on the internet and I tried Line (x1,x2)-Line(x2,y2) method but it gives me error saying "Method or Data member not found". Do I need to add some import statement, or is there anything else I need to do to draw the line, circle, rectangular on user form. These will be the cross section of a 3D part that I will create in solid works using macro. For now I can enter the parameters and create the part. But I want to see the cross section before i create the part, that is why I need to draw lines, arcs, or rectangular on userform; to see the cross section. I really ned and appreciate the help.
SolidworksApi macros