Jump to content

Isolate Layer by Select


RepCad

Recommended Posts

hi all,

i need a lisp program to isolate layer by select polyline, is there a direct code to isolate by autolisp or i have to use function??

Link to comment
Share on other sites

Why not use the LAYISO command?

 

+1 Absolutely the way to go.

 

I love LAYISO, use LI as my alias shortcall.

It doesn't get much quicker, nor easier than that. :beer:

 

LU is my shortcall for LAYUNISO.

I use them a lot.

They are both also available on the LAYERS 2 toolbar, for toolbar users.

Link to comment
Share on other sites

There are layer isolating lisp routines that can be found with a simple search. Forum member Kent Cooper wrote such a routine back in November, 2011 and submitted it to Cadalyst magazine.

Link to comment
Share on other sites

i write a program in lisp and one part of program i need a function for isolate selected polyline by user,

i know layiso command autocad but i need a lisp.

 

thanks anyway for your reply.

Link to comment
Share on other sites

Hi,

 

Make a selection set of the polylines then create a list of their layer names after that iterate through the Layer Table and entmod the DXF 62 to minus value if its not already to layer names that are not listed in the polyline's layer names list.

Link to comment
Share on other sites

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