Author Topic: help with layer  (Read 11739 times)

0 Members and 1 Guest are viewing this topic.

ELOQUINTET

  • Guest
help with layer
« Reply #30 on: September 22, 2004, 10:50:43 AM »
mdub i don't really see how directory printer helps me that much. how does it help you?

M-dub

  • Guest
help with layer
« Reply #31 on: September 22, 2004, 10:57:08 AM »
It makes it really easy to create a directory listing, then exports it to either a txt file or a csv file.  I always export to csv, then open it in Excel and create my scripts there.  The reason I create it in Excel is because if I have any numbers I have to change (usually increase by 1 each time), Excel's "Fill Series" makes it quick.  Once I have everything done, I concatenate the cells and save it as a txt file.  After that, just rename the txt file to .scr and go into Acad and run the script.
Again, you don't NEED Directory Printer...you can use the DOS Prompt and type in what Keith posted on page 1 of this topic.

ELOQUINTET

  • Guest
help with layer
« Reply #32 on: September 22, 2004, 11:02:15 AM »
ok my problem i guess is i did so many drawings that i don't remember them all so i just wanna run the script on all and have the aplicable ones update. is there an all option  :?

M-dub

  • Guest
help with layer
« Reply #33 on: September 22, 2004, 11:03:47 AM »
I just sent you an e-mail...

ELOQUINTET

  • Guest
help with layer
« Reply #34 on: September 22, 2004, 11:08:30 AM »
yep still here mdub

hudster

  • Gator
  • Posts: 2848
help with layer
« Reply #35 on: September 22, 2004, 11:42:00 AM »
with ezscript, you have to start it, set the config parameters, then close it, re-start it, choose your drawings, chose your script, save it and then run it.

It's a bit fiddly at first, but as it can use do all the drawings in one AutoCAD session it's a lot faster than AutoCADs own scriptpro, which loads autocad for each drawing.

I think there is a help file on the EZscript website for setting it up.
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue

ELOQUINTET

  • Guest
help with layer
« Reply #36 on: September 22, 2004, 11:45:18 AM »
i believe i did all the setup in ezscript hudster but when i go to run it it doesn't do anything dunno

M-dub

  • Guest
help with layer
« Reply #37 on: September 22, 2004, 11:49:19 AM »
After talking with Dan, I don't think scripts are going to help him yet.  First he has to find the drawings that contain the layers he's trying to work with.  After he has that list of drawings, scripts might help him.  The only thing I was worried about, Dan, was the directory structures...Spaces, decimals and commas can cause problems with scripts.  It will have to be tested though...

ELOQUINTET

  • Guest
help with layer
« Reply #38 on: September 22, 2004, 12:00:33 PM »
you saw structure wow  :lol:

M-dub

  • Guest
help with layer
« Reply #39 on: September 22, 2004, 12:57:07 PM »
Quote from: eloquintet
you saw structure wow  :lol:


...Or lack thereof....;)

ELOQUINTET

  • Guest
help with layer
« Reply #40 on: September 22, 2004, 01:32:47 PM »
mdub what i did was i created this script then did a windows search for doors and sidelites opened all those drawings then ran the script on each. it didn't get everything but it helped some. like i said it's not a big deal just trying to learn. thanks

Code: [Select]
;turn layer on
-layer on z-barcode
;;make layer non plotting
p n z-barcode
;;exit layer command

save y

close

;;end of script

M-dub

  • Guest
help with layer
« Reply #41 on: September 22, 2004, 01:35:35 PM »
Right on...
I was actually just trying a Windows search for layer names.  Actually, I'm writing this as I wait for it to finish.  It worked for finding Xref's before so I thought I'd try searching for layer names.  I even looked on the ol' Cadalog.com for something that would help you, but couldn't find anything.  You should start a new topic "Find drawings containing layer"

ELOQUINTET

  • Guest
help with layer
« Reply #42 on: September 22, 2004, 01:40:35 PM »
done