help with this break object LISP

help with this break object LISP

miroslav.pristov
Advocate Advocate
897 Views
4 Replies
Message 1 of 5

help with this break object LISP

miroslav.pristov
Advocate
Advocate

hello all,

 

i have here very useful LISP for various types of braking object but i need to modificate all END MAIN FUNCTIONS, The lisp is attach bellow

 

when i start any function it break me the object in same layers as original line, polyline etc. i need to have an option to change a layer, or type of a line, for all break parts, 

 

maybe an option to choose some line on drawing and then all break parts to match properties with it. if nothing is selected the layer of original object ramains

 

If you dont understand me, there is a picture bellow showing what i need

 

Can someone help me fix this. Thank you

 

pomoc.png

0 Likes
898 Views
4 Replies
Replies (4)
Message 2 of 5

marko_ribar
Advisor
Advisor

Well, you can break objects with routine and then manually use "MATCHPROP" command to match Layer and other properties from source to destination(s)...

Marko Ribar, d.i.a. (graduated engineer of architecture)
0 Likes
Message 3 of 5

miroslav.pristov
Advocate
Advocate

i know that, but i asked for shorcut if someone want to help

 

imagine if i have a polyline like on picture which i break on 50 pieces, its around 100 lines i must click with "MATCHPROP"

0 Likes
Message 4 of 5

marko_ribar
Advisor
Advisor

@miroslav.pristov wrote:

i know that, but i asked for shorcut if someone want to help

 

imagine if i have a polyline like on picture which i break on 50 pieces, its around 100 lines i must click with "MATCHPROP"


Actually you can do it with window selection of MATCHPROP command... But you actually want every second island to change its layer? If that's so how do you choose correct order - from left to right? Do you start with even or odd islands? Are your reference object (here polyline) always linear oriented (parallel to X axis)? Do you know that you can get polygons or even regions as islands and change them quickly as like with single line entity?

Marko Ribar, d.i.a. (graduated engineer of architecture)
0 Likes
Message 5 of 5

miroslav.pristov
Advocate
Advocate

So you think that this cant be done. i asummed that it can. the lisp is attached in first message take a look maybe there is a chance to change the routines by adding some lines. this is really very complicated for me because there is too much separate functions, sub functions etc...

0 Likes