I'm not exactly sure what you're trying accomplish, when say "return '3
3'". In your example, you have a function (albeit with bad syntax)
within the setq.
(setq pt1 (+ x y z)) would return the sum of x, y and z.
If you're trying to create a coordinate point from the values, you need
to make them a list, like this:
(setq pt1 (list x y z))
That could be passed to any function/command requiring a point.
Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here.
All logos and trade names are the property of their respective owners.