Author Topic: Display the process?  (Read 1253 times)

0 Members and 1 Guest are viewing this topic.

JohnSnow

  • Newt
  • Posts: 52
Display the process?
« on: April 23, 2021, 03:46:47 AM »
Does anyone know if there is anyway to display the whole process when executing?
So, say I have a lisp that the function is to generate a circle and delete that circle and regenerate a circle with increased radius and delete and on and on. Now I want the whole process can be seen instead of being executed all at once. It is pretty much like I want to generate a dynamic ripple if you get what I am saying. Something like a timer control? Is it possible in lisp? Thanks.

David Bethel

  • Swamp Rat
  • Posts: 656
Re: Display the process?
« Reply #1 on: April 23, 2021, 06:23:02 AM »
(trace) can help for autolisp calls

There is also (setvar "CMDECHO" 1)

I use old versions and can use crtl Q to toggle output to the printer rather than screen

Maybe VLIDE has some tools as well

Good luck  -David
R12 Dos - A2K

tombu

  • Bull Frog
  • Posts: 288
  • ByLayer=>Not0
Re: Display the process?
« Reply #2 on: April 23, 2021, 07:58:49 AM »
Use AutoCAD DELAY (Command) https://help.autodesk.com/view/ACD/2022/ENU/?guid=GUID-C352A9F4-0057-43AD-9642-9BAA881224F8
Code: [Select]
(command "DELAY" 1000) would pause 1 second.
Add one after each circle is added.
Tom Beauford P.S.M.
Leon County FL Public Works - Windows 7 64 bit AutoCAD Civil 3D

JohnSnow

  • Newt
  • Posts: 52
Re: Display the process?
« Reply #3 on: April 25, 2021, 12:05:29 AM »
Thank you David and Tom.

Is there any script as examples? What I want to achieve is, say, move a object from point a to point b. I want the movement to be shown smoothly instead of showing the object directly being moved to point b. I feel like the functions like 'delay' is 'hard' to achieve this?

tombu

  • Bull Frog
  • Posts: 288
  • ByLayer=>Not0
Re: Display the process?
« Reply #4 on: April 25, 2021, 09:34:02 AM »
Tom Beauford P.S.M.
Leon County FL Public Works - Windows 7 64 bit AutoCAD Civil 3D

JohnSnow

  • Newt
  • Posts: 52
Re: Display the process?
« Reply #5 on: April 26, 2021, 11:38:10 PM »
Thank you very much. I will have a look