Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Bpoly retaining boundaries

Anonymous

Bpoly retaining boundaries

Anonymous
No aplicable

Hi guys,

Using AutoCad 2013.

I have a problem, when trying to make to rectangles (or circles, etc.) into one polygon I use the Bpoly command.

I draw a line between the two rectangles and then pick the internal point as prompted. 

The command itself does the work, but with a side effect.

It makes a new 2D polyline, which is fine, but does not erase the polylines I've drew before, I need to erase them manually, and it is one on top of the other, so you can imagine it is not the most fun...

There is an option though, in the dialog box of the Bpoly to uncheck the "retain boundaries" box, but it is disabled and you can not uncheck it.

Seems like this will fix the problem, any ideas? Or any ideas of how to erase the unneeded polylines?

Thank you

0 Me gusta
Responder
Soluciones aceptadas (1)
1.416 Vistas
6 Respuestas
Respuestas (6)

dgladfelter
Advocate
Advocate

I am not aware of a way to enable the "Retain Boundaries" checkbox (even in AutoCAD 2017). 

 

The best workflow I can think of is to leverage Selection Cycling to make it a little easier to select on the extraneous (but overlapped) objects. Selection Cycling was introduced in AutoCAD 2011, and can be enabled from the Status Bar.



Donnie Gladfelter

Sr. Manager, Technical Staff Development, Bowman

The CAD Geek Blog

Facebook |Twitter |YouTube |LinkedIn



TheCADnoob
Mentor
Mentor

you can create the poly on a different layer or you can make sure selection cycle is enabled (CTRL+W), select all and then deselect only the poly and then delet

CADnoob

EESignature

0 Me gusta

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

My computer is busy running something else right now but the system variable DELOBJ comes to mind.

 

Have you explored changing this value to see if deletes the lines after placing the new boundary?

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Me gusta

Anonymous
No aplicable

Yes I have considered it.

It looks like the Bpoly command has no respect to the delobj variable

0 Me gusta

imadHabash
Mentor
Mentor

Hi,

 

>> in the dialog box of the Bpoly to uncheck the "retain boundaries" box, but it is disabled and you can not uncheck it. << 

it's is always disabled because it's controls whether the objects created are retained after the dialog box is closed.so it's not sense to make it active.

 

>> any ideas of how to erase the unneeded polylines? << 

there is a lot of ways to do that,herewith some of them:

 

  • after you make your needed polyline by bpoly.use MOVE command and when asked for select object type L from (last) to move the bpoly object for known distance.then erase all unwanted objects then get back your last bpoly object.
  • copy with base point the Last object with COPYBASE command.
  • use special layer and start turning off and on.

Regards,

 

 

 

 

 

 

Imad Habash

EESignature

0 Me gusta

Anonymous
No aplicable
Solución aceptada

Thanks, this is indeed the way I work today.

 

I am attaching a lsp I found somewhere, don't remember who wrote it :cara_de_decepción:

Hope it can help others also, for me it is much better then before.

It prompts the user to select the object to be erased before picking an internal point. Works well

(defun C:BPolyErase (/ SSet01)
  (setq SSet01 (ssget))
  (setvar "CmdEcho" 1)
  (command "._BPoly")
  (while (> (getvar "CmdActive") 0)
	(command pause)
  )
  (command "_.Erase" SSet01 "")
  (princ)
)
0 Me gusta