×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Lift up points without having to insert z coordinates ne-by-one

Lift up points without having to insert z coordinates ne-by-one

Lift up points without having to insert z coordinates ne-by-one

(OP)
Does anyone know of a lisp that will do the opposite os flatten, i mean, that will read the numbers that define the z coordinate an then pick the points and "lift" them to that coordinate? I would much apreciate if someone could give me that information: the lisp, or somewhere where i can probably find it.
Thank you.

RE: Lift up points without having to insert z coordinates ne-by-one

If you give me a hint,
like from where to read the z coordinate,
 - from the command line, individually?
    if so, do you mean to pick each point aand type z coord?
 - from a txt file where x,y are also to find?

 - or another way?

I will post the lisp routine here.

RE: Lift up points without having to insert z coordinates ne-by-one

I 've heard that there's a lisp routine that will read the numbers that designate the z coordinate (the point has effective x and y coordinates, but the z coord is only written on the screen, not effectively inserted), and then give that coordinate to the point. I think it's a bit to much to ask from a lisp routine, i don't know if it really exists. Anyway, i would be very thankful if you could give me anything you have, because NOTHING can be worst than having to edit all points, one-by-one....  
Thank you

RE: Lift up points without having to insert z coordinates ne-by-one

hey Tigrek

what about a lisp/vba that raises all points/entities a given interval

??what do you think??

RE: Lift up points without having to insert z coordinates ne-by-one

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.

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.

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:

http://www.dotsoft.com/index.htm

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

RE: Lift up points without having to insert z coordinates ne-by-one

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:

http://www.dotsoft.com/index.htm

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

RE: Lift up points without having to insert z coordinates ne-by-one

Good evening, GentlePeople.
Anyone come across or cleverly written a program that can turn any group of arcs, lines and polylines created in various UCS's into a 3DPolyline? Do I have to get Mechanical deskTop or can I do it in A2002....
Methinks not. Too hard, probably, given the haphazard development path of the AutoCad primatives.
I would welcome any comments!
DDB5
mailto://jeremy@creative-afternoon.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources