Author Topic: 1000, separate block once all dimstyl and textstyle s the way of change with lis  (Read 1966 times)

0 Members and 1 Guest are viewing this topic.

razara

  • Guest
Hi,
Would it be possible to create a LISP routine that can take 300-1000 AutoCAD files and rename dimstyle,textstyle automatically?

to be more precise; would you please explain me how can I change 1000 seperated block's dimstyle and textstyle with lisp code? The blockes have to be asunder of each one.

Current Dimstyle names are...

ekp-ölçü
ekp-yazi
ISO-25
Standart

They need to all be altered to...

GRC-MM


There's a ton of AutoCAD files & blocks, so I really appreciate the help doing this faster.

Thanks!

razara

  • Guest

ChrisCarlson

  • Guest
I'd peruse

http://www.lee-mac.com/scriptwriter.html


However you need to address the IF a drawing has more than one of those dimstyles.

razara

  • Guest
Thanks Dear ChrisCarlson,

Sample Code:

_open "\\FILESRV\gurcelikusers\huseyinhazar\desktop\orneksahne\2T PT60AT 12.dwg" _rename _Style ekp-yazı grc-yazi _Qsave LT2010 _close
_open "\\FILESRV\gurcelikusers\huseyinhazar\desktop\orneksahne\2T PT60AT 14.dwg" _rename _Style ekp-yazı grc-yazi _Qsave LT2010 _close
_open "\\FILESRV\gurcelikusers\huseyinhazar\desktop\orneksahne\2T PT60AT 16.dwg" _rename _Style ekp-yazı grc-yazi _Qsave LT2010 _close



razara

  • Guest
Dear Cris, I have reached particularly some point about code  but it is not what I want.

There is some unknown point at the script line.If you have an idea would you please suggest me your idea. Thanks

Problem image script line links http://i.imgur.com/YGSDQyd.jpg

http://i.imgur.com/PxODcxV.png