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

Command script

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
suziodonnell
412 Views, 2 Replies

Command script

I am trying to write a command script. I am not a super user but have over 100 drawings that need to have the same settings changed and I was hoping to use a command script. I need to Open each drawing, hide the lineweight, save then save the drawing. So far I don't have much and I am not sure if what I do have is correct.

 

OPEN 2795-pscr-201-002.dwg

lweight

_QSAVE

2 REPLIES 2
Message 2 of 3
antoniovinci
in reply to: suziodonnell

I'd use such a script:

 

filedia 0

_open drawing1

lwdisplay off

_qsave

_close

_open drawing2

lwdisplay off

_qsave

_close

...

_open drawing100

lwdisplay off

_qsave

_close

filedia 1

 

I've no Autocad at home to test it physically, so let us know if it works for you, sir.

 

Message 3 of 3
suziodonnell
in reply to: suziodonnell

Thank you so much, that worked perfectly.

 

Regards,

Suzi

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

Post to forums  

”Boost