Thanks Jason...
What I'm trying to accomplish is to use the "CHANGE" command to change
polyline's elevation based on selected text. I'm doing this with an
AutoLISP function that I've written. It turns out that the "CHANGE" command
only changes LWPOLYLINE's elevation, and not POLYLINE's. Test it yourself
and see what I mean.
I want to include code that will automatically convert all polylines to
lwpolylines so that this type of error doesn't happen.
Have survcadd commands been implimented in Autolisp routines? Can I use
"3dto2d" in AutoLISP routines with XML2?
--
Matt Timion
Earthwork Calculation Services
"Jason Bly" <jbly@marshandlegge.com> wrote in message
news:bfhk6u$2qr$1@update.carlsonsw.com...
I'm not sure what you are ulitmately trying to accomplish, whether you
want
to move a polyline elevation by a certain amount or if you just want to
put
it on a constant elevation, but here's what I know.
Under Edit pulldown, 3d Entity to 2D (command: 3dto2d) will change a
polyline to lwpolyline, but it will have a constant elevation of course.
Under Edit-Change-Elevation (command: chgelev) you can bump an objects
elevation to an absolute elevation or a by a certain differential amount
(thus keeping all elevations along the polyline).
Hope this helps
Jason
"Matthew Timion" <mtimion@dirtestimator.com> wrote in message
news:bfhi1g$1tl$1@update.carlsonsw.com...
This confuses me a bit as I have elevated LWPOLYLINEs and they have
stayed
LWPOLYLINEs. I simply changed the "elevation" value. The difference I
imagine is that lwpolylines have a constant elevation, and polylines
have
elevations for each vertex. This is obviously the thing hindering me
from
using the "Change" command to elevate my 3dpolylines. Is there a way to
automatically change the polylines into lwpolylines (assuming, of
course,
the polylines have a zero elevation)?
--
Matt Timion
Earthwork Calculation Services
"R.K. McSwain" <rkmcswain@yahoo.com> wrote in message
news:bfhe5o$vuk$1@update.carlsonsw.com...
"Matthew Timion" <mtimion@dirtestimator.com> wrote
3D Polylines can only be a POLYLINE entity type.
2D Polylines can either be a POLYLINE or LWPOLYLINE entity type.
PLINETYPE controls the latter.