Jump to content

Recommended Posts

Posted

I have received a survey with this type of points. I would like to know how from civil 2017 I can include it in an already created surface.

Thank you

Point.dwg

Posted

This is real quick and dirty lisp code but matches your dwg. Makes new Autocad "points" then use the option "Add Drawing objects, Points" to merge into an existing surface. It can do with a bit of refinement if its to be used often.

(defun makepts ( / ss pt x)
(setq ss (ssget (list(cons 0 "insert")(cons 8 "V-NODE")) )) ; a block on layer "V-node"
(repeat (setq x (sslength ss))
(setq ent (assoc 10 (entget (ssname ss (setq x (- x 1)))))) ; insertion point in 3d
(setq pt (list (cadr ent)(caddr ent)(cadddr ent)))
(command "point" pt)
)
)
(makepts)
(princ)

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...