Jump to content

Is there a way to change Exploded Tags to Text?


muck

Recommended Posts

  • 4 weeks later...
  • 2 weeks later...
What if they have all ready been exploded in a drawing by a previous user?

 

;; pBe 2010
(defun c:sbtx ()
(princ "\nSelect Exploded Attributes")(princ)
  (setq xpldat (ssget  '((0 . "ATTDEF"))) nmbr 0)
  (while (< nmbr (sslength xpldat))
   (setq fao (ssname xpldat nmbr)
         fao_pro (entget fao)
         get_str (cdr (assoc 2 fao_pro)))

(setq newness (list '(0 . "TEXT")
       (cons 10 (cdr (assoc 10 fao_pro)))(cons 40 (cdr (assoc 40 fao_pro)))
      (cons 1 (cdr (assoc 2 fao_pro)))(cons 41 (cdr (assoc 41 fao_pro)))
      (cons 7 (cdr (assoc 7 fao_pro)))
             )
      )
  (entmake newness)(entdel fao)
 (setq nmbr (1+ nmbr))
   )
  )

 

Try this... :)

Link to comment
Share on other sites

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