RepCad Posted April 20, 2018 Share Posted April 20, 2018 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?? Quote Link to comment Share on other sites More sharing options...
ReMark Posted April 20, 2018 Share Posted April 20, 2018 Why not use the LAYISO command? Quote Link to comment Share on other sites More sharing options...
Dadgad Posted April 20, 2018 Share Posted April 20, 2018 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. LU is my shortcall for LAYUNISO. I use them a lot. They are both also available on the LAYERS 2 toolbar, for toolbar users. Quote Link to comment Share on other sites More sharing options...
ReMark Posted April 20, 2018 Share Posted April 20, 2018 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. Quote Link to comment Share on other sites More sharing options...
RepCad Posted April 20, 2018 Author Share Posted April 20, 2018 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. Quote Link to comment Share on other sites More sharing options...
Tharwat Posted April 20, 2018 Share Posted April 20, 2018 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. Quote Link to comment Share on other sites More sharing options...
RepCad Posted April 20, 2018 Author Share Posted April 20, 2018 thanks Tharwat for your guide, my problem is solved. Quote Link to comment Share on other sites More sharing options...
Tharwat Posted April 20, 2018 Share Posted April 20, 2018 thanks Tharwat for your guide, my problem is solved. Good to hear that. 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.