Is there a way to create a point from a block?
*No point in the block.
|
Is there a way to create a point from a block?
*No point in the block.
check the menubar drop utilities convert autocad points
Are you talking about an AutoCAD "Point" entity? Not Civil 3D cogo point, right?
R.K. McSwain | CAD Panacea |
Pretty basic Lisp Routine.
Place point ("point" command) at insertion point of all blocks with a specified name.
try this:
Code:(defun C:PTBLK () (setq BLKNAME (getstring "\nName of Block: ")) (setq SS1 (ssget "X" (list (cons 2 BLKNAME)))) (setq NUM (sslength SS1)) (setq CNT 0) (while (< CNT NUM) (setq ENT (ssname SS1 CNT)) (setq PT (cdr (assoc 10 (entget ENT)))) (setq PT (strcat (rtos (nth 0 PT)) "," (rtos (nth 1 PT)) "," (rtos (nth 2 PT)))) (command "POINT" PT) (setq CNT (+ 1 CNT)) ) )
Last edited by p.vandeven754870; 2019-04-12 at 12:30 PM.