Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

textbox not working in Autocad 2016

5 REPLIES 5
Reply
Message 1 of 6
nikko_1983
992 Views, 5 Replies

textbox not working in Autocad 2016

The textbox funtion dosen't work in Autocad 2016. But it can work in Autocad 2010-2014. What is going wrong? 

 

Thanks a lot!!

5 REPLIES 5
Message 2 of 6
Ranjit_Singh2
in reply to: nikko_1983

Post more information, what error do you get. This says it is a function in 2016. What does this return on your command prompt

(textbox '((1 . "Hello world.")))
Message 3 of 6
dbroad
in reply to: nikko_1983

Works here with:

(textbox (entget(car(entsel))))

Architect, Registered NC, VA, SC, & GA.
Message 4 of 6
nikko_1983
in reply to: dbroad

Thanks your reply!

But there are still some problem about textbox.

 

As below:

 

(setq AA "abc")

(textbox (list (cons 1 AA)))

 

 these codes is used in my lisp and they can work in autocad 2014. Unfortunely, it doesn't work in 2016.  What is problem in my lisp?

 

thanks a lot

Message 5 of 6
kerry_w_brown
in reply to: nikko_1983


nikko_1983 wrote:

Thanks your reply!

But there are still some problem about textbox.

 

As below:

 

(setq AA "abc")

(textbox (list (cons 1 AA)))

 

 these codes is used in my lisp and they can work in autocad 2014. Unfortunely, it doesn't work in 2016.  What is problem in my lisp?

 

thanks a lot


Works for me in AC2017. ( don't have AC2016 on this box.)

 

 

textbox Capture.PNG

 

 


// Called Kerry in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect.
Sometimes the question is more important than the answer.

class keyThumper<T> : Lazy<T>;      another  Swamper

Message 6 of 6
nikko_1983
in reply to: kerry_w_brown

QQ图片20170225144812.png1.jpg 

My autocad is Chinese version. 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report