The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 AutoCAD
 Lisp & Other Handy Files
 getstring won't wait

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

T O P I C    R E V I E W
dkallberg Posted - August 22 2007 : 1:08:39 PM
I have a problem where I want to enter a string for a plot stamp to be used on the batch plotting. I generated a function 'Hurr_plostamp' and it works when entered manually on the commamd line in AutoCAD. But when put in the PreScript, it will not stop for any entry. In fact it see's next lisp line as the entry. I am new at this and have read and googled everything.

HELP
2   L A T E S T    R E P L I E S    (Newest First)
dkallberg Posted - August 22 2007 : 1:37:10 PM
i can't seem to edit my message so i'll put it here:

the prescript is: (hurr_plotstamp)

(defun Hurr_PlotStamp();This puts a plot stamp on a drawing if anything is entered...
; gets user input, the T means it accepts spaces
(setq project (getstring T "\nEnter PlotStamp if you want here:"))
(if (/= project ""); if input, then set up plotstamp
(progn
(command "_.plotstamp" "on"\r); stamp On / OFF
(command "_.plotstamp" "F" "no" "no" "no" "no" "no" "no" "no"\r); Stamp Fields: drawing name Y/N
; Stamp layout name Y/N
; Stamp date and time Y/N
; Stamp login name Y/N
; Stamp plot device name Y/N
; Stamp paper size Y/N
; Stamp scale Y/N
(command "_.plotstamp" "U" project ""\r); User fields: User field 1 user field 2
(command "_.plotstamp" "L" "no"\r); Log file Y/N
(command "_.plotstamp" "LOC" "BL" "H" "N" "0.7,0.25" "B"\r); LOCation: TL,TR,BL,BR
; stamp Horizontal or Verticle
; Stamp upside down Y/N
; plot stamp offset
; offset relative to Boarder or Area
(command "_.plotstamp" "T" "Tahoma" 0.06 "Y"\r); Font name
; Text height
; Plot stamp on single line Y/N
(command "_.plotstamp" "UN" "I"\r); Units Inches/Millimeters/Pixels
)))
Admin Posted - August 22 2007 : 1:20:36 PM
If you post your lisp routine, and your user script, we could attempt to help you better.

(ZIP them, and click the "Attach a File" paperclip below)
(or you can just cut/paste them inline with the message)

Thanks,
Bill

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.2 seconds. Snitz Forums 2000