I can't read your attachment, but your description sounds as though you
haven't got the appropriate screen sub-menu(s) included in your larger
screen menu file, or the title part(s) of it/them [**door1 or something]
might be wrong. It could be that the item you would pick off that sub-menu
not only feeds in the door width, but also sets some other variable that you
won't get when you type in the width. THat could easily be the source of
your 'numberp nil' message.
And that sub-menu item probably also has the instructions [$S=hgth or
something] for calling up the height sub-menu (assuming that's what is meant
by 'hgth'), which again you won't get unless you pick the width from the
screen menu instead of typing it. The height selection menu items could
also be setting something else in addition to feeding in the height, so that
could also be where the 'numberp nil' message is coming from.
Loading the lisp routine itself in a new Version isn't enough if it uses the
screen menu -- you need to include the screen sub-menus that it calls for,
which surely in this case are not part of AutoCAD's menu file. I hope you
still have the earlier-version .MNU or .MNS file(s) to copy them from. But
it might be hard to know what to look for if you can't get into the lisp
contents in a readable way to find out what the sub-menus it wants are
actually called (they might not be called anything like 'door1' or 'hgth').
--
Kent Cooper
wrote...
Attached is the lisp routine. I warn you it is an AutoCAD protected lisp
file so it may not help much (I hope this doesn't get me in any trouble!
Ground rule #3 I am not advocating software piracy, I am merely looking for
help). The command line is; ^c^c(pdoor "door1" "hgth" "/rpln/dr0_" 1)
entering -1 rather than 1 mirrors the door so that only one block is needed
rather than two (this is from back in version 9 of AutoCAD). I also forgot
to mention, that what this does is start pdoo
r. Then it is supposed to display "door1" on the screen menu (which it does
not do anymore) and prompts on the comand line to select the door width from
the screen menu. I manually enter what it would normally enter if I picked
it from the screen menu. Then it is supposed to display "hgth" on the
screen menu (which it does not) so I manually enter that as well. It does
break the wall to the correct width of the door opening and place the jambs
then I get the error message and it d
oes not place the door and swing.