Wipeouts are wiping me out!

Wipeouts are wiping me out!

jmyersYFLYF
Explorer Explorer
1,546 Views
9 Replies
Message 1 of 10

Wipeouts are wiping me out!

jmyersYFLYF
Explorer
Explorer

Getting the ever-present, general, unhelpful error "The polyline must be closed and made up of only line segments" when trying to create a wipeout.  I have converted all the curves to polygons and made super-sure everything is connected and that the polyline is closed.  If wipeout doesn't like something about a polyline, it would be so helpful if it would point out what it thinks is an issue.  If anyone can tell me what is wrong with my polyline, I would be very grateful.  Also, if you can provide me with some sort of repeatable method to find problems with my polylines, that would also be fantastic.

 

BTW, I'm doing something that is needed often by my company; making an element to scale for placing on a layout drawing.  In this case, it's an ABB 400A disconnect.  The polyline in the drawing, which I am focusing on has a leader pointing to it.

0 Likes
1,547 Views
9 Replies
Replies (9)
Message 2 of 10

pendean
Community Legend
Community Legend

@jmyersYFLYF wrote:

... If anyone can tell me what is wrong with my polyline, I would be very grateful....


you did not investigate much perhaps: copy it to one side, EXPLODE the closed Pline outline, then use PROPERTIES, low and behold

pendean_0-1703109117829.png

...208 arc objects.

 

Most of us have given up on WIPEOUT objects and use SOLID hatches set to RGB color 255,255,255 that is just DRAWORDER command into place. GROUP command to hold them together if this is not inside a block of course.

Work 100% of the time all the time for the life of the paired objects.

Message 3 of 10

cadffm
Consultant
Consultant

@jmyersYFLYF 

I had to edit my post, because I had made a mistake while testing.

 

1. You created a monster, a Polyline with 12520 vertex is a performance monster and not really needed (or?)

2. Right, this pline is without arc segments, but it isn't clean (run OVERKILL for example), but this is not the reason here.

3. The Problem are many segements, very short ones with a microscop-angle to the next segment.

    The Wipeout command running in math errors.

 

 

"I have converted all the curves to polygons "

Do it again by the same, but this time choose an option to create less vertex objects!

If your way offer this option: Segments >than 0.002 or something like this.

No, you didn't

cadffm_0-1703113334876.png

 

 

 

 

>>"Also, if you can provide me with some sort of repeatable method to find problems with my polylines, that would also be fantastic."

I never saw a puplic(free) Tool for this, just tools which doing a part of this job.

 

Quicksolution for this polyline

; Convert lwpolyline-arcsegments to straight linesegments, one arc = one line

 

 

(defun c:LWPLARC2LINE nil (entmod (mapcar '(lambda(x)(if (/= 42 (car x)) x '(42 . 0.0))) (entget(car(entsel))))))

 

@pendean

YOU ARE RIGHT, sorry.. my Tool used a fuzzy value, highe than the curve data in this pline.

..208 arc objects.

We are talking about one closed (LW)Polyline (without arc segments)

Sebastian

0 Likes
Message 4 of 10

jmyersYFLYF
Explorer
Explorer

I'm running into the same issue on a different, but related example.  For the sake of clarity and simplicity, I have placed only one polyline object in this drawing.  The polyline in this drawing is also refused by the wipeout command.  My properties indicate it is only a polyline (no arc segments) as well as closed.  Performance issues aside, what is wrong with this polyline?

0 Likes
Message 5 of 10

jmyersYFLYF
Explorer
Explorer

Aaaaand, now I'm confused even further.  This also shows up in my properties as "polyline", but I specifically created it to include an arc segment.  Now I don't know how to tell if my 'polyline' objects are including arcs.

0 Likes
Message 6 of 10

cadffm
Consultant
Consultant

Hi,


@jmyersYFLYF wrote:

My properties indicate it is only a polyline (no arc segments)

I never saw that your properties can show that, where I have to look for this!?

Please share a screenshot, where I can see a polyline with, and another with a polyline without arc segments.

Thank you in advance

 

And: This statement is wrong, your polyline contains near to 300 arc segments,

because of this, the wipeout fails.

 


Isn't it the same as we talked about above?

Use EXPLODE command and search for ARC objects, this way you can find the arc segments easily.

 

 

Sebastian

0 Likes
Message 7 of 10

cadffm
Consultant
Consultant

Hi,

 


@jmyersYFLYF wrote:

Now I don't know how to tell if my 'polyline' objects are including arcs.


It would be new for me that you can see this information in properties palette.

 

For shorter polylines (not really good for such monster polylines you have)

you can use command LIST to check the arc informations,

but the explode-search4arcs workaround is the best way.

UNDO is your friend and the whole check takes seconds

and you can see visually where arc segments are.

 

 

 

Sebastian

0 Likes
Message 8 of 10

jmyersYFLYF
Explorer
Explorer

Thank you all for your help.  I suppose I failed to put together a few elements, which brought the issue into view:

I had previously joined all the pieces into a single polyline.  Selecting that combined object caused the properties to show it as a single 'polyline' object.  If I used the 'explode' command on the object, it was broken into its component parts.  When I selected the group, the properties showed the group as being made up of individual pieces which were lines, polylines and arcs. That allowed me to select just the arc segments, change their layer to one with a different color, causing the arc segments to stand out.  Now that I have found the arc segments, I have been able to convert them to line segments.  Thank you all for your patients and guidance.

0 Likes
Message 9 of 10

cadffm
Consultant
Consultant

and for LT2024 or newer Users: Don't forget the hard forcing solution from post#3 above: LWPLARC2LINE

additional, here is a simple "check for arc segments" function:

(defun c:LWPLARCCHK nil (alert (strcat (itoa(length (vl-remove-if '(lambda(x)(or(/= 42 (car x))(equal (cdr x) 0 0.000001))) (entget(car(entsel)))))) " arc segments found")))

 

[how to run Lisptools]

Sebastian

0 Likes
Message 10 of 10

jmyersYFLYF
Explorer
Explorer

To memorialize the process for others that run into the same issue (and who have the same lack of understand I had):

 

Here is the entire polyline joined and selected.  You can see the properties show it as nothing more than a single 'polyline' object:

 

1.png

With that object selected, I exploded the object.  With the resulting group of objects selected, the properties show it as a collection of lines and arcs (as shown below.)

2.png

From the properties window, I select just the arc segments and change their layer to another that is easy for me to pick out. I guess I could have also just changed their color to make them more visible, but I decided to change their layer.  Here is a zoomed in view of part of that collection of objects, so you can see where the hilighted arc segments stand out.  That allowed me to handle those portions, changing them to line segments.  In my case, I used the polygon tool to create the arcs out of segments, then erase the original arcs.

4.png

 

There, I hope that helps someone negotiate this confusing issue.  After I converted everything to segments, I joined them again, into a single polyline & made the enclosed polyline into a wipeout.

0 Likes