Jump to content

transfer the elevation of each point in text??


Recommended Posts

Posted

hi,

I have a 3d drawing with 200 points. I want to see the elevation of each point in my drawing. Is there a way to transfer the elevation of each point in text??

thanks.

Posted

If I may make a suggestion, go to Help, Tutorials, Civil 3D Tutorials, Points Tutorials

Posted

I would like to find a way without civil3d. Just in autocad. It's for a friend and he does not have civil3d

Posted

Not sure if this is any good but....

 

Lisp Routine called Point to Text.

 

Save it to where ever all you Lisp Routines are, load it and type Po2txt to run.

PO2TXT.lsp

Posted

when I load it , a window appears to load a .txt file. All my points are in autocad with all different elevation. It's those elevation that I want in text...i'm not sure that your lisp applies to my problem. Thanks anyway.

Posted

It is quite a simple job for lisp. I wrote a very simple one ages ago before CADTutor was around, but it works. It draws a cross and the elevation in text. It works for me, but would probably need tweaking to be able to choose all your points in one, and build in an Osnap setting.

 

;3DL is a programme to annotate levels of 3D lines drawn in a ground model
(defun C:3DL (/ pt0 pt1 pt2 pt3 pt4 pt5 lev x y z)
          (setq pt0 (getpoint "\nPick level point. . . . . ")
                x (car pt0)
                y (cadr pt0)
                z (caddr pt0)
                lev (rtos z 2 2)
                pt1 (list (- x 0.18) y 0)
                pt2 (list (+ x 0.18) y 0)
                pt3 (list x (- y 0.18) 0)
                pt4 (list x (+ y 0.18) 0)
                pt5 (list (+ x 0.21) (+ y 0.09) 0)
           )
          (command "LINE" pt1 pt2 "")
          (command "LINE" pt3 pt4 "")
           (command "TEXT" "s" "LEVELS" pt5 "" "0" lev)
)
                    

LevelText.jpg

Posted

that's exactly what I want but I'm not used to edit lisp...

Posted

I am afraid that too many of my brain cells have atrophied to let me change it, :cry: but this instance should be a spur to you to find out more about Lisp.

Posted

Do it through Civil 3d, then export the drawing to AutoCAD for your friend and be happy.:)

Posted

Another option would be to export to dxf and open with SiteTopo then export back to dxf to open in AutoCAD.

 

Or use the aforementioned lisp.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...