Jump to content

copy layer and sort, sometime duble copy


nalsur8

Recommended Posts

  • Replies 42
  • Created
  • Last Reply

Top Posters In This Topic

  • nalsur8

    15

  • pBe

    11

  • Lee Mac

    8

  • alanjt

    7

Top Posters In This Topic

Posted Images

not WHAT but HOW

 

my first posting(1st page) here is for to sorting layer, it's right? LM, pBe?

 

my problem with this code is, the layer is not sort by number (my layer is 01 02 03 04 and so on)

 

and another request is

 

other issue, my layer have 2 type, 01,02,03... and so on.... is object and 01D,02D,03D... and so on is for DIMENSION layer, all dimension layer have "D" behind number, so i want the layer 01 and 01D is are same location (overlap), with the current coding is separated all layer individual

 

this one solve already by..

LoL, after actually reading his filtering request, you could accomplish it by adding these two lines:

                 ((cdr (assoc (vl-string-right-trim "D" l) lst)))
                ((cdr (assoc (strcat l "D") lst)))

 

it's right, LM pBe?

 

the problem only with this one.. LM was not happy

YES.. now all ok after i adding code by alanjt
((cdr (assoc (vl-string-right-trim "D" l) lst)))
                ((cdr (assoc (strcat l "D") lst)))

the problem now is, the layer is not sorting,

sorting like this Top is layer=01,01D 2nd layer=02,02D and so on...

 

LM it's right?,

for me, if you read my first post, maybe now would be a different situation

 

TQ

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