-->
header image

Collection of AutoLisp for 3D Polyline Entities - Lisp Help


Under 3D Polyline, you can create 3D line by selecting elevation texts in different combination. Also, you can remove z value of all the vertex of a polyline (Convert 3d polyline into 2D polyline).

3D POLYLINE COMMANDS

Sl. No.

Command

Description

1 3DET Create 3D Polyline by Selecting Elevation one by one
2 3JET Create 3D Polyline by Selecting Elevation Text in a Group
3 3DT Create 3D Polyline by Selecting Elevated Text one by one
4 3JP Create 3D Polyline by Selecting Elevated Text in a Group
5 RZ Remove Z From Polyline
6 2D3D To convert 2D polyline to 3D polyline
7 3DZ To mark and Z value at each vertex of 3D polyline
8 IVP To interpolate at vertex points
9 3DFP To convert 3DFace to 3D Polyline

1. CREATE 3D POLYLINE BY SELECTING ELEVATION TEXT ONE BY ONE (3DET)

Menu: Create 3D Polyline by Selecting Elevation Text (Elevation as Text) one by one (3DET)

Functionality: To create 3D Polyline by selecting elevation text one by one.

Procedure:
1. Type ‘3DET’ at the command prompt.
2. Select the first Text: Select elevation text one by one.
3. Select the Second Text: Select the second text.
4. Select the Next Text: Select the next text.
3DPolyline 3DET Lisp
                                 Create 3D Polyline by selecting Elevation Text one by one (3DET)

2. CREATE 3D POLYLINE BY SELECTING ELEVATION TEXT IN A GROUP (3JET)

Menu: Create 3D Polyline by Selecting Elevation Text in a group (3JET)

Functionality: To create 3D Polyline by selecting elevation texts (Elevation as Text) in the group.

Procedure:
1.Type ‘3JET’ at the command prompt.
2.Select Entities:Select elevation texts in a group.
3DPolyline 3DET Lisp
                                 Create 3D Polyline by selecting Elevation Text one by one (3DET)

3. CREATE 3D POLYLINE BY SELECTING ELEVATION TEXT ONE BY ONE (3DT)

Menu: Create 3DPolyline by Selecting Elevated Text one by one (3DT)

Functionality: To create 3DPolyline by selecting elevated text one by one.

Procedure:
1. Type ‘3DT’ at the command prompt.
2. Select the First Text: Select first elevated text.
3. Select the Second Text: Select the second text.
4. Select the Next Text: Keep selecting next elevated text.
3DPolyline 3DET Lisp
                                     Create 3DPolyline by Selecting Elevated Text one by one (3DT)

4. CREATE 3DPOLYLINE BY SELECTING ELEVATED TEXT IN A GROUP (3JP)

Menu: Create 3DPolyline by Selecting Elevated Text in a group (3JP)

Functionality: To create 3D Polyline by selecting elevated texts in a group.

Procedure:
1. Type ‘3JP’ at the command prompt.
2. Select Entities: Select elevated text in a group.
3DPolyline 3DET Lisp
                                       Create 3DPolyline by selecting Elevated Text in a group (3JP)

5. CONVERT 3D POLYLINE TO 2D POLYLINE(RZ)

Menu: Convert 3D PolyLine to 2D PolyLine(RZ)

Functionality: To convert a 3D line into a 2D line by making the elevation (Z Value) zero.

Description: Editing 3DPolyline is comparatively difficult. For drafting purposes, 2D Polyline is more preferred. To convert 3DPolyine to 2DPolyline, ‘RZ’ command can be used for removing Z value from all the vertices.

Procedure:
1. Type ‘RZ’ at the command prompt.
2. Select Entities: Select the 3D polyline that is to be converted into a 2D polyline.
3DPolyline 3DET Lisp
                                                    Convert 2D PolyLine to 3D PolyLine(RZ)

6. CONVERT 2D POLYLINE TO 3D POLYLINE(2D3D)

Menu: Convert 2D PolyLine to 3D PolyLine(2D3D)

Functionality: To create a line into a 3DPolyline by adding elevation text value at each vertex.

Description: Using ‘3DET’ and other similar commands you can create 3DPolyline from available texts i.e., elevation text or elevated text. Sometimes you will have both elevation text and the 2DLine going through such elevation texts and the requirement will be to convert them to 3DPolyline. 2D3D command will update the Z value of each vertex referring to text at vertex point. To convert 2DPolyline to 3DPolyline at each vertex there has to be Text in '3delev' layer. The conversion will fail if the program does not find any elevation at each vertex.

Procedure:
1. Type ‘2D3D’ at the command prompt.
2. Select Objects: Select Polylines to be converted into 3DPolylines.
3DPolyline 3DET Lisp
                                          Convert 2D PolyLine to 3D PolyLine(2D3D)

7. MARK Z VALUE AT EACH VERTEX OF 3D POLYLINE (3DZ)

Menu: Mark Z value at each Vertex of 3D Polyline (3DZ)

Functionality: To mark Z value at each vertex of 3D Polyline.

Description: To mark elevation text representing Z value at each vertex of the 3DPolyline use 3DZ command.

Procedure:
1. Type ‘3DZ’ at the command prompt.
2. Select 3DPolyline: Select the 3DPolyline for marking elevation texts at each vertex points.
3DPolyline 3DET Lisp
                                               Mark Z value at each Vertex of 3D Polyline (3DZ)

8. INTERPOLATE AT VERTEX POINTS (IVP)

Menu: Interpolate at Vertex Points (IVP)

Functionality: To interpolate at vertex points.

Description: If there is a polyline with multiple vertices and if you know the Z values at only the end points of the polyline, you can use ‘IVP’ command to interpolate Z values at each vertex of the polyline. Let us say you have a polyline with each vertex having Z value, except for 2 vertices in between. If they fall on a straight line, then simple straight line interpolation algorithm can be used. If the polyline vertices are not in line, then the computation of z value at vertices becomes a little complex. Using the ‘IVP’ command you can interpolate values i.e. elevations at vertex points.

Procedure:
1. Type ‘IVP’ at the command prompt.
2. Select Polyline: Select the Polyline for which elevations are to be interpolated at each vertex.
[Note: at both ends of the polyline elevation text to be present in ‘3DELEV’ layer].
3DPolyline 3DET Lisp
                                                           Interpolate at Vertex Points (IVP)

9. CONVERT 3DFACE TO 3DPOLYLINE (3DFP)

Menu: Convert 3DFace to 3DPolyline (3DFP)

Functionality: To convert 3DFace to 3DPolyline.

Description: You cannot find the area of 3DFaces in CAD using Area command. To convert 3D face to 3D Polyline use ‘3DFP’ command.

Procedure:
1. Type ‘3DFP’ at the command prompt.
2. Select Entities: Select the required 3DFace entities.
3DPolyline 3DET Lisp
                                                          Convert 3DFace to 3DPolyline (3DFP)