TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Coder on January 07, 2018, 01:10:39 PM

Title: Create closed boundary in a closed area.
Post by: Coder on January 07, 2018, 01:10:39 PM
Hello everyone.

I am trying to create a closed polyline ( boundary ) from the closed areas along two polylines but I don't have enough experience in coding to do this.

I need to select the two cyan polylines then create closed polylines from the internal closed areas as indicated in the red and green objects in the attached image.

Any ideas or codes or a direction will be welcome.

Thank you.

Title: Re: Create closed boundary in a closed area.
Post by: ribarm on January 07, 2018, 01:55:31 PM
You can try Superboundary plugin from Debalance at http://www.superboundary.com/ ... I don't quite know, but I think that latest version is little buggy, so try something earlier if you can't make it... Anyway you'll have to manually select only those boundaries that are between your cyan polylines...
Title: Re: Create closed boundary in a closed area.
Post by: Lee Mac on January 07, 2018, 01:59:01 PM
See this thread:
https://www.theswamp.org/index.php?topic=10371.0;all
Title: Re: Create closed boundary in a closed area.
Post by: Coder on January 07, 2018, 02:02:05 PM
Thank you marko for your reply to my thread.

I am looking forward to make it working with lisp codes, do you have any suggestion other than picking a point in every closed area?
Title: Re: Create closed boundary in a closed area.
Post by: ribarm on January 07, 2018, 02:20:31 PM
Thank you marko for your reply to my thread.

I am looking forward to make it working with lisp codes, do you have any suggestion other than picking a point in every closed area?

Explore Lee's suggestion...
Title: Re: Create closed boundary in a closed area.
Post by: Coder on January 07, 2018, 02:30:07 PM
See this thread:
https://www.theswamp.org/index.php?topic=10371.0;all

Thank you Lee for your input.

your program is very good but it asks the user to select objects to create the boundary while I need to select the two polylines and create closed boundaries in between.

Could the program be modified to do what I am looking forward?

I think I need to study the codes in details.
Thank you.

Thank you marko for your reply to my thread.

I am looking forward to make it working with lisp codes, do you have any suggestion other than picking a point in every closed area?

Explore Lee's suggestion...

Thank you.
Title: Re: Create closed boundary in a closed area.
Post by: Grrr1337 on January 07, 2018, 06:49:48 PM
Looks achievable, using Lee's bbpoly and when the geometry is of closed lwpolylines. (including the road geometry)
Since in some cases for open curves/lines the bbpoly crashes.
Title: Re: Create closed boundary in a closed area.
Post by: Angelina on February 25, 2021, 09:20:49 PM
Looks achievable, using Lee's bbpoly and when the geometry is of closed lwpolylines. (including the road geometry)
Since in some cases for open curves/lines the bbpoly crashes.

Grrr1337
Will you share this lisp with me, I tried to use bbpoly lisp but it doesn't work as you showed in gif. You can also email me.
angelinabrown0123@gmail.com