Anuncios

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

Changing plane of texts and points from XY to XZ

Anonymous

Changing plane of texts and points from XY to XZ

Anonymous
No aplicable

Hello helpful people,

 

Right now I am struggling with plane issues. I have done a total station survey of a building and I transferred that data (points and point's names) to AutoCAD 2018 by a simple script (I use point and text command), while using WCS. Points and texts are readible by top (plan) view but whenever I am changing view (like from XY plane to XZ plane), I cannot read info I just see lines.

 

My question is can I make those texts and points view angle related. For example, whenever I change my plane or orbit, texts and points will follow my orientation. Or can I change the plane of the text and point (from XY to XZ), and they will look planar on the XZ plane instead of the XY plane? 

 

Or do you have totally different ideas?

 

Thank you in advance

 

Mustafa

0 Me gusta
Responder
946 Vistas
2 Respuestas
Respuestas (2)

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> can I make those texts and points view angle related

No, not without development. AutoCAD has not a function which rotates a text object in 3d so it is always projected on screen plane.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta

Kent1Cooper
Consultant
Consultant

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
0 Me gusta