Jump to content

Lisp request... trim (wall) lines with (column) multiple closed plines and circles


Recommended Posts

Posted (edited)

HI~there 

First of all, thank you to anyone willing to help me.
I need a LISP routine.
Command name: CCW (Column Cut Wall)
The workflow is: first select the yellow layer (columns), then select the green layer (walls).
The routine should trim all wall lines that are inside the closed polylines on the column layer, including cutting and removing any wall lines that overlap with the column boundaries.

trim wall with column_2.jpg

lisp request.dwg

Edited by ilarch2016
  • ilarch2016 changed the title to Lisp request... trim (wall) lines with (column) multiple closed plines and circles
Posted
7 hours ago, SLW210 said:

Try mine...

 

 

I give it a try.
this is what I got.This routine goes wrong with overlapping. and change the layer(green to yellow)

tics_result.jpg

lisp request_tics result.dwg

Posted

I wish the result could be keeping green lines in the original layer, and remove the overlaping 

Posted

The LISP worked on your original drawing, after I flattened it. You have issues with that drawing.

 

You need to set the Current Layer to the one you want.

Posted

For future reference and to follow on from SLW210, I'd perhaps only share the relevant information - seeing your drawing has a lot of layouts with borders, company information and so on, all good but maybe not always the best policy to share publicly. Purged, overkilled and so on to remove any company information that might be hidden too

Posted
3 hours ago, Steven P said:

For future reference and to follow on from SLW210, I'd perhaps only share the relevant information - seeing your drawing has a lot of layouts with borders, company information and so on, all good but maybe not always the best policy to share publicly. Purged, overkilled and so on to remove any company information that might be hidden too

OK!! Thanks you so much for remind me.

  • Like 1
Posted (edited)
4 hours ago, SLW210 said:

The LISP worked on your original drawing, after I flattened it. You have issues with that drawing.

 

You need to set the Current Layer to the one you want.

I follow your instructtion. and do the other test, flattened it befor running TICS  ,make sure they are flat. but there are still some overlaping lines left .
I am confused...

tics_result_3.jpg

lisp test-V2.dwg

Edited by ilarch2016

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