Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Kent1Cooper
en respuesta a: Anonymous

You can turn Point objects to "face" you, whatever your view direction but still in the WCS:

(defun C:SeePoints (/ ss n pdata)
  (if (setq ss (ssget '((0 . "POINT"))))
    (repeat (setq n (sslength ss)); then
      (setq pdata (entget (ssname ss (setq n (1- n)))))
      (entmod (append pdata (list (cons 210 (getvar 'viewdir)))))
    ); repeat
  ); if
  (princ)
); defun

That actually alters the Points' extrusion direction, so make sure to do it again when you go back into plan view.

 

Text is trickier -- if the above is used on it, it moves in the process.  And this doesn't work when in a different UCS.  So something with a (trans) function is needed to deal with those, but I haven't worked that out.

Kent Cooper, AIA