Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is the commmand to close Texxt window by script

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
meirbitXEY88
445 Views, 4 Replies

What is the commmand to close Texxt window by script

Hi,

 

I'm writting a script to  update the 'drawing units' fields.

When I'm running the script its openning the autocad LT text window and after it finnshed I need to close this window manuallly.

What is the command I should write in the script to close this windows after it finnshed?

 

 

Thanks in advanced

Meir

4 REPLIES 4
Message 2 of 5
steven-g
in reply to: meirbitXEY88

Can you post the script? Is it maybe a command dialogue that is opening and expecting further input from your script?

Message 3 of 5
meirbitXEY88
in reply to: steven-g

This is what I'm running via script:

"-units 2 2 1 0 0 N "

 

Message 4 of 5
steven-g
in reply to: meirbitXEY88

Try this

-units 2 2 1 0 0 N graphscr

It sends the command history to the background.

Message 5 of 5
meirbitXEY88
in reply to: steven-g

Thabks for your help 🙂

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

Post to forums  

Technology Administrators


Autodesk Design & Make Report