Jump to content

Recommended Posts

Posted

Try using this:

(defun c:test (/) (All2Layer (getstring t "\nSpecify layer name: ")) (princ))

  • Replies 24
  • Created
  • Last Reply

Top Posters In This Topic

  • Nick-H-

    11

  • alanjt

    9

  • Cadologist

    3

  • CarlB

    1

Top Posters In This Topic

Posted

I'm heading home, but I'm sure I'll be on later.

Posted

Ah its doing it now, I didn't know you had to include the brackets ( )

Posted
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?

Posted

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. :)

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...