+ Reply to Thread
Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 11 to 20 of 31
  1. #11
    Forum Deity Dadgad's Avatar
    Using
    AutoCAD 2012
    Join Date
    Nov 2011
    Location
    At the confluence of worthlessness & invaluability
    Posts
    3,133

    Default

    Registered forum members do not see this ad.

    Perhaps you could use STANDARDS and a .dws to make such a simple change?
    Volume and repetition do not validate opinions forged in the absence of thought.

  2. #12
    Full Member
    Computer Details
    DreadPirateRoberts's Computer Details
    Operating System:
    Windows 7
    Discipline
    Manufacture
    DreadPirateRoberts's Discipline Details
    Occupation
    Drafting and Design Technician
    Discipline
    Manufacture
    Using
    Inventor 2013
    Join Date
    Jun 2011
    Location
    Frederick, Maryland
    Posts
    28

    Default

    Dadgad, I just made a .dws and forced the color from yellow to magenta using the 'Check Standards' option. Worked great. But...it still doesn't solve the problem of having to do this 500+ times right?
    Also...Check standards is great!! I've been using a template file to keep constant settings, but I like being able to double check and force changes now.

    (haven't had a chance to look at scriptwriter yet...)

  3. #13
    Full Member
    Computer Details
    DreadPirateRoberts's Computer Details
    Operating System:
    Windows 7
    Discipline
    Manufacture
    DreadPirateRoberts's Discipline Details
    Occupation
    Drafting and Design Technician
    Discipline
    Manufacture
    Using
    Inventor 2013
    Join Date
    Jun 2011
    Location
    Frederick, Maryland
    Posts
    28

    Default

    I've written this bit of script which works:
    Code:
    open "C:\Users\roberth\Desktop\AC-Outlets-NewColor\HBL5252BK.dwg" -layer color magenta Guidelines  qsave close
    open "C:\Users\roberth\Desktop\AC-Outlets-NewColor\LEV5320CP.dwg" -layer color magenta Guidelines  qsave close 
    ...
    At ReMark's suggestion, I tried pointing it to the file where my drawings are: "C:\Users\roberth\Desktop\AC-Outlets-NewColor" hoping it would batch process the entire folder if I save it as .bat

    But that doesn't work. I double click on the new .bat file and the windows command prompt pops up for half a second and disappears. My files are unchanged. Clearly .bat and .scr files are written a little differently. Any suggestions? I'm going to poke around in previous posts some more.

  4. #14
    Full Member
    Computer Details
    DreadPirateRoberts's Computer Details
    Operating System:
    Windows 7
    Discipline
    Manufacture
    DreadPirateRoberts's Discipline Details
    Occupation
    Drafting and Design Technician
    Discipline
    Manufacture
    Using
    Inventor 2013
    Join Date
    Jun 2011
    Location
    Frederick, Maryland
    Posts
    28

    Default

    Anyone have experience with ScriptPro? I think it could solve my problems, but it doesn't seem to be working for me. I use the wizard to set everything up, my script runs fine if I run it from within AutoCAD.
    I load up all the files I want to run the script on, click run, and AutoCAD pops open, then closes, without doing anything to my files.
    My script now is:
    Code:
    -layer color magenta Guidelines  qsave close

  5. #15
    Junior Member
    Discipline
    Mechanical
    dong95's Discipline Details
    Occupation
    Mechanical Designer
    Discipline
    Mechanical
    Using
    AutoCAD 2006
    Join Date
    Sep 2011
    Posts
    13

    Default

    In my experience once you installed the script pro, you will need to input your script and your drawing files then press start. But in the office, you will need an administrator permission for installation, so i recommend the suggestion of Lee using script writer lisp or the suggestion of Remark using a batch file.

  6. #16
    Full Member
    Computer Details
    DreadPirateRoberts's Computer Details
    Operating System:
    Windows 7
    Discipline
    Manufacture
    DreadPirateRoberts's Discipline Details
    Occupation
    Drafting and Design Technician
    Discipline
    Manufacture
    Using
    Inventor 2013
    Join Date
    Jun 2011
    Location
    Frederick, Maryland
    Posts
    28

    Default

    Fortunately I'm an administrator on my computer here at the office, so I at least don't have to worry about that! (I just have to do some extensive persuading before I install/download anything...the interwebs is a dangerous place you know...)
    I've started Script Pro, loaded my script and chosen my drawing files, only to have the problem I mentioned before. Also, after I click start/run Script pro freezes and no matter how many times I click 'stop', nothing happens.
    Bizarre, I seem to be doing everything right according to their help file too.
    Thanks again for the help

  7. #17
    Super Member irneb's Avatar
    Computer Details
    irneb's Computer Details
    Operating System:
    Win7 Pro 64bit
    Computer:
    Antec One Hundred
    Motherboard:
    ASUS P8P67-Pro P67
    CPU:
    Intel i7 2600 @ 3.4GHz
    RAM:
    16GB-1600MHz
    Graphics:
    GeForce GT 430 (1GB)
    Primary Storage:
    Seagate1TB SATA2 - 7200rpm
    Monitor:
    Samsung 2333TN 23" 1920 x 1080 Full HD LCD Monitor2GW
    Discipline
    Architectural
    irneb's Discipline Details
    Occupation
    Architectural Technician and Programmer
    Discipline
    Architectural
    Using
    AutoCAD 2013
    Join Date
    Sep 2010
    Location
    Jo'burg SA
    Posts
    1,634

    Default

    Are you on a 64bit system? I know SriptPro had a requirement to only run on 32bits. I think there's an update somewhere on AutoDesk labs which is supposed to work, though I haven't had much success with it.

    Also ScriptPro opens a new ACad for each DWG you selected, it could get a bit slow. Perhaps try something called AutoScript, it runs inside ACad itself instead of an external program which calls acad.

    Make sure your scrip has a newline at the end, and try to rather use Enters (i.e. new lines) instead of spaces. Sometimes ScriptPro / AutoScript goes haywire with the spaces.

    Alternatively Lee's proggy also works decently, or you can try Tim's one over here: http://www.theswamp.org/index.php?topic=41546.0
    He's looking for people to give him some feedback.
    Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
    My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!

  8. #18
    Full Member
    Computer Details
    DreadPirateRoberts's Computer Details
    Operating System:
    Windows 7
    Discipline
    Manufacture
    DreadPirateRoberts's Discipline Details
    Occupation
    Drafting and Design Technician
    Discipline
    Manufacture
    Using
    Inventor 2013
    Join Date
    Jun 2011
    Location
    Frederick, Maryland
    Posts
    28

    Default

    Ah! Yes, I am running a 64bit system...maybe I will switch the spaces to enters too though, see if that helps.
    I'll try some of the other methods (hopefully today) you mentioned and let you know how it goes.
    Thanks

  9. #19
    Senior Member
    Discipline
    Manufacture
    eyde's Discipline Details
    Occupation
    Project Manager/ Regional CAD Manager
    Discipline
    Manufacture
    Details
    We manufacture concrete utility vaults
    Using
    AutoCAD 2011
    Join Date
    Sep 2010
    Location
    Southern California but a true Texan
    Posts
    103

    Default

    Layer Merge is the command you want. LAYMRG

  10. #20
    Full Member
    Computer Details
    DreadPirateRoberts's Computer Details
    Operating System:
    Windows 7
    Discipline
    Manufacture
    DreadPirateRoberts's Discipline Details
    Occupation
    Drafting and Design Technician
    Discipline
    Manufacture
    Using
    Inventor 2013
    Join Date
    Jun 2011
    Location
    Frederick, Maryland
    Posts
    28

    Default

    Registered forum members do not see this ad.

    Looking through some info on Autoscript, and it seems to only work on AutoCAD 2007 and above...I'm stuck with 2004. I think I'm going to try ScriptPro on my home computer (32bit) tomorrow night, and also probably Lee Mac's program as well. I'll let you know my results.
    @eyde, I think Layer Merge might also be a new Autocad Command, LAYMRG is an 'Unknown Command' back here in 2004

Similar Threads

  1. changing all colors in drawing regardless of layer, block
    By NoelStalker in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 12
    Last Post: 8th Mar 2012, 04:01 pm
  2. Help changing this LISP routine so I can select hundreds of lines at once?
    By PlutoISaPlanet in forum AutoLISP, Visual LISP & DCL
    Replies: 14
    Last Post: 25th Apr 2011, 01:52 am
  3. Change pastel colors to alternative colors by layer & elements & blocks
    By deucer in forum AutoLISP, Visual LISP & DCL
    Replies: 12
    Last Post: 23rd Jul 2010, 06:13 pm
  4. Overlay, compare drawings and changing colors
    By uahmad in forum AutoCAD Beginners' Area
    Replies: 2
    Last Post: 27th Nov 2008, 03:29 am
  5. Layer colors changing when I switch to paper space
    By Muxe in forum AutoCAD General
    Replies: 2
    Last Post: 10th Sep 2007, 08:33 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts