Error, bad arguement type: 2d/3d point

Pi

Usenet Archive
Joined
Aug 18, 2000
Messages
21
Reaction score
0
Howdy all, its been a while since I queried anything.
In this case its an error message I get quite often,
which tells me I obviously havent learned from any
previous mistakes I've made.
Anyhow, just what does this error message mean?
I can post the lisp in question if necessary.
As usual thanks to all repliers.

pi
 
pi said:
Anyhow, just what does this error message mean?

It means you have passed a variable containing the wrong data type to a function that is expecting a point. For example.

(setq a "" b (getpoint))
(distance a b)

Since a is a string, you get the error [; error: bad argument type: 2D/3D point: ""]
 

Latest threads

Back
Top