CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.093.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
Plex.Earth connects AutoCAD and Google Earth
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closedsome often use lisps.

 Post Reply Post Reply
Author
lijinsong View Drop Down
Groupie
Groupie


Joined: 06.Dec.2014
Location: China
Using: 2014
Status: Offline
Points: 27
Direct Link To This Post Topic: some often use lisps.
    Posted: 07.Dec.2014 at 10:25
because i can not find word document. only pictures.can not upload,only zip file.
  1trim short linehead.
  2 scale text and dimension .do not change text's and dimension's contain string.
  

  3 Different writing brush picture word height   (principle: Continue to exclude the narrow range of options)
  
(defun c:tt(/)
   (setq s(ssget (LIST (CONS 0  "*text") ) )
   )
   (while s
      (setq en(ssname s 0)
            h(cdr(assoc 40 (entget en)))
            s2(ssget "p" (LIST (CONS 40  h) ) )
            sl2(sslength s2)
            i  0 
      )
      (alert (strcat "current text high is : " (RTOS h 2 2) "\nReturn  selected corresponding standard word high text\n"))
      (if (setq en2 (car(entsel "Choose the corresponding standard word high text:")))
       (progn
          (setq h2 (cdr(assoc 40 (entget en2))))
            (repeat sl2
              (setq en3(ssname s2 i)
                    enl(entget en3)
                    i(1+ i)
               )
              (entmod(subst(cons 40 h2)(assoc 40 enl)enl))
            )
       )
      )
      (command "select" s "R" s2 "" ) 
      (setq s (ssget "P"))
   )
)
  
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,070 seconds.