0 Members and 1 Guest are viewing this topic.
DELAYProvides a timed pause within a script Command entry: delay (or 'delay for transparent use)Enter delay time (in milliseconds): Enter a value from 0 through 32,767 millisecondsSpecifies the duration of a pause. Entering delay 1000 in your script delays the start of execution of the next command for about one second. The longest delay available is 32767, which is slightly less than 33 seconds.
Ok, so I'm going to try to write a lisp to do what I need to do. Here goes...- Select entities to be deleted via window / crossing- Insert block at user defined point & populate attributes via small scriptFirst of all, does it sound doable?
(defun c:doable (/ ss blck pt rt)(setq ss (ssget))(command "_.erase" ss "")(setq blck (getfiled "What Block" "" ".dwg" 8)(setq pt (getpoint "\nSelect insertion point: "))(setq rt (getpoint pt "\nSelect rotation angle: "))(command "_.insert" blck pt rt)(princ))
Would this help?QuoteDELAYProvides a timed pause within a script Command entry: delay (or 'delay for transparent use)Enter delay time (in milliseconds): Enter a value from 0 through 32,767 millisecondsSpecifies the duration of a pause. Entering delay 1000 in your script delays the start of execution of the next command for about one second. The longest delay available is 32767, which is slightly less than 33 seconds.