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

Nota: Devi essere registrato per poter inserire un messaggio.
Per registrarti, clicca qui. La Registrazione è semplice e gratuita!

Larghezza finestra:
Nome Utente:
Password:
Modo:
Formato: GrassettoCorsivoSottolineatoBarrato Aggiungi Spoiler Allinea a  SinistraCentraAllinea a Destra Riga Orizzontale Inserisci linkInserisci EmailInserisci FlashInserisci Immagine Inserisci CodiceInserisci CitazioneInserisci Lista
   
Icona Messaggio:              
             
Messaggio:

  * Il codice HTML è OFF
* Il Codice Forum è ON

Faccine
Felice [:)] Davvero Felice [:D] Caldo [8D] Imbarazzato [:I]
Goloso [:P] Diavoletto [):] Occhiolino [;)] Clown [:o)]
Occhio Nero [B)] Palla Otto [8] Infelice [:(] Compiaciuto [8)]
Scioccato [:0] Arrabbiato [:(!] Morto [xx(] Assonnato [|)]
Bacio [:X] Approvazione [^] Disapprovazione [V] Domanda [?]
Seleziona altre faccine

    
 
   

V I S U A L I Z Z A    D I S C U S S I O N E
arri Inserito il - 22 settembre 2010 : 12:37:23
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

1   U L T I M E    R I S P O S T E    (in alto le più recenti)
arri Inserito il - 24 gennaio 2013 : 11:05:43
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

TuttoCAD Forum © 2001-2010 CADLandia Torna all'inizio della Pagina
Pagina generata in 0,29 secondi.