alanjt Posted October 20, 2009 Posted October 20, 2009 Try using this: (defun c:test (/) (All2Layer (getstring t "\nSpecify layer name: ")) (princ)) Quote
alanjt Posted October 20, 2009 Posted October 20, 2009 I'm heading home, but I'm sure I'll be on later. Quote
Nick-H- Posted October 20, 2009 Author Posted October 20, 2009 Ah its doing it now, I didn't know you had to include the brackets ( ) Quote
alanjt Posted October 20, 2009 Posted October 20, 2009 Ah its doing it now, I didn't know you had to include the brackets ( ) For subroutines you do. Glad you got it to work. Does it yield the results you wanted? Quote
dbroada Posted October 21, 2009 Posted October 21, 2009 I assume alan's routine moves EVERYTHING to a particular layer which is what I think you asked for. However if you just want a quick way to reduce the number of layers you should be able to select everything and use the properties palette to set them all on one layer. As pointed out before this may leave block sub entities on their own layer but it may be close enough for what you are doing. I know from your other post selecting all may be problematic so you may want to use QSELECT to move items in groups. Quote
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.