OK so I have managed to answer the first part of my own question. After
much head scratching, using car, cadr and caddr returns the values required.
I am still not clear on how to re-use modified values to construct the start
point of a line.
ie how do I use my captured variables to create a starting point for a line
of the form (x, y, z)
You could put the elements back together, but if you have cen-pt
equaling (168.077 168.62 0.0), can't you just use that? You'll still
need to define the second point, for instance:
(setq pt2 (list 1.00 2.00 0.0))
(command "._line" cen-pt pt2 "")
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.