Visual LISP, AutoLISP and General Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Progress Meter (repost)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
75 Views, 6 Replies
12-03-2003 01:28 AM
Is there a way to show progress in a routine? I have a routine that currently princs the precentage done from each pass of a repeat. Is there something out there that displays a progress meter at the bottom of the command prompt or something similar? for example (meter 50) would display 50% done. I have seen this with 3rd party softwares...
*Turvill, Paul
Meter
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-03-2003 01:28 AM in reply to:
hulioman
ALLCAPS.LSP from
http://www.turvill.com/t2/free_stuff
will do what you want.
Please don't cross-post.
___
"David K." wrote in message
news:EAA7AC464389A153059925DB185E6468@in.WebX.maYI adrTaRb...
> I'd like to either be able to
> change more than one line of text at a time using a selection set
http://www.turvill.com/t2/free_stuff
will do what you want.
Please don't cross-post.
___
"David K."
news:EAA7AC464389A153059925DB185E6468@in.WebX.maYI
> I'd like to either be able to
> change more than one line of text at a time using a selection set
*Spangler, Timothy
Re: Progress Meter (repost)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-03-2003 01:53 AM in reply to:
hulioman
Try this. This is an DCL
example:
example:
--
_________________________________
Timothy Spangler
"You cannot escape the responsibility of tomorrow by evading it
today"
Abraham Lincoln
_________________________________
today"
Abraham Lincoln
_________________________________
AutoCAD 2002
WinXP
Compaq Evo W6000
Intel Xeon / 1G RAM
WinXP
Compaq Evo W6000
Intel Xeon / 1G RAM
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"hulioman" <Is
href="mailto:hulioman@hotmail.com">hulioman@hotmail.com> wrote in
message
href="news:f1a2cf4.-1@WebX.maYIadrTaRb">news:f1a2cf4.-1@WebX.maYIadrTaRb...
there a way to show progress in a routine? I have a routine that currently
princs the precentage done from each pass of a repeat. Is there something out
there that displays a progress meter at the bottom of the command prompt or
something similar? for example (meter 50) would display 50% done. I have seen
this with 3rd party softwares...
*real JD, The
Re: Progress Meter (repost)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-03-2003 01:59 AM in reply to:
hulioman
Doslib offers that.... Can't tell you much more
than that. But worth checking out.
than that. But worth checking out.
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"hulioman" <Is
href="mailto:hulioman@hotmail.com">hulioman@hotmail.com> wrote in
message
href="news:f1a2c62.-1@WebX.maYIadrTaRb">news:f1a2c62.-1@WebX.maYIadrTaRb...
there a way to show progress in a routine?
I have a routine that currently
princs the precentage done from each pass of a repeat. Is there something out
there that displays a progress meter at the bottom of the command prompt or
something similar?
for example (meter 50) would display 50%
done.
I have seen this with 3rd party
softwares...
*real JD, The
Re: Progress Meter (repost)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-03-2003 02:00 AM in reply to:
hulioman
Doslib...
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"hulioman" <Is
href="mailto:hulioman@hotmail.com">hulioman@hotmail.com> wrote in
message
href="news:f1a2cf4.-1@WebX.maYIadrTaRb">news:f1a2cf4.-1@WebX.maYIadrTaRb...
there a way to show progress in a routine? I have a routine that currently
princs the precentage done from each pass of a repeat. Is there something out
there that displays a progress meter at the bottom of the command prompt or
something similar? for example (meter 50) would display 50% done. I have seen
this with 3rd party softwares...
Re: Progress Meter (repost)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-03-2003 02:43 AM in reply to:
hulioman
(dos_progbar "title" amount)
Allows you to use the built in AutoCAD progress bar.
Dos_getprogress gives you a modeless box on the screen.
Bill
Allows you to use the built in AutoCAD progress bar.
Dos_getprogress gives you a modeless box on the screen.
Bill
Re: Progress Meter (repost)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
12-03-2003 03:45 AM in reply to:
hulioman
Try this crude implementation....
(setq num 1000
cnt 0.0
incr (/ 1.0 num)
)
(repeat num
(setq pct (fix (* 100 (setq cnt (+ cnt incr)))))
(princ (strcat "\r" "...Processing..." (itoa pct) "% Done..."))
(rest of your code here.......)
);repeat........Don
(setq num 1000
cnt 0.0
incr (/ 1.0 num)
)
(repeat num
(setq pct (fix (* 100 (setq cnt (+ cnt incr)))))
(princ (strcat "\r" "...Processing..." (itoa pct) "% Done..."))
(rest of your code here.......)
);repeat........Don
