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.097.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.
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 ClosedAfter stretch command ,selected be turned into ti

 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: After stretch command ,selected be turned into ti
    Posted: 06.Dec.2014 at 19:46


(defun c:tt( / pt1 pt2 mp an1 mode dypnt mp dist pnt1 pnt2 pnt3 pnt4) 

  (vl-load-com)

  ( vl-cmdf "stretch" "C" )

        ( while ( > ( getvar 'CmdActive ) 0 ) ( command pause )
  )

  (setq bent (ssget "P"))

  ;The insertion point coordinate origin
   (setq bpoint '(0 0 0) )

  ;Here, as long as the hours minutes and seconds better improvement
   
  (setq bname (substr (rtos (getvar 'cdate) 2 8) 10 8))
  (command "-block" bname bpoint bent "" )
  (command "-insert" bname bpoint "" "" "" )

)




Edited by lijinsong - 07.Dec.2014 at 07:53
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 06.Dec.2014 at 21:05
How about explaining the purpose behind the code you are posting.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
lijinsong View Drop Down
Groupie
Groupie


Joined: 06.Dec.2014
Location: China
Using: 2014
Status: Offline
Points: 27
Direct Link To This Post Posted: 07.Dec.2014 at 07:01
Thank you for your attention to my post, my idea is to become piece later with the original reinforced distinguish. Easy to modify. If mixed together will be very difficult to identify the various reinforced.
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 07.Dec.2014 at 13:22
That explanation is basically garbage. 

I won't be using any of the lisp routines you've posted.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
lijinsong View Drop Down
Groupie
Groupie


Joined: 06.Dec.2014
Location: China
Using: 2014
Status: Offline
Points: 27
Direct Link To This Post Posted: 07.Dec.2014 at 15:44
It seems you are a school, the demands of practical work to solve the problem,  but not to how complex.
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 07.Dec.2014 at 18:16
Maybe you should ask a friend with a better command of the English language translate your posts for you.  They don't make much sense.

It would be helpful if you explained what your lisp routine is supposed to do and give a real world example of the routine in use.  A video demonstration of the routine in action would be best.


Edited by John Connor - 08.Dec.2014 at 12:04
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

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.