Message 1 of 9
AI generated lisp not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I asked chatgpt to make this lisp. can anyone help why its giving me an error?
(vl-load-com)
(defun c:altp ( / ent label align)
(setq ent (car (entsel "Select polyline to align label to: ")))
(setq label (car (entsel "Select label to align: ")))
(setq align (vlax-invoke ent 'GetAlignmentPoint))
(vlax-put-property label 'AlignmentPoint align)
(princ)
)