Hi,
I want to use GetPoint via Autodesk.AutoCAD.Interop in my codes, but I get an error about missing object in the following line :
AcadPoint my_pt1 = default(AcadPoint);
AcadPoint my_pt2 = default(AcadPoint);
my_pt1 = AcadApp.ActiveDocument.Utility.GetPoint(, "Please click on the first point :"); // I get error at this line
my_pt2 = AcadApp.ActiveDocument.Utility.GetPoint(my_pt1, "Please click on the second point :");
However, in VBA such a limitation does not exist for an optional argument.
Also, the reason for using " Introp Com " is that I want to use it in a Windows application project without using Netload command .
Please advice me .