Type Mismatch in Getpoint

#1
Hi,

I am trying to use the following instruction in VBA ;-

Set P1 = intellicad.activedocument.utility.getpoint("Select Centre Start Point")

This generates a type mismatch error as the function appears to want a start point in the parameters to draw a trace line from. I dont want a trace line and the online help shows examples of getpoint being used without a point being specified.

#2
ENSIGN,

Set P1 = intellicad.activedocument.utility.getpoint(,"Select Centre Start Point")

You need a comma prior to "Select Centre.......

The Point is an optional variable that when supplied provides a trace line and if no Point is provided then no trace. You must separate each variable with a comma.



------------------
Regards
John Finlay