|  (defun ss2lst (ss / i e lst)
  (setq i -1)
  (repeat (sslength ss)
    (setq e (ssname ss (setq i (1+ i)))
      lst (cons e lst)
    )
  )
)
(defun en2obj (ename)
  (vlax-ename->vla-object ename)
)
(defun C:DB-Text-InsertionPoint(  / en ss obj InsertionPoint)
  (if (setq ss (ssget "X" '((0 . "INSERT")(66 . 1))))
    (foreach en (ss2lst ss)
      (setq obj (en2obj en))
      (if (setq InsertionPoint (vlax-get-property obj 'InsertionPoint) )
        (vlax-put-property obj 'InsertionPoint InsertionPoint)
      )
    )
  )
 )
 |