Author Topic: What's the maximum number of vertex for a Polyline?  (Read 3366 times)

0 Members and 1 Guest are viewing this topic.

Spike Wilbury

  • Guest
What's the maximum number of vertex for a Polyline?
« on: December 29, 2008, 08:44:31 PM »
First time, I see this....

I know I did a kind of extreme test by drawing a lightweight polyline using 100,000 vertex's, the polyline is drawn, but if I tried to do a zoom extents, AutoCAD just freezes... and even the PC.... not even with ctrl+alt+del ...

Any ideas?



Thanks,
Luis.

Andrea

  • Water Moccasin
  • Posts: 2372
Re: What's the maximum number of vertex for a Polyline?
« Reply #1 on: December 29, 2008, 08:53:08 PM »
is your vertex close anough to maybe SPLINE ?
Keep smile...

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: What's the maximum number of vertex for a Polyline?
« Reply #2 on: December 29, 2008, 08:55:39 PM »

Andrea, Luis wants a polyline, not a Spline ..

Luis, must admit I've never built a polyline that big :)
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Andrea

  • Water Moccasin
  • Posts: 2372
Re: What's the maximum number of vertex for a Polyline?
« Reply #3 on: December 29, 2008, 09:01:51 PM »
I mean....did you try to see if there is any difference to convert your Pline to a Spline before zooming ?
Keep smile...

Spike Wilbury

  • Guest
Re: What's the maximum number of vertex for a Polyline?
« Reply #4 on: December 29, 2008, 09:03:22 PM »
Luis, must admit I've never built a polyline that big :)


Thank you Kerry.


But, I needed to run an extreme test (since the command will be used for a Civil and Topo jobs), maybe is not frozen, but it takes forever, that's why I have to turn off my PC.


Spike Wilbury

  • Guest
Re: What's the maximum number of vertex for a Polyline?
« Reply #5 on: December 29, 2008, 09:06:51 PM »
I mean....did you try to see if there is any difference to convert your Pline to a Spline before zooming ?

Thank you Andrea,

The command it is an ObjectARX and has the options to connect points (using LwPolyline or 3Dpolyline), that the user reads from a file, using different formats....

Spike Wilbury

  • Guest
Re: What's the maximum number of vertex for a Polyline?
« Reply #6 on: December 29, 2008, 09:16:54 PM »
I see also, that it is a problem with the AutoCAD object highlight feature - maybe that's the problem too.....  :ugly:

Spike Wilbury

  • Guest
Re: What's the maximum number of vertex for a Polyline?
« Reply #7 on: December 29, 2008, 09:27:24 PM »
Well.... I found the problem

It is the SELECTIONPREVIEW feature and also it is  needed to turn off the HIGHLIGHT variable too.... That way I can do/get the zoom extent that I have as part of my command.

so...
False, alarm then with the number of vertices.... :)
« Last Edit: December 29, 2008, 10:01:28 PM by LE »

Spike Wilbury

  • Guest
Re: What's the maximum number of vertex for a Polyline?
« Reply #8 on: December 29, 2008, 10:04:16 PM »
It is the SELECTIONPREVIEW

Now, is this variable available from AutoCAD 2006, no ?

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: What's the maximum number of vertex for a Polyline?
« Reply #9 on: December 29, 2008, 10:09:14 PM »
It is the SELECTIONPREVIEW

Now, is this variable available from AutoCAD 2006, no ?

yes, SELECTIONPREVIEW was  NEW in AutoCAD 2006
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Spike Wilbury

  • Guest
Re: What's the maximum number of vertex for a Polyline?
« Reply #10 on: December 29, 2008, 10:17:56 PM »
It is the SELECTIONPREVIEW

Now, is this variable available from AutoCAD 2006, no ?

yes, SELECTIONPREVIEW was  NEW in AutoCAD 2006

Thanks! - problem solved !