Folks lets work on the definition of this problem a bit more:
1. Autocad has the command ELEVATION. Since the 1982 version. So this cannot be what we are looking for - namely to modify the z-coordinate of all points of a polyline at the same time. If anything, we may want to allocate different z-coordiantes to different vertices of a polyline.
2. Acad2000 has this fancy Properties tab where X, Y, Z of a circle center, a 3Dpoly start, and start or end of a line may be modified at will. SO, this too is not what we are looking for.
3. Acad2000 has command CONVERTPOLY which is changing from/to lwpoly and 2DPoly. A similar command to change these to 3DPoly would have solved our problem because then z-coord can be modified in properties box (except for vertices )and intuitively I would expect this command to exist but I could not find it. If someone spots it, the problem is solved.
There remain the so called lightweight lwPolyLine and the 2DPolyLine which dont show z-coordinate in the properties box. So, the problem here is not how to give in a z-coordinate but it is -
HOW TO CHANGE A 2DPOLY OR LWPOLYLINE INTO 3DPOLYLINE.
If arcs and line width be ignored, I could improvise a macro to do this conversion in about two hours. But then, it is doubtful if this will be of any use.
SO, we turn around and search on the Web and here is one:
offering Poly Tools including among many manipulators of Plines,
Dialog Editor:
Edit 2D/3D polyline coordinates in a dialog.
The bitmap there shows a practical table where all XYZ of all vertices are listed and ready to be edited.
But it is not free, and I could not see a converter from 2DPoly to 3DPoly there.
So, if you agree with me that the Z-coordinate problem is rather one of converting 2DPoly and LWPoly to 3DPoly, and looking around a bit, you confirm that there is no practical tool for this, then I will improvise one either in Lisp or in VBA.
So, there