Points collection problem in ver 6.4?

#1
The following works ok in 6.2, but gives "Run Time Error 5, Invalid procedure call or argument" in 6.4 at the ElemPoints.Add command. Any thoughts?

Thanks,
Erik

-----------------------------------

Sub testPoints()

Dim ElemPoints As IntelliCAD.Points
Set ElemPoints = New IntelliCAD.Points

ElemPoints.RemoveAll
ElemPoints.Add 1, 2, 3


End Sub

#4
ENSIGN,

The points objects are a required argument for the ApplyHatch method.

I tried a collection of points to no avail.

You could try the Function EvaluateLispExpression and use these with the new events "BeginLisp" and "EndLisp" as a work-around until the points class is fixed.
cron