PDA

View Full Version : Trying to creat a routine to set style, width, and height of ADT walls.


P.Lane
2006-02-09, 09:43 PM
I am trying to creat a routine to set style, width, and height of ADT walls.

here is what I have so far:

(defun c:W19 ()
(command "aecwalladd" "style" "standard" "width" "3.5" " height" "9'1.125")
(princ))

Here is what AutoCAD returns to me:

Command: w19

Point or option keyword required.

Thanks for any help in advance

Opie
2006-02-09, 10:14 PM
What are the results from doing the AECWALLADD from the command line? I don't have ADT to help out otherwise.

.T.
2006-02-09, 10:16 PM
You have an extra space before height - should be "height" instead of " height".

Take care,

Tim

miff
2006-02-09, 10:27 PM
(command "aecwalladd" "style" "standard" "width" "3.5" " height" "9'1.125")

Thanks for any help in advance
You're welcome.....note the exact text you have in that line......specifically the " height"....see the leading space? That is acting as pressing Enter.....

HTH,
Jeff

P.Lane
2006-02-10, 01:21 AM
Perfect, thank you, that extra space was the issue.