Message 1 of 3
Truncating coordinates on a light weight polyline

Not applicable
05-29-2001
02:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to shorten an existing polyline to just two coordinates. The help
reference on .Coordinates states first that:
'You cannot change the number of coordinates in the object by using this
property. You can only change the location of existing coordinates.'
Followed by:
'When setting the coordinates for a polyline, if you supply fewer
coordinates than the object currently possesses, the polyline will be
truncated. Any fit points applying to the truncated vertices will also be
truncated. If you supply more coordinates than the object currently
possesses, the extra vertices will be appended to the polyline.'
It would appear that the second statement applies to 'Polyline' objects only
and not 'LighweightPolyline' objects since my code is only replacing the
first two coordinates.
Does anyone know of a method of truncating the polyline without erasing it
(I have quite a bit of code that is keyed to the polyline's handle)?
Thanks,
Donald F. Sanborn
reference on .Coordinates states first that:
'You cannot change the number of coordinates in the object by using this
property. You can only change the location of existing coordinates.'
Followed by:
'When setting the coordinates for a polyline, if you supply fewer
coordinates than the object currently possesses, the polyline will be
truncated. Any fit points applying to the truncated vertices will also be
truncated. If you supply more coordinates than the object currently
possesses, the extra vertices will be appended to the polyline.'
It would appear that the second statement applies to 'Polyline' objects only
and not 'LighweightPolyline' objects since my code is only replacing the
first two coordinates.
Does anyone know of a method of truncating the polyline without erasing it
(I have quite a bit of code that is keyed to the polyline's handle)?
Thanks,
Donald F. Sanborn