TuttoCAD Forum

TuttoCAD Forum
[ Home | Registrati | Discussioni Attive | Discussioni Recenti | Segnalibro | Msg privati | Sondaggi Attivi | Utenti | Album Fotografico | Download | | Cerca | FAQ ]
Nome Utente:
Password:
Salva Password
Password Dimenticata?

 Tutti i Forum
 1 - TuttoCAD Software
 AutoLISP
 Progress Bar
 Nuova Discussione  Rispondi
 Versione Stampabile Bookmark this Topic Aggiungi Segnalibro
I seguenti utenti stanno leggendo questo Forum Qui c'è:
Autore Discussione Precedente Discussione Discussione Successiva  

arri
Utente Master


Regione: Lombardia


14951 Messaggi

Inserito il - 22 settembre 2010 : 12:37:23  Mostra Profilo Invia a arri un Messaggio Privato  Rispondi Quotando
ProgressBar contains a set of functions that can be used in loops while processing information. The main functions are ProgressBar, Progress, and EndProgressBar. There are a few example functions to demonstrate the syntax and method of using ProgressBar. PB-Demo is an example for an information message only. PB-Demo1 is an example for a foreach loop. PB-Demo2 is an example for a repeat loop. And PB-Demo3 is an example for a while loop.

http://web2.airmail.net/terrycad/LISP/ProgressBar.lsp

http://web2.airmail.net/terrycad/LISP/ProgressBar.dcl

arri
Utente Master


Regione: Lombardia


14951 Messaggi

Inserito il - 24 gennaio 2013 : 11:05:43  Mostra Profilo Invia a arri un Messaggio Privato  Rispondi Quotando
To inform users about the progress of a lengthy calculation you can use progress bar ("thermometer"). In AutoLISP you can make use of the inbuilt function acet-ui-progress from Express Tools (must be installed).
Example - how to use it:


(acet-ui-progress-init "Working:" 10000); init - interval length

(setq i 0)

(repeat 10000; loop
; user functions performed here....
(setq i (1+ i))
(acet-ui-progress-safe i); update progressbar
)

(acet-ui-progress-done); dismiss progressbar
Torna all'inizio della Pagina
  Discussione Precedente Discussione Discussione Successiva  
 Nuova Discussione  Rispondi
 Versione Stampabile Bookmark this Topic Aggiungi Segnalibro
Vai a:
TuttoCAD Forum © 2001-2010 CADLandia Torna all'inizio della Pagina
Pagina generata in 0,93 secondi.