Thanks Rune,
Thats worked
regards
Si Morton
Rune Wold wrote in message
news:eeff5c4.0@WebX.SaUCah8kaAW...
> Try inserting the block without specifying the attributes, then call
ddatte
> with the "last" entity.
>
> (defun c:test ()
>
> (setvar "attreq" 0)
>
> (command "insert" "c:/temp/a1text" "0,0" "1" "1" "0")
>
> (command "ddatte" "l")
>
> (setvar "attreq" 1)
>
> )
>
> You should have an error handeler here to make sure the attreq ssystem
> variable is set back to 1.
>
> Hope this helps.
>
> --
> Rune Wold
> Application Designer
> Engineering Systems
> rune@engsys.no
> --
>
> "Si Morton" wrote in message
> news:eeff5c4.-1@WebX.SaUCah8kaAW...
> > We have a Lisp routine that we are trying to run in AutoCAD2000. The
Lisp
> > routine should bring up the attribiute dialogue box, however the
commands
> > only appear on the command line.
> > Below is a copy of the Lisp routine we are using.
> >
> > (defun c:test ()
> >
> > (command "attdia" "1")
> >
> > (command "insert" "c:/temp/a1text" "0,0" "1" "1" "0")
> >
> > )
> >
> > Any ideas or help please !!
> >
> > regards
> >
> > Si Morton
> >
>