Tiger Posted August 11, 2010 Share Posted August 11, 2010 Ok, so I caved and made a Script+Macro combo to get my two thousand blocks sorted. At least a big part of them. This is what I got Macro: ^C^Cscript "C:/Documents and Settings/<username>/Desktop/data.scr" ^C^Cm all ;\0,0,0 ^C^Cz e ^C^Cchange;\ p LA Centrum ^C^Cpurge all * n ^C^Cqsave Script: snap off grid off -Layer S 0 N Centrum LT dashdot Centrum C red Centrum change all P LT BYLAYER Color BYLAYER LA 0 ltscale 1 Very basic, but it works with a minimum of fuss. But I have one thing that I can't seem to figure out. The Macro pauses for me to select which lines to change to Layer Centrum - but it doesn't accept a crossing box, or that I pick two objects. Can that be altered so I can do a crossing box? Quote Link to comment Share on other sites More sharing options...
SEANT Posted August 11, 2010 Share Posted August 11, 2010 I believe that situation is addressed in the posting I made here. http://www.cadtutor.net/forum/showthread.php?16208 Quote Link to comment Share on other sites More sharing options...
Tiger Posted August 11, 2010 Author Share Posted August 11, 2010 Oh, so not so strange that I couldn't figure it out if its not suppose to work :wink: Updated macro below as per Seans instructions, works like a charm ^C^Cscript "C:/Documents and Settings/A403635/Desktop/data.scr" ^C^Cm all ;\0,0,0 ^C^Cz e ^C^Cselect \change p p LA Centrum ^C^Cpurge all * n ^C^Cqsave Quote Link to comment Share on other sites More sharing options...
SEANT Posted August 11, 2010 Share Posted August 11, 2010 . . . .works like a charm . . . . Cool. The process is a bit convoluted. As a matter of fact, I’m not sure the OP in that linked thread accepted the advice given by that excerpt. Quote Link to comment Share on other sites More sharing options...
Tiger Posted August 11, 2010 Author Share Posted August 11, 2010 The process is a bit convoluted. As a matter of fact, I’m not sure the OP in that linked thread accepted the advice given by that excerpt. well sure, its not the most straightforward of things (and I could almost bet my right hand that Lee will write soemthing smooth when he wakes up :wink: ) but it works, and I can listen to some mind-soothing music while I run it a gazillion times. Quote Link to comment Share on other sites More sharing options...
SEANT Posted August 11, 2010 Share Posted August 11, 2010 I didn’t express myself particularly well. The phrase was referring to the different requirements for activation in command line versus menu macro (i.e., the need for Select). I still think any specialized routine that can be “menu-macro”fied, should be. That allows its use in AutoCADLT. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.