Sie sind auf Seite 1von 86

Free Lisp to Convert Measurement in Feet to

Meters
This is a lisp to convert the text objects which are in feet and inches to meters. There is a need for this in
many countries which follow both Imperial and metric system of presenting the dimensions. This lisp
allows to convert the feet and inches with the following format only, e.g.: 90’ 20” (read as 90 feet and 20
inches) will be converted as 27.94m. Lisp will create a new text considering the insertion point of the text
representing Feet.

For addressing vice versa case, that is for converting text representing meter to feet, please refer
another free lisp page.
Note:

a. 1 Metre is equal to 3.28084 feet


b. 1 Feet is equal to 0.3048 metres

Free Lisp to Check Missing and Repeating


Number in Sequence
Many a times you are required to identify the numbers which may not be serially created or sometimes
duplicate serial numbers may have crept in. Imagine searching them in a huge drawing. This requirement
can be addressed using Sequence Check Lisp. Sequence Check Lisp displays all the missing serial numbers
and duplicate serial numbers among the selected text value. It will consider a range for searching as
minimum and maximum number among the selected text. If you have kept your command line window on
then pressing F2 button after the command, to see the test result. This lisp finds its use in numbering
parcels or any other requirements where a serial numbering system is required.
Free Lisp to Reduce Polyline Vertex
Sometimes polylines will have many vertices and that ultimately leads to bigger drawing size. When the
drawing is having many such polylines, normally working on such drawings slows down. Reduce polyline
weight lisp is developed to address this problem. You can create polyline having fewer vertices by
specifying the distance at which you need vertices. This lisp command will find the point on the polyline at
a multiple of specified distance and will create a new polyline, thereby reducing the number of vertices.
This list is the solution to reduce the number of vertices without deviating much from the original path of
the polyline. This macro is not suitable for the lines having lesser vertices or polylines having points at
larger distances.

Free Lisp to Insert Blocks at the Centre of


Each Segment
Inserting blocks depending on certain logic have been always a requirement while working with CAD
Drawings and AutoCAD has come up with commands to address this requirement. Measure command of
AutoCAD can insert the blocks at a given distance. Divide command of AutoCAD can divide the give
polyline into specified number of segments and then insert the block. Both these commands cannot be
used to insert the block at mid point of the polyline as each segment of the polyline will be of different
length. Using Mid Block (midb) lisp command, you can insert a specific AutoCAD block at the midpoint of
all the segments of selected polyline.

More lisp commands to insert blocks

a. Insert blocks at intersection or end or a combination of intersection and end point among selected
polyline
b. Insert block at each vertex of selected polyline
c. Insert blocks by finding specified text in whole drawing
d. Repeat measure command with block insertion option for several poly lines in a single command

Free Lisp to Insert Vertex


Insert Vertext (IVER) lisp command is used to insert vertices at all the points of the text placed on a
polyline. This can be mainly used for creating vertices at all the texts on a polyline, which further eases the
procedure to convert it into a 3d polyline using the supporting lisps like 2d3d. Please note that a new line
generated joining all the selected text, leaving the existing line untouched. Ensure that insertion point of
the text where the vertices to be inserted is on the polyline. Inserting vertex in an existing polyline involves
multiple step using the PEDIT command. If you want to insert multiple vertex for a given polyline. Just
place dummy text on the polyline and use this command to insert multiple vertices in a single step.
Free lisp to Change Precision of Selected
Texts
The text entities representing the numbers could have variable digits as per the input of a given file. If
numbers are derived from lisp then Text may not have the numbers in desired precision. If the
requirement is to display numbers with specific precision as per the project requirement, Change Precision
lisp will be of help. There are 4 command prompts in this macro T1, T2, T3 and T4. T1 command will
convert the text precision to 1 digit, T2 command will convert the text precision to 2 digits, so on and so
forth.
Please refer free lisp to round off elevation values to nearest 0.005.

Free Lisp Create Cloud Object


Cloud (Cld) lisp command is used to create the shape similar to cloud with the help of pick points and
defined radius. This is very useful for good representation of the drawing. Cloud list will just create the arcs
depending on the points selected and defined arc radius. This can also be done with Pedit command arc
option, but that process will have more steps in comparison to working with Cloud lisp. Also, since arc is
created on the basis of defined radius, the output will look more pleasing.

Lisp comes handy for improving drawing presentation. For more lisp programs which help better
presentation of drawing in short time, you may also refer

 Smoothen Cross Section Line


 Put rectangles around selected Text
 Put Circles around selected Text

Free lisp to Create Text from selected


Attribute
When you have “attribute blocks” in the drawing, when you explode the attribute block, Specific attribute
block information will be lost and the block elements turn to the original attribute definitions. To convert
these Attribute text to plain is a not a simple process. In many cases it is easy to handle text in drawing
rather than attribute blocks as many commands work only on text and not on attribute block. To
overcome this concern Attribute to text lisp is developed, which will create text representing the
information of attribute value as a new text in a separate layer. This program works with attribute values
having any number of attribute fields also.
Free Macro - Plotting Spot Level with Range
Colour
Plotting of Spot levels in different Colour – Excel Macro
Plotting of spot levels or blocks levels are necessary to display the dips or high portions of the survey area.
These are generally presented in cad format for better understanding and visualization. This can be
achieved by simply plotting them with their coordinate locations by any method or by using some
software’s or tools. In case these are to be plotted with different colours based on the range of elevations,
then this excel template will be of help to you. The final cad output sample can be seen in the image
below.

Steps to followed for creating drawing of Spot Levels with colour range.
1. Open this downloaded Excel template
2. In this worksheet type the details or copy and paste the values from another source. Data to be entered
only in cells with white colour background.
3. Press Analysis button to see the “Plot Spot Levels” spread sheet.

4. Specify the required values in the top like Round off digits, Text height, rotation etc..
5. In the selection range option, there are two choices, automatic and custom, if automatic option is
selected, then the value as specified in the range, frequency is considered for automatic calculation of the
ranges along with their respective colours. If custom is selected, then first press clear all button and
manually enter the ranges.
6. Click on “Legend” button and enter the required fields.
7. One of the Important fields is the Easting (X) and Northing (Y) of the legend placement, you need to
specify the coordinates of the Left top of the legend to be placed, Also specify band Length, Band
Thickness and Legend Text.

8. Now press “To Cad” button do the analysis and follow the instructions which appear in the message
box.
9. Open the cad package
10. Set any style for text, but remember you need to to set the text height to zero
11. Paste the data with shortcut (Ctrl + V) or right click at command prompt and select paste option.
12. The drawing with colour ranges are plotted only with the elevations.

Open Traverse Correction – Angles and


Distances - Bowditch Rule
Defined Terms
1. Traverse Correction
2. Bowditch’s Rule
3. Closed Traverse
4. Open Traverse

In this Excel Sheet, you can do traverse Correction, considering Co-ordinates as Input for any open
traverse.

Correction of Traverse using the excel template is described below.


1. Open the Excel template, Enable the macros.
2. Enter all the known points in “Known Point” Worksheet. You can either enter the data or paste from
another source. These points in this worksheet are considered in the calculations.

3. In “Field Data” worksheet, enter the traverse point coordinates; along with the starting and ending
station Names. Please note that these start and end points are locked points and will be automatically
taken from the “Known Point List” worksheet for calculations.
4. Click on “Adjustment” button for further computation. All the misclosures adjustments are done in this
separate worksheet by pressing the button “Compute”.

Note:
1. The template contains help screen which helps the user to understand the operations of the template.
2. You should enter only the values in the cells, which are white in colour.
3. To toggle between the spreadsheet, click on Black coloured buttons.
4. Click “clear all” button to clear the contents of the template in any worksheet.
Open Traverse Correction – Bowditch Rule –
Excel Macro
Defined Terms
1. Traverse Correction
2. Bowditch’s Rule
3. Closed Traverse
4. Open Traverse

In this Excel Sheet, you can do traverse Correction, considering Co-ordinates as Input for any open
traverse.

Correction of Traverse using the excel template is described below.


1. Open the Excel template, Enable the macros.
2. Enter all the known points in “Known Point” Worksheet. You can either enter the data or paste from
another source. These points in this worksheet are considered in the calculations.
3. In “Field Data” worksheet, enter the traverse point coordinates; along with the starting and ending
station Names. Please note that these start and end points are locked points and will be automatically
taken from the “Known Point List” worksheet for calculations.
4. Click on “Adjustment” button for further computation. All the misclosures adjustments are done in this
separate worksheet by pressing the button “Compute”.
Note:
1. The template contains help screen which helps the user to understand the operations of the template.
2. You should enter only the values in the cells, which are white in colour.
3. To toggle between the spreadsheet, click on Black coloured buttons.
4. Click “clear all” button to clear the contents of the template in any worksheet.
Closed Traverse Correction – Angle &
Distance - Bowditch Rule – Excel Macro
Defined Terms
1. Traverse Correction
2. Bowditch’s Rule
3. Open Traverse
4. Closed Traverse

In this Excel Sheet, you can


1. Do traverse Correction, considering Angles (Bearings) and Distances as Input
2. Convert the Whole Circle Bearings (WCB) to Quandrantal Bearings (QB)
Note: Calculations are based on quadrantal bearings and distances.

Correction of Traverse misclosures using the excel template is described below.


1. Open the Excel template, Enable the macros.
2. In this worksheet, enter all the field data. You can also copy and paste it if you already have the same in
another Excel Sheet.
3. If you have data on Whole Circle Bearing (WCB), convert it to (Quadrantal Bearing) QB. Click on “WCB to
QB” button, enter the WCB values in the White cells, a QB value is automatically seen in grey coloured cells
which can be further used as input for traverse correction.
4. Click on “Input Data” button, enter input values and press “Compute” button to get the corrected
coordinates based on Bowditch rule.
5. When you click on “Compute” button, you will be prompted with a question, “Do you want to create the
drawing?”. By clicking on “Yes” button and then Pasting (Ctrl + V) at the command prompt of CAD
Package you can create the Drawing of Traverse data.
Note:
1. The template contains help screen which helps the user to understand the operations of the template.

2. You should enter only the values in the cells, which are white in colour.
3. To toggle between the spreadsheet, click on Black coloured buttons.
4. Click “clear all” button to clear the contents of the template in any worksheet.
Free Lisp – Convert MText to Text in CAD

MText is one of the complex entities in AutoCAD. It is useful when you want to represent the text content
with formatting. For example, you can put the super script in Text representation. One of the limitations of
MText is that it becomes little inconvenient to handle the drawing for many reasons which includes drawing
slows down, editing of text becomes less difficult, many lisp programs are specific to Text and Text is not
recognized by such programs. Converting MText to Text can be achieved with Explode command, when
MText is exploded it becomes Text or multiple Texts. If the text content is represented with multiline content
exploding MText will lead to representing the same data in multiple line. This program converts all MText
content into Single line Text.

Free Lisp – Check Polygon in CAD Drawing


- GIS Export
CAD and GIS are closely related. Editor in GIS application are not as handy as AutoCAD. Most of the GIS
drawings are first prepared in AutoCAD and then they are exported to GIS system. In GIS information is
mostly attached to the polygon. In AutoCAD when you create polygon even if it is mathematically closed,
it can be still considered as open if “closed”property of a polygon is set to no. In AutoCAD there are tools
to find overlapping entities. Quality check with overlapping entities finder will not make checks such as
polygon is closed or not. This program is prepared to to quality check of the drawing before you convert
your drawing to GIS.

Download Compiled Lisp Files

Free Lisp – Convert DXF Created by Topcon


Instrument
Most of the total station allows you to convert total station data into CSV file or Excel File. Now a day's
data can also be saved as a drawing file directly (DXF File). Each total station instrument comes with its
own format of data. For Example, Topcon Instrument saves data in IDX format. If you have DXF file and if
you want co-ordinate data as a CSV file, then use this program which will read texts from Code layer and
create respective CSV File. The CSV file created in this program will have easting, northing, elevation and
remark along with the serial number. Move text objects on selected polyline

Free Lisp – Move Text Objects on Selected


Polyline
Good drawing representation always helps you have an edge over the competition and also helps the
client to understand the drawing easily. In some of the drawings, the requirement will be to align the text
on polyline or at a fixed distance from the polyline. Use Maganet lisp to move all the selected text entries
on the polyline. In case if you want the text to be aligned at a fixed distance from a given polyline. Just
offset the polyline at required offset distance and align the texts.
Free Lisp – Create, Coordinate Table of
Polyline Vertex.
If you want to create, coordinate table of many points in your AutoCAD Drawing, use this lisp. First join all
the points for which you want to prepare, coordinate table with Polyline or 3D Polyline depending on in
the output you want 3d coordinates or not. Then use this program and select the polyline, program will
read each vertex of the polyline and create a table with X, Y and Z Coordinate. In Survey engineering
drawing this is referred as Easting, northing and Elevation. In some of the survey drawing, it is important to
list the coordinates of all important points in the drawing, this lisp will considerably save time for such
operation.
Free Lisp to Draw Rectangle using Selected
3 Points
This Lisp is helpful while creating the base maps using Total station data. Generally the surveyors who
capture the data take the three corners of a building as standard engineering practices. With these three
points the plan of the building or the structure needs to be drafted. As we all know that it’s easy to join
the points with lines, but it is time consuming to complete the shape of the building. This lisp
automatically creates a closed polygon based on the three selected points. The first line will be drawn
between fist two selected points and the 2nd line will be drawn considering the 3rd point distance and a
line perpendicular to the first line. Further 3rd and 4th line remains parallel to the first and second line.
With this approach lisp accommodates minor error that might have happened while capturing building
corners.

Free Lisp – Export Vertex Information with


Auto Numbering
We already have a lisp for exporting vertex data.Vertex export lisp is one of the popular lisps. However,
many users have appreciated this program and some have asked improvement in that program. As the
result of requests, we have developed this program. In this program lisp not only Exports the vertex
information (Easting, Northing and Elevation) but also it numbers each vertex starting from

1. In the output file each vertex will have respective numbers which will be very helpful in setting out
(staking out). We also encourage you to suggest improvements in existing lisp or if you have specific
requirement you can let us know.
Free Lisp – Display Polygon Area in Different
Units
List command of AutoCAD can give area of any polygon. Even we can find out the area using an area
command of AutoCAD. Most of the time if we have to refer area in different measurement unit, then we
use a conversion utility to convert this area value. To ease this operation of finding area a closed polyline –
this program is developed. When you select a polygon using ‘DAREA’ command program will give the
area of the polygon in 6 different commonly used measurement units of area viz. Square meter, Square
Feet, Square Inch, Square Yard, Acres and Hectares.

Free Lisp – Export Point Data as CSV File


Exporting point data from drawing can be achieved by exporting Easting, Northing, Elevation and Code
from Selected Text. If you have created additional point data in the drawing randomly when you export
such data, it is likely that these points will be scattered in output also. Naturally anybody can point out
that point data is not in order of survey and this may create confusion. To address this program when you
are exporting point data, you can draw a center line to indicate the path along with which point data to be
exported. All the point exported will have Chainage and distance information along with serial, easting,
northing, elevation and code data. You can sort this data in excel and then present the data in an orderly
fashion. Note that text representing your point data should have elevation (Z Value) and all these texts
need to be in Code Layer.

Free Lisp - Create Formation Line using


Specified Gradient
Using this program you can mark a point in the AutoCAD drawing at given gradient. This is useful when
working in fixing formation level in a Profile (Longitudinal Section Drawing). If you have a longitudinal
section of Ground Level (Original Ground Level, Natural Ground Level, Pre Levels) and wish you create a
formation level (Post Level, estimated levels) at a given gradient, this program can be used. When
longitudinal sections are created it will not be in single scale – That is normally horizontal and vertical
scale for LS will be difficult and hence marking a point at given gradient becomes difficult, using this lisp
you can mark a point

Free Lisp – Find Intersecting Polyline Layers


While working with town planning maps drawing will have multiple feature lines. Each feature line will be
in different layer. This lisp will find out the distance of each intersecting line from starting point of the
polyline and identify the layer of intersecting line and create a CSV file which further can be opened in
Excel. Lisp programs like this will save lot of time and also avoid errors while working with bigger maps.
Like most of the free lisp in this site, this lisp was developed for one of our customers depending on his
custom requirement and published freely to benefit all other users like you.

Free Lisp – Find Open Polylines


In AutoCAD even if the polyline start and end coordinates are same, a polygon is considered open if the
Flag indicating open polyline is set to false. When exporting closed polygons to GIS and other Land
Records applications, if the polyline is not closed, it may not get imported properly in another application.
To ensure that we are exporting Closed Polylines only, it is better to do a check for open and closed
polyline. This lisp will indicate which all the polylines are open among selected polylines.
Free Lisp – Insert Blocks at Intersection or
End Points
In CAD, while designing underground drainages or roads for a layout, polylines or lines are used. In such
projects the end points and intersection of the polylines are important, and these are referred as nodes or
junctions. These junctions will be important while generating report related to design. Naming these
nodes is a regular requirement. To mark such junctions either at end points or at intersections ‘IBEI’
command can be used, selectively either at end points or at intersections or both at intersection and end
points block representing junctions can be inserted. This program is useful in Road, Railway, Irrigation or a
Pipeline project. But finds maximum utility in Urban development project or water way project.

Free Lisp - Mark Chainage along Alignment


An alignment represents the path where perpendicular lines along the alignment indicate cross sections. It
is a practice to mark each cross section line with proper labeling like “Chainage at 30 M”. This labeling
includes prefix, suffix, decimal precision of the chainage, increment, cross section line length and the
change points, which represent the change in path or direction of the alignment. Marking each cross
section line along an alignment with proper labeling will make the drawing more readable. Marking these
cross sections lines and labeling them in CAD takes a lot a time. Whereas using the MCH command,
marking cross section lines along with the labels is done in one step.

Use Mark Chainage Lisp to Mark Chainages in Road, Railway and Irrigation Projects.
Sl.No Options Description Example

1 Prefix Prefix Value before Chainage Number Ch.

2 Suffix Suffix Value after Chainage Number M

3 Starting Chainage Starting Chainage Value 0

4 Increment Chainage Increment Value 30

5 Chainage text Distance How far the Chainage Caption be aware from Section Line 1

6 Precision Chainage Precision 2

7 Cross Section Line Cross Section Line Length 20


Length

8 Including change point Yes/No No

click Ok button and Select the Alignment Line (L Section Line): (Select the LS Line)

Free Software to Run Script and Lisp on


Multiple Drawings
Script Files can save Time while working on CAD Drawings

One of the simple and rarely used feature of AutoCAD is Script. Scripts can be easily created and executed
in AutoCAD. It is a type of simple automation and in some projects it can save a considerable amount of
time.
A script is a plain file, having a sequence of command prompt entries, which gets executed when loaded
with the Script command of AutoCAD. Script files are similar to batch files, but are more flexible. Script
files can be easily created using a text editor such as notepad and then need to be saved with .scr
extension.
For example, let us create two layers “Road” and “Boundary” with red(1) and Green(3) colour. Just make
note of all the entries you make when you are creating layers in AutoCAD. Same thing when typed and
saved in Plain text file becomes Script File. If you are executing the same commands many times, then
instead of executing such commands a script can be used and executed.
Type following text in notepad.
Layer <Enter>
M <Enter>

C <Enter>
1 <Enter>
<Enter>
<Enter>
Layer <Enter>
M <Enter>
Boundary<Enter>
C <Enter>
3 <Enter>
<Enter>
<Enter>
Now save the file as CreateLayer.scr and then in AutoCAD type the command ‘Script’ and load
CreateLayer.scr. Now, 2 layers will be created. Please note that in the above shown file <Enter> indicates
you give ‘Enter’ Key when creating Script in Notepad. Classic Example of script File is purging all the
drawings in one directory. When there are multiple drawings in a project over a period of time, drawing
may have unwanted layers, blocks and because of that drawing files may be big in terms of file size and
when such drawings are opened for editing it may be working slowly. Using purge command all the
unused objects from drawing can be removed and this whole process can be automated with Purge Script
and Batch Run Script utility. Purge Script Content. Copy and Paste Following Script in a File and save the
file with Extension ‘SCR’
; PURGE ALL UNUSED
_PURGE
_A
*
_N
<Leave a Blank line by giving Enter>
Sometimes you will come across requirements in such a way that you need to execute same script file on
tens and hundreds of drawings. In such cases, CADBatch Runner can be used, which has inbuilt script &
lisp runner. You just need to locate drawing Files and select the required Script and lisp file. CAD Batch
Runner will execute the script on multiple drawings at a time.

How to Run Script and Lisp on Multiple Drawing

Open Batch Run Script utility

1. First we have to select the drawing files on which we have to run script and lisps

2. Select Drawing Directory to select the drawing file. If you click on ‘Include Sub Directory’ options even
the drawings from Sub directories will be selected
3. If you want to select drawings from multiple locations click on ‘Select File’ Option and selected required
files only

4. All the selected files will be listed in ‘Drawings’ Group. Un select the drawings on which you don’t want
to run the Script or lisp
You
have to select script and Lisp from ‘Select Automation Component’ Group.

5. Select Script with ‘…’ button next to respective Items and Click on Add" open="no"]

6. When you select Lisp, you have to provide the command name that has to be executed also. Once
drawings are selected and required scripts and lisps are selected
7. Click on ‘Run Script’ Button – Utility will open each of the drawings in the list and run Scripts and Lisps
on each one of the drawings" open="no"]

8. Alternatively you can click on ‘Create Script’ button and generate the complete script as a Script File,
which can be executed later in your CAD Package with Script Command
Convert UTM Coordinates (Bulk) as Latitude
Longitude - Help

1. Open application and Select UTM Tab


2. Select Map Datum
3. Specify the Zone Number
4. Click on '...' Button if you want to refer to Datum number map
5. Select the Hemisphere
6. Enter Easting and Northing Values
7. Click on Convert to Get Latitude and Longitude of the given point
8. It is always better to convert latitude longitude with higher precision
1. Select 'Lat / Long' Tab
2. Select Map Datum
3. Specify Latitude and Longitude
4. Click on Convert to get respective UTM coordinates

Convert from One Coordinate System to another Coordinate System in Bulk


Select the 'Bulk' Tab

1. Select 'UTM' Tab


2. Click ON Open Template and Program will open an Excel Sheet
3. Enter Bulk (Multiple / Many) UTM coordinates with Hemisphere and Zone Details
4. Save the File
5. Select Excel File by Locating the file after clicking '...' Button
6. Select the Map Datum
7. Click on Convert
8. The software will process bulk data at once and give the resulting Latitude and Longitude in Excel
Sheet (Spread Sheet)

1. Select 'Lat/Long' Tab


2. Click on Open
3. Click ON Open Template and Program will open an Excel Sheet
4. Enter Bulk (Multiple / Many) Lat Long Values
5. Save the File
6. Select Excel File by Locating the file after clicking '...' Button
7. Select the Map Datum
8. Click on Convert
9. The software will process bulk data at once and give the resulting UTM Coordinates in Excel Sheet
(Spread Sheet)
Converting Latitude Longitude into Map Coordinate is not a single step conversion as in most of the
conversion from one unit to another unit by applying a simple formula. This white paper explains which
are the factors to be understood for Latitude and Longitude Conversion.

1. Cartesian coordinate system (CCS)


2. Geographic Coordinate Systems
3. Geographic Directions
4. Latitude
5. Meridian
6. Prime Meridian
7. Longitude
8. Geodetic Height
9. Ellipsoid
10. Map
11. Map Datum
12. Map projection
13. Universal Transverse Mercator coordinate system
14. UTM Zone
Cartesian coordinate system: A Cartesian coordinate system specifies each point uniquely in a plane by a
pair of numerical coordinates, which are the signed distances from the point to two fixed perpendicular
directed lines, measured in the same unit of length. Each reference line is called a coordinate axis or just
axis of the system, and the point where they meet is its origin, usually at ordered pair (0,0) Earth is not a
Flat Surface. So Cartesian coordinate system cannot be used to represent Earth Surface as Earth has a
Spherical Surface. When the survey is done for less then 10 Km, variation due to the curvature of the earth
will be insignificant and flat earth models can be used. But when maps represent the bigger area,
Curvature of Earth has to be considered and hence there is a need of the geographical coordinate system.

Geographical coordinate System (Global Coordinate Systems) (i.e., Latitude and Longitude values, in
degrees): For sufficient accuracy to allow global exploration, navigation and mapping earth is considered
as spherical for Mathematical Modeling. Describing positions on the surface of the Earth in Latitude and
Longitude are the most common representation of spatial data and is called Geographic Coordinate
Systems.

Geographic Directions: North: Direction toward the North Pole. South: Direction toward the South Pole.
East: The direction parallel to the Equator and toward which the Earth's rotation is West: The direction
opposite to the Earth's rotation is West.

Geographic Coordinates: Cartesian coordinates is a point defined by x and y (a pair of numbers) in a


plane. Similarly, any point on the earth can be defined with a pair of numbers which are called geographic
coordinates (latitude, Longitude) assuming that Earth is Sphere. These coordinates values are measured in
degrees, and represent angular distances calculated from the centre of the Earth. Latitude and Longitude
are the angles measuring North to South and East to West.
The Equator and Prime Meridian are the reference planes used to define latitude and longitude.

Equator: Since it is known form Ancient Greeks time that Earth is a spherical object rather than a flat
surface, to determine the position on the Earth, reference points and circles are defined. An imaginary line
passing through the North Pole to the South Pole is the Earth’s rotation axis. The circle perpendicular to
this axis which is equidistant from the poles is known as The Equator. The equator is the starting point for
measuring latitude.

Latitude: Any circle parallel to the Equator is called a parallel of latitude. Multiple circles or approximation
of a circle on the surface of the Earth, parallel to the Equator are called latitude lines.

Meridian: An imaginary arc on the Earth's surface from the North Pole to the South Pole is known as
Meridian.

Prime Meridian: The meridian of Royal Observatory in Greenwich, England, is the internationally accepted
as Longitude of 0 degrees. It is the reference that is used as the origin for the measurement of longitude.
Prime Meridian is the starting point for measuring Longitude.

Anti-Meridian: It is another portion of the meridian line exactly opposite to the Prime Meridian. Note that
the anti-meridian can be described by either 180° west longitude or 180° east longitude.

Longitude: Lines of longitude, called meridians, run perpendicular to lines of latitude, and all pass
through both poles. The Earth is divided equally into ±90° degrees of latitude and ±180° degrees of
longitude.

Latitude Measurement: There is 90° of Latitude from The Equator moving towards north pole and
similarly 90° South Latitude Passes through the South Pole. One degree of latitude at the Equator also
corresponds to 111 Km (111,319.9 m).

Longitude Measurement: There are 180 degrees of longitude to the east of the Prime Meridian. There
are also 180 degrees of longitude to the west of the Prime Meridian. Western longitudes are often
expressed as negative values, particularly in computer applications. One degree of longitude at the
Equator also corresponds to 111 Km (111,319.9 m). It gets progressively smaller as one moves towards the
poles, eventually shrinking to zero.

Minutes and Seconds of Arc: A degree of latitude or longitude is relatively large, so it is necessary to
break them down into smaller units. So Latitudes and Longitudes are represented as Degree, Minute and
Second.
1 Min = 1/60 of a Degree and 1 Sec = 1/60 of a Minute
A minute of arc corresponds to 1.86 Km. A second of arc corresponds to 31.0 m.
Decimal Degrees (DD): Latitude and Longitude geographic coordinates are represented as decimal
fractions and are called Decimal Degrees.
10 Degree 12 Minute 14 Seconds is represented as 10o 12 ‘ 14 “ = 10 + 12 / 60 + 14 / 3600 = 10.20389

Geodetic Height: The geodetic height at a point is the distance from the reference sphere to the point in
a direction normal to the sphere. Earth has substantial variations in the elevation of its surface from point
to point. The peak of Mt. Everest is 9 Km above sea level and The deepest point of the Marianna Trench is
11 Km below sea level.

Ellipsoid: Precise measurements show that equatorial diameter is 12,756 Km and polar diameters of the
Earth is 12,713 Km, a difference of only 43 Km. So earth is not round either. It is flattened at the poles. It is
an oblate ellipsoid, like a squashed beach ball. It resembles a three-dimensional ellipse called an ellipsoid.
An ellipsoid can be defined by a number of mathematical characteristics. If the surface of the earth has to
be represented as a Map (2 – Dimension) then we need to project points into 2 dimensional Space and
since the earth is not a perfect spear (perfect round) Ellipsoid representation to be used for mathematical
modelling. Map coordinates are usually shown in one of two ways, as geographical coordinates (ie latitude
and longitude values, in degrees) or grid coordinates, (as easting and northing values, in metres). Spherical
models fail to model the actual shape of the earth. The slight flattening of the earth at the poles results in
about a twenty-kilometre difference at the poles between an average spherical radius and the measured
polar radius of the earth. Ellipsoidal earth models are required for accurate range and bearing calculations
over long distances.
Map: For many purposes, it's much more useful to represent the Earth on a flat surface, such as paper or a
computer screen. Such a flattened representation of the Earth is called a map.

Map Datum: A datum is a mathematical model which approximates the shape of the Earth. It allows
calculations such as position and area to be done in a consistent and accurate manner. Because there are
different ways to fit the mathematical model to the surface of the Earth, there are many different datums
used around the world today depending on Nation and Agencies. Cartography, surveying, navigation, and
astronomy all make use of geodetic datums. Simple Datum Models(Flat-earth models) are used for plane
surveying Complex Datum models used for international applications which completely describe the size,
shape, orientation, gravity field, and angular velocity of the earth. It is essential to select proper datum to
get a better level of accuracy. The Global Positioning System uses an earth-centred datum called the
World Geodetic System 1984 or WGS 84. The WGS 84 is currently one of the most widely used datums
around the world. The WGS-84 Geoid defines geoid heights for the entire earth.

Note: Coordinate values resulting from interpreting latitude, longitude, and height values based on one
datum as though they were based on another datum can cause position errors in three dimensions of up
to one kilometre. Different datums are based on different mathematical models of the earth's shape and
dimensions (ELLIPSOIDS) plus an additional factor of PROJECTION.

Map projection: Map Projection is a method of representing the surface of a sphere on a plane. To view
the Earth on a flat piece of paper or a computer screen, its curved surface must be projected. A projection
is a process which uses the latitude and longitude which has already been ‘drawn’ on the surface of the
Earth using a datum, to then be ‘drawn’ onto a map. By definition, all map projections show a distorted
representation of the Earth surface therefore different map projections exist in order to preserve some
properties of the sphere-like body (ie. either area, shape, direction, bearing, distance and/or scale) at the
expense of other properties.

Universal Transverse Mercator coordinate system: Universal Transverse Mercator (UTM) PROJECTION
touches the earth at various LONGITUDES called Central Meridian and uses a projection point at the
centre of the earth. The Universal Transverse Mercator (UTM) geographic coordinate system uses a 2-
dimensional Cartesian coordinate system to give locations on the surface of the Earth. It is a horizontal
position representation, i.e. it is used to identify locations on the Earth independently of vertical position,
but differs from the traditional method of latitude and longitude in several respects.

UTM Zone: The UTM system is not a single map projection. UTM divides the Earth into sixty zones, each a
six-degree band of longitude, and uses a secant transverse Mercator projection in each zone.
Free Lisp – Measure Distance between
Vertex of Polyline
One of the visitors of www.surveydrawing.net asked for developing a lisp for finding distance between any
two points of the polyline. If distance between 2 points of a polyline has to be measured, it become little
difficult, as we have to trim the line and measure. Using this AutoLisp Routine distance between any two
point of polyline can be measured, even if it has got arc segments or any number of polyline segments
between the selected points. It not only gives the total distance between the selected point, it will measure
each segment and mark the distance for cross checking.
As long as your requirement is related to survey drawing application, we love to develop further such lisps
and publish in our site absolutely free. Please note that like all other lisps in this site, you can download
the complete source code of the lisp also. Please don’t hesitate to express your views by posting it in the
form of comments. Without so much support from all of you this site would not have come long way. For
Survey Drawing requirements now this site is very popular and attracts highest number of visitors per day.

Free Lisp - Insert Block at Each Vertex of


Polyline
Inserting block at each vertex of polyline will be very handy while editing Survey Drawings. If you want to
highlight each change point of polyline or if you wish to insert a boundary stone block at each vertex of
the poly line, you can do using this simple autolisp program. You should have your block ready before you
use this program. After loading the program type ‘InBlV’ at the command prompt. Program will prompt
you to select the poly lines for which you want to insert block at each vertex and then program will insert
specified block at all vertex point. Note that you cannot use this program to insert attribute blocks. Only
Blocks without attribute can be inserted using this program. You can see the full source code of this
program and if required you can edit the lisp routine to adjust to your requirements.
Free Lisp - Export Cross Section Data from
Drawing
When Survey is done in scattered land Particularly in Mine Survey, you should not interpolate the value
and Create Cross Section. Original Survey Data to be used. In Such cases for Creating Cross Section or
Longitudinal Section along the Survey Line, you require 2 information a) Distance (Cumulative Distance)
and b) Point Elevation. When you use this lisp and pick elevations in the order of Survey Alignment,
Program will create a Comma Separated Value (CSV) file and then you can open the output in your spread
sheet application like Excel. Further you can import that section data in Section Software’s like ESurvey
Section to Create Cross Section or Longitudinal Section.

This lisp can be used for Creating Cross Section of any infrastructure project like Road, Railway, Irrigation,
Mining, and Pipeline. This lisp was prepared for a requirement from a customer who was working on a
Mining Project.

Free Software to Convert Distance, Area and


Volume Units
Unit Conversion is a frequent requirement for Engineers. In surveying mostly all the conversions will be
related to length, area and volume only. UTM to Latitude longitude conversion also plays a role in Survey
Engineers requirement as now drawings prepared can be easily converted to Google Earth.

Unit Conversion is such a frequent requirement and hence Google search engine itself has application
using which most of the frequent unit conversions can be done for Temperature, Length, Mass, Speed,
Volume, Area, Fuel Consumption, Time and Digital Storage. However, this conversion utility is not a
complete solution as in different parts of word different units of measurements are used Google or any
other applications do totally address unit conversion requirements. Many popular sites
like www.unitconversion.org, www.onlineconversion.com,www.unit-conversion.info and many more sites
have worked extensively on unit conversion and they offer much more unit conversion facility.

Since esurveying.in mostly discusses on Survey Engineering drawing, a simple unit conversion utility has
been built which can convert length, area and volume of the most popular units of measurements. You
can find more information about Converting UTM coordinates to Latitude Longitude
Sl Measurement Unit

1 Length Centimeters, Inches, Feet, Yards, Meters. Kilometers, Miles

2 Area Square Inches, Square Feet, Square Yard, Acres, Hectares

3 Volume Cubic Centimeters, Cubic Inches, Liters, Cubic meters

Free Lisp - Convert Smooth Polyline to


Regular Polyline
When a regular polyline is converted into a smooth polyline using pedit cad command, the polyline gets
converted to a smoother curve shape. Many lisps still consider only the original vertex of the regular
polyline while processing such entities. Using this free lisp you can convert a smooth polyline into regular
polyline having more segments so that newly formed polyline responds to lisp as a regular polyline.
Free Lisp - Interpolate Elevations at a given
Distance
In one of the earlier Posts related to Interpolation we had published a Lisp to interpolate value at midpoint
of selected two texts. In yet another post related to interpolation - Interpolate Multiple Elevations we had
published a lisp to interpolate at multiple points between selected texts.

Sometimes when elevation texts are far off, more than one elevation might be required to and may be at a
specified distance. Say you may have to interpolate at a distance of 5 meters each when elevations are
around 15 Meters. When you have such interpolation requirements “Interpolate Elevations at given
distance” can be used. Select 2 reference texts and program will interpolate as many elevations depending
on the elevation distance given.
Free Lisp - Convert Elevation to Represent
Sea Level
This free lisp is useful in representing sea levels in survey drawing in different style. When land survey is
done elevations are represented as numbers as we represent any other number as most of the elevations
on ground will be positive. But when sea or pond survey is done normally elevations represent depth of
water. Bathymetry is the study of underwater depth of lake or ocean floors. Survey maps which represent
details of pond and ocean are called Bathymetric maps.

Originally, bathymetry involved the measurement of ocean depth through depth sounding. So, the
elevations representing depth of water is also called sounding and it is represented in a little different
style. Integer value is given as a separate number in bold and decimal value is represented with smaller
font height as under-script.
This program will convert numbers into different texts which represent sounding.

Free Lisp - Total Station Setting Out


While working on Construction related survey Projects, it is a common requirement to setting-out pillar
axis, foundations etc., marking these points requires exact easting and northing to be carried back to the
total station. Using Pillar Lisp converting pillar corner points along with the centre point of the pillar is very
easy. The result is exported as a CSV file, which further can be used to import point data in total station.
This lisp is very helpful when you are working out Setting out points in the field. All the entities
representing Pillar need to in Pillar Layer. Lisp will mark each corner of pillar and also mark the centre with
number. Co-ordinate of such points are exported to CSV file with respective numbers.
Free Lisp - Interpolate Multiple Elevations
In one of the earlier Posts related to Interpolation. we had published a Lisp to interpolate value at
midpoint of selected two texts. Sometimes when elevation texts are far off, more than one elevation might
be required to interpolate between 2 elevations. In Such events interpolate “Interpolate multiple
Elevations” can be used. Select 2 reference texts and program will interpolate as many texts that you have
indicated.

There are many more requirements related to interpolation which have come to us. In some of the future
posts we will develop more lisps on interpolation and publish. If you have any specific requirement related
to Interpolation please let us know.
Free Coordinate Geometry Software - Land
Survey Engineering
Welcome to versatile Coordinate Geometry Software 'ESurvey Cogo'. Coordinate geometry is the base for
any CAD Package. All the CAD Packages offer excellent features. Hardly any CAD Package let users know
how the calculations were done. Considering this particular requirement in mind this product has been
developed which will not only solve the problem but also gives detailed solution to basic coordinate
geometry problems. ESurvey Cogo is very helpful to Students, Professors, Engineers (Survey Engineers in
particular) who use Coordinate Geometry

 Solves COGO Problems quickly


 Generates detailed report about the calculation
 Instantly displays the result in a CAD Screen

BENEFITS:

 Helps understanding the COGO in simple steps


 Since calculations can be printed in detail, you know how the solutions are derived

ESURVEY COGO MODULES: In ESurvey Cogo, you can see the calculations for these: Line, Triangle,
Quadrilateral, Circle, Arc, Regular Polygon, Irregular Polygon:

Line: In this module, you can find the intersection points between 2 given lines. Application will find the
intersection point and will indicate, are the lines are really intersecting. If intersection point is outside the
lines, then also it will find the intersection and in case lines are not interesting then it will indicate that the
lines are parallel.

Triangle: In this module, you can find the Centroid, In Circle, and CircumCentre of the triangle. Triangle
type like Right Angle, Acute angle is also displayed.

Quadrilateral: In this module, you can draw Quadrilateral by providing 4 Points. Depending on the point
input, program will show the shape, Rectangle, Square Etc.

Circle: In this module, you can draw Circles with 2 Options (3 Point, Centre and Radius).Application will
also show Properties like Perimeter and Area.

Arc: In this module, you can draw Arc with 2 Options (Centre - Radius, Point and endash; Centre - Angle).

Regular Polygon: In this module, you can draw regular polygons with any number of faces. Program will
show the type of polygon from Polygons having 3 to 20 Sides.

Irregular Polygon: In this module, you can irregular polygons with any number of sides. Program will
show information like Area, Number of sides etc.
Collection of AutoLisp for Shortcuts -
ESurvey Lisp Help
While working with AutoCAD if you wish to save drawing editing time, it is better to use command prompt
commands instead of Icons. ESurvey Lisps features over 50 macros that have been included after an
extensive research which suit while working with survey drawings. In the macro section, ESurvey Lisps
offers macros for the majority of frequently used commands.

1. SELECT

SELECT MACROS

Sl. No. Command Description

1 CC: Short cut command for Copy Crossing

2 EW: Erase entities with window selection

3 MW: Move entities with window selection

2. LINE TYPE
LINE TYPE MACROS

Set line type to selected entity easily

Sl. No. Command Description

1 CEN: Set Centerline type to selected entity

2 CONT: Set Continuous line type to selected entity

3 Das: Set Dashed line type to selected entity

4 Dot: Set Dashdot line type to selected entity

5 HID: Set Hidden line type to selected entity


3. UNITS
UNITS MACROS

Most of the ESurvey Lisp commands when to create elevation texts depending on drawing precision
create the elevation texts. To set the required units, following macros can be used

Sl. No. Command Description

1 UN0: Set units to Zero Precision

UN1, UN2, UN3 and Similarly sets respective unit precision


2
UN4:

4. ZOOM
ZOOM MACROS

Zoom is one of the highly utilised functions of drawing editor and naturally we zoom the drawing in the
variety of ways.

Sl. No. Command Description

1 ZE: Zoom to display the drawing extents

2 ZP: Zoom to display the previous view

3 ZC: Zoom to display a window defined by a Centre Point

ZD: Zoom to display the generated portion of the drawing with a view
4
box

ZW: Zoom to display an Area specified by the opposite corners of a


5
rectangular window

6 ZS: Zoom the display at a specified scale factor

7 Z8: Reduce the current view to 80%

5. MISCELLANEOUS
MISCELLANEOUS MACROS

Sl. No. Command Description

1 ELT: Erase last drawn entity

2 OS0: Turn off Osnap

3 QY: Quick quit (without saving)

4 BRK: Break Line at given Point

5 BN: Display block name of selected entity

6 LDXF: List DXF details of a selected entity

7 UB: Undo back for any Lisp from ESurvey

6. LAYER
LAYER MACROS

Sl. No. Command Description

1 BY: Set the by layer property of the entities

2 LSET: Set the Layer of picked entity

3 LC: Change Layer of selected entities to Current Layer

4 DSL: Delete the Objects of selected entities Layer

5 QL: Quickly Create a New Layer

6 MCL: Set specified Layer as Current Layer

7 RN: Rename Layer

7. LAYER ‘ON AND OFF’


LAYER ‘ON AND OFF’ MACROS

Sl. No. Command Description

1 OF: Switch OFF Layers on the basis of Entity Pick

2 SLO: Keep selected Layers ON

3 OFN: Switch OFF Layers by specifying Layer Name

4 ON: Switch ON the Layers

5 OFF: Switch OFF all the Layers except the current Layer

6 ONN: Switch ON all the Layers

8. LAYER ‘FREEZE AND THAW’


LAYER ‘ON AND OFF’ MACROS

Sl. No. Command Description

1 FR: Freeze the Layer on the basis of entity pick

2 FRN: Freeze Layers by specifying Layer Name

3 THN: Thaw Layers by specifying Layer Name

4 FRR: Freeze all Layers

5 THH: Thaw all Layers

9. LAYER ‘LOCK AND UNLOCK’


LAYER ‘LOCK AND UNLOCK’ MACROS

Sl. No. Command Description

1 LK: Lock Layer


2 UL: Unlock Layer

3 LKN: Lock Layer by Specifying Layer Name

4 ULN: Unlock Layer by Specifying Layer Name

5 LKK: Lock all the Layers

6 ULL: Unlock all the Layers

Free Lisp - Create Elevations from 3D Line


This free lisp is useful while working with a 3D polyline. Just select any 3D line or lines, this lisp will create
elevation texts at each vertex point of 3D polyline. Elevation texts created will be in separate layers as plain
text entities. These elevation texts can be further used for any other process if required. Limitation with 3D
polyline is that you have to move vertex to vertex to check the elevation. By converting it to elevation text
drawing becomes more readable.

Software - Extract Elevation from Geo


Browser Google Earth
ESurvey Earth – Extract Elevation from google earth in Just 3 Steps: ESurvey Earth is a free SAAS (Free
Online Application) that uses Maps API to bring to you an exclusive service to extract elevations from
Google Earth. This application extracts elevations of a given set of Latitude and Longitude points into KML
File Using Google Maps API in a simple three step process, which can be easily used in Google Earth or
can even be converted to CAD drawing.

How It Works?:
Extracting elevations from Google Earth has never been so simple before. It just takes five simple steps to
get the elevations of any location from Google Earth through ESurvey Earth.

1. Register your details on ESurvey Earth by providing the required details.


2. Login with the user id and password sent to your emails id used for registration.
3. Using the Choose File option select the CSV file containing the Latitude and Longitude of the
drawing. Upload the file by clicking on the “Upload” button.

Sample File Content


Latitude Longitude
12.98010 77.57121
12.98012 77.57130
12.98014 77.57139
12.98015 77.57148
12.98016 77.57150

4. In the screen that appears click on the generate button and then click on the “next” button in step
3.
5. In the screen that appears you will have the option to download the KML file. By clicking on the
download KML file you will be able to save the KML file and view the extracted elevations in Google
Earth.

Note: For bigger area, entering Latitude and Longitude values one by one may become very time
consuming. By using ESurvey KML (Commercial application by ESSIPL) you can directly derive the CSV
having latitude Longitude points data. This CSV file containing the latitudes and longitudes of the drawing
can then be used to extract the elevations using ESurvey Earth.

Free Lisp - Elevate Blocks Using Nearest


Elevation Text
This free lisp is useful while working with Land Survey Drawings. After the drawing is prepared, if Z Value
(Elevation) of the blocks to be changed to the elevation value represented by a text nearest to that block,
this AutoLisp routine can be used. Using this free lisp you Update Z value of all the selected blocks. If
drawing is in 2D (Entities without Z Value) it is always easy to edit the drawing, however this requirement
of elevating blocks comes up when this drawing is further processed in software’s that handle only 3D
entities.
Free Lisp – Smoothen Cross Section Line
This free lisp is useful while working with Cross Section Drawings. When Cross Sections generate from any
software it will be made out of straight line segments as the software just joins the each value of cross
section. When a cross section drawings are seen, it just does not look like natural ground segment. In CAD
there are smoothing functions like we can smoother polyline to the spline. But if we spline a cross section
line, we get a smooth line but it will deviate heavily from actual line. Using Smoothen Cross Section Line
lisp, you will be able to smooth cross section line to represent it as a natural surface. You have to specify
the vertex insertion interval depending on your drawing.
Software - Convert AutoCAD Dwg / DXF to
ESRI Shape File
Installing ESurvey Shape
Install ESurvey Shape like any other windows application. ESurvey Shape gets installed in a directory
C:\ESurvey\ESurvey Shape Directory.

You have to use ESuvey Shape with in CAD (AutoCAD / BricsCAD / GStarCAD /ZWCAD). After installation
open you CAD Package. Load Lisp (Application Load) using Tools menu or using Appload Command and
Load

C:\ESurvey\ESurveyShape\LoadESurveyShape.Fas lisp. Now menu gets loaded in your CAD application.

ESurvey Shape Commands


There are only 3 Commands in this compact application.
First open your drawing (Dwg or Dxf) in your CAD Application (AutoCAD / ZWCAD / GStarCAD /
BricsCAD).
[Note: For instant trial One Sample is also be available in C:\ESurvey\ESurveyKML\Sample.]
SHPE: Create Shape File

You can export Text, Polygon, Polylines by selecting Entities using SHPE command. Please note that you
have specify Zone Name (Which Hemisphere and Which Latitude longitude Zone) while creating shape
files as Popular Shape browsers like Arc GIS expect the entities co-ordinate to be in UTM co-ordinates.
When you run the command and select entities, Shape files get created in C:\ESurvey\Temp\ShapeOut
Directory.

You will be able to use these shape files in your applications. If you just want to browse the shape files,
then you can use any Shape File browsers.

This procedure will create simple shape file with basic entities. In case if you wish to attach more database
fields to you entities, then you have to create attribute block with required data fields in your drawing and
Before using SHPE command you need to attach attributes to respective entities using Attach Attributes
(ATCH) command.

In Case if you wish to See what attribute is attached to a selected entity, you can use related command
Check Attribute Attachment (ChKA)
Free Lisp - Road Alignment Design
This free lisp is useful while working with Road Alignments. Just select any alignment in your drawing, this
lisp will update many Road design details for all the curves. Lisp will assign Curve numbers to each curve
in the order of alignment. It will find out Deflection Angle, Circular Radius, Transition Length, Starting
Chainage, Ending Chainage and Circular Curve Length. It will just mark Transition Length as Zero. When
you run the lisp it will ask for default speed, if you enter speed that value will be filled in attribute blocks of
the entire curve. Later you may change transition Length and Speed, in case if you have values. This will be
useful in Road Design.

Free Lisp - Find Differences in Overlapping


Text
This free lisp is useful while working with Land Survey Drawings. One example for application of this lisp is
in Earthwork Projects. If we want to find out the difference between initial and final levels in each grid
point, this lisp can be used. If a contour map of differences of elevations has to be prepared, first find the
difference of levels in each grid point using this lisp and then generate contours based on these elevation
values which indicate the differences in overlapping text.
Free Lisp - Display Entity DXF Detail
This free lisp is useful for lisp developers. When developing AutoLisp programs it will be frequently
required to know the dxf values of entities. Using this lisp when you select an entity it will list all the dxf
value of the selected entity. It is very similar to list command of AutoCAD. List command gives details in
user readable format, this free lisp will give the details in the programmable readable format.

Free Lisp - Interpolate at midpoint of


Selected Elevation
This free lisp is useful while working with Land Survey Drawings. It is common practice to interpolate
elevations in Preparing Survey Drawings. There are various methods to interpolate values also. But most
common and simple requirement that comes up is an interpolation of elevation at the midpoint of 2
available elevations. This free lisp can be used for such requirements, select the two elevations and the lisp
will calculate the midpoint and mid value and create a new text.
Free Lisp - Update Z Value to Elevation
This free lisp is useful while working with Land Survey Drawings. After the drawing is prepared, if Z Value
(Elevation) of the points in the drawing to be changed it will be very difficult. Using this free lisp you can
add specified value to all the selected entities. Let us say there are 3 entities with z value 100.23, 106.34,
107.34 when you add value 100 to these entities using this lisp their value will become 200.23, 206.34 and
207.34 respectively.

Free Lisp - Multiply Text Value


This free lisp is useful while working with Land Survey Drawings. If you wish to multiply available texts with
given multiplication factor, run this lisp, select entities and specify the multiplication factor. The program
will multiply all the texts with given multiplication factor. By making very small changes in the lisp it can be
modified to work with other operators (+, -, /) in case if you require any changes.
Free Lisp - Convert Polyline to Power Line
This free lisp is useful while working with Land Survey Drawings. AutoCAD allows to create linetypes also.
But applying linetype for power line is not very convenient as the Indication lines have to vary in size
depending on Drawing Scale. This free lisp is developed to mark Power Line along a polyline. You will have
control over the way the power line indicators get generated as the program will expect you to mention
the required parameters.

Free Lisp - Change Layer to Current


This free lisp is useful while working with Drawings in CAD. In CAD we can select the entities and easily
change their layer by selecting the layer from the pull down menu in the ribbon portion of the editor. For
those who are convenient with using the command prompt switching is not preferable option; switching
from Character User Interface to Graphical User Interface. By using this free lisp it is possible to change the
layer of selected entities to current layer in command mode only.
Free Lisp - Quickly Create Layers
This free lisp is useful while working with Drawings in CAD. We can easily create layers in the interface that
gets invoked when we give layer command. However, since there is a new interface coming up and we
have to do the entry in the grid, it will naturally take few seconds to minute for creating a simple layer.
Normally, only property that we change in layer is color. Considering that this process takes time, this lisp
is developed, where you can quickly create a layer from command prompts by giving required colour.
Note that you have to specify colour number when using this lisp. This will be very handy for those who
work regularly in AutoCAD. It will normally take less than 3 seconds to create a new layer with this
method.

Free Lisp - Interchange Text Caption


This free lisp is useful while working with Land Survey Drawings particularly in a Titling Portion of the
drawing. If there are 2 texts and if the captions in the texts have to be interchanged, we have to do a
multiple copy paste operation. To avoid this, this simple free lisp will replace captions in the 2 selected
texts.
Free Lisp - Rotate Text Easily
This free lisp is useful while working with any AutoCAD drawing. In AutoCAD it is possible to rotate any
text to any angle. However, in drawings like city map text have to be aligned parallel to the road and plot
numbers have to be aligned parallel to parcel boundaries. In such cases, using normal AutoCAD
Techniques Rotating text will take time and some operators make the rotation approximately near and not
exact. Using this free lisp it is possible to rotate the text or multiple texts parallel to selected 2 points.

Free Lisp - Copy Same Text to Many Text


Entities
This free lisp is useful while working with Land Survey Drawings. Multiple Texts having to save caption are
common in Survey Drawings. For example in a City Map there will be repeated mention of the same street
road. The commonest method is to copy caption from one text entity and paste it on multiple text entity
by giving ddedit command. With this free lisp it is possible to copy text content of one text to multiple
texts in Single Command. Select the source Text and then remaining texts, for all the remaining text
selected this lisp will replace the caption of reference Text.
Free Lisp - Snap Elevation Text to Grid Point
This free lisp is useful while working with Land Survey Drawings. Many programs expect elevations values
to be exactly on the grid coordinates. If your elevation values are scattered, such programs may not accept
your data properly. Using free lisp 'Snap Text to Grid point' you can move all the selected text to nearest
grid point in a single command. Let us say a text value is at the insertion point of X = 23.45 and Y = 34.56
then if we specify a grid value of 5, Nearest grid point to this text will be 25,35 and the text will be moved
from 23.45, 34.56 to 25,35.

Free Lisp - Draw Grid Survey Boundary


This free lisp is useful while working with Land Survey Drawings. It is very common to mark gird lines in
Survey drawings as it helps engineers to read the drawing with grid lines. Using this free lisp you can easily
mark grid lines along with grid annotation with the specified grid spacing. All the annotations along the X
axis will be marked with Prefix E (Easting) and Prefix N (Northing) along the Y axis.
Free Lisp - Advanced Search Text
This free lisp is useful while working with Land Survey Drawings. The current version of CAD comes with
very good features to find texts, which was missing for a very long time. Still it does not offer all the search
criteria. This specific free lisp will help to search strings with specific behaviour, say you can find all the
texts in the drawing starting with Letter N or all the text entities ending with word 'Road'.

Free Lisp - Find Overlapping Texts


This free lisp is useful while working with Land Survey Drawings. Deleting duplicates are possible in CAD
with Lisp in Express tools supplied along with CAD. But that lisp will not find overlapping text. When
presenting a drawing, if texts are overlapping, all the overlapping texts will become unreadable. So, doing
a quality check to ensure there are no overlapping text is good practice for better representation of the
drawing. You can Find overlapping texts using this free lisp.
Free Lisp - Round off Elevation Values
This free lisp is useful while working with Land Survey Drawings. When elevations are interpolated in
drawing with 3 precision last digit of the elevation can be anything 0 to 9. When the survey is done with
instruments having precision 0.005 elevations have to end with either 0 or 5 when precision is 3 digits. In
some projects specification will also indicate that all the elevations to be rounded to 0.005. Doing such
things in excel is very easy as excel comes with lots of built in functions for rounding off. In AutoCAD if
you wish to round off values to nearest 0.005 uses this lisp.

Free Lisp - Multiple Object Area


This free lisp is useful while working with Land Survey Drawings. AutoCAD gives option to find the area of
any Entity. To find the total area of multiple objects, it is less tedious as you have to keep on adding the
object areas one by one using the Area command. Using this free lisp, if you select multiple objects, it will
straight away given the total area of selected entities in addition it will create text at the centroid of each
object, with a text caption indicating the area of that particular object selected.
Free Lisp - Insert Block at Text Insertion
This free lisp is useful while working with Land Survey Drawings. If you have requirement to insert block at
the insertion point of the selected text then use this free lisp. Lisp will find out the insertion point of each
selected text and will insert specified block at insertion point.

Free Lisp - Convert Face to Polyline


This free lisp is useful while working with Land Survey Drawings. In CAD area command will not work on
3D Face. If you want to find out the area of 3d face you have to convert into a polyline. This free lisp will
help you to convert 3D Face into 3D Polyline. If you have triangulation of your surface in CAD and want to
find out surface area of your survey data, this lisp can be used. Note that 2D area and surface area are
different and Surface area will always be more than 3D Area.
Free Lisp - Create Centre Line
This free lisp is useful while working with Land Survey Drawings. If you have surveyed either side of the
road and if you wish to mark the centre of the road, using this free lisp it can be done quickly. Lisp will
prompt you to select a line segment of the polygon on either side, once you select segments, a centre line
is drawn. Please note that if both the side of the road is not parallel along the alignment, then offset
command will not give the exact centre line and hence this lisp can be used to draw centre line.

Free Lisp - Delete Layer Entities


This free lisp is useful while working with Land Survey Drawings. Note that in CAD if you have to delete a
layer there should not be any entities in that layer. When you are creating entities in a layer
programmatically (using lisp), then it may require that you erase all the entities in that layer and then run
the program. Using this free lisp 'Delete Layer' you will be able to delete all the entities in the current
drawing.
Free Lisp - Update 3D Vertex
This free lisp is useful while working with Land Survey Drawings. In cad you can change the elevation of
any entity easily, using elevation command. 3d polyline will normally have different z value in each vertex,
changing elevation of 3d polyline is not meaningful. If you want to add specific value to all the vertices of
3d Polyline this free lisp can be used.

Free Lisp - Draw Leader Mark Easily


This free lisp is useful while working with Land Survey Drawings. Dimension command of CAD Allows you
to draw the leader line. In Survey drawings, some important points have to be marked with their
respective Easting and Northing. Using this free lisp you can mark a leader line for a specific point and at
the end of the leader line, this lisp will create 2 texts indicating points X (Easting) and Y (Northing) Value.
Free Lisp - Convert Meter to Feet
This free lisp is useful while working with Land Survey Drawings. Converting measurements from one unit
to another unit is a common requirement. Using this free lisp you can convert text values representing
measurement in meters to feet. Since source file is also available, by making some small modifications, you
can change it to work with different measurement units also.

Free Lisp - Random Elevation Interpolation


This free lisp is useful while working with Land Survey Drawings. It may be difficult to survey all the points
depending on Site condition. In such cases, if you elevations are located far, it may not be acceptable to
the client. The surveyor will be able to access the approximate ground situation. Using this lisp more
elevation can be created in drawing with reference to one base text. The program also allows you to
specify a range. Say if you want to create an elevation text within 1 M with reference to 98.40 (another
elevation, which is already in the drawing) then this lisp can create elevations randomly around a reference
text whichever point you select in the drawing.
Free Lisp - Recover Corrupted Drawings
This free lisp is useful while working with Land CAD Drawings. We received lots of drawing files where
entities were behaving weirdly. Upon looking deep into the problem, we realised that many entities had
got created in different UCS and they had some value in extrusion length. This lisp was developed to fix
that issue; this free lisp will set the UCS value of all the drawing entities to default value. Note that by
running this lisp on normal drawing, you will not observe any change and when you run it on drawings
which are corrupted, most of the entities get recovered. Some entities will get dislocated. After running
this program you will find the entities in the drawing will have normal behaviour.

Free Lisp - Elevate Elevation Texts


This free lisp is useful while working with Land Survey Drawings. Many drawings will have texts
representing elevation. They may be in Zero Elevation in the drawing, meaning their Z value will be 0.
Many software’s read Elevation from Z value of the entity rather than text Caption. In such cases, for each
elevation text, Z Value has to be varied. Using this free lisp we can change the Z value of multiple
elevations at a time.
Free Lisp - Box around a Text
This free lisp is useful while working with Land Survey Drawings. Some important Elevations have to be
highlighted while representing drawings for better presentation. One of the methods is to put a
rectangular box around the text. This can be done manually or Blocks can be inserted around text. Manual
method takes time and Blocks will be of the same size and hence if text is big it may overlap. Using this
lisp, Texts can be highlighted with a rectangular box.

Free Lisp - Scale Selected Lines


This free lisp is useful while working with Land Survey Drawings. Scaling multiple lines from its midpoint is
a rare requirement. However, it can same considerable time when required. If you have Cross Section lines
along the alignment and if you want to scale all the lines representing a cross section line, then use this
free lisp to scale all those lines in a single command. If you give value more than 1 then the line will get
enlarged and if a value is specified less than 1 then the line will get shortened.
Free Lisp - Circle around a Text
This free lisp is useful while working with Land Survey Drawings. Some important Elevations have to be
highlighted while representing drawings for better presentation. One of the methods is to put a circle
around the text. This can be done manually by putting a circle around the text. Manual method takes time
and depending on the length of the text circle . Using this lisp, Texts can be highlighted with a rectangular
box.

Free Lisp - Export Polyline Length


This free lisp is useful while working with Land Survey Drawings. In a city map if you have marked all the
road centres in one layer, using this lisp, you can find out the total length of the city road. When you select
the plines in the drawing, this free lisp not only gives the length of selected plines, it will also give length
of individual plines in a comma separated value file. This file can be opened in Excel for further editing.
Free Lisp - Repeat Measure Command
This free lisp is useful while working with Land Survey Drawings. Measure command is a very useful
command. Rarely there will be requirement to use measure command on multiple lines with same block to
be inserted. For example in a Water Supply project if all the water supply lines are marked and man hole
blocks to be inserted at the 30 M distance, instead of using the repeat command as many times as lines in
the city map, this single command alone can do the required block insertion at a given distance on
multiple polylines.

Free Lisp - Find Intersections (Arc, Line)


This free lisp is useful while working with Land Survey Drawings. Finding Intersection points of multiple
lines takes time and if arc is present in those lines, it becomes more complex. Using Find intersections lisps
it is possible to find the intersection points of multiple lines in a single command. Arc, Line, Polylines are
can be selected to find intersections.
Free Lisp - Convert Arc to Line Segments
This free lisp is useful while working with Land Survey Drawings. Many a lisp programs will fail when arc is
present in the polyline segment. When exporting polyline data to other software’s also sometimes if arc is
present in the polyline, it will be difficult to export. Using this free lisp arc or circles can be converted into
similar shape made of smaller segments of straight lines.

Free Lisp - Measure Each Polyline Segment


This free lisp is useful while working with Land Survey Drawings. After creating Survey boundary, it is
common practice to measure length of each segment of the boundary and put a text along the segment
indicating the length of that side. Doing this using normal AutoCAD techniques will take a lot of time,
particularly when there are many segments in the polyline. With this 'Measure Line' free lisp, by giving
single command, all the sides of the boundary will be measured.
Free Lisp - Export Polyline Coordinates
This free lisp is useful while working with Land Survey Drawings. If there is a polyline in the drawing, say an
alignment line representing road. The coordinates of each vertex of the polyline may be required for many
reasons. Using this Free lisp it is possible to Export X (Easting), Y (Northing) and Z (Elevation) Co-ordinates
of each of the vertices of a selected polyline into a Comma Separated (CSV) File.

Free Lisp - Import Easting(X), Northing(Y)


and Elevation(Z)
This free lisp is useful while working with Land Survey Drawings. Survey Data from Total Station is
imported as drawings. Normally total station instrument manufacturers provide solution to convert total
station data into the drawing. However, some outputs are very difficult to edit. This lisp will convert total
station data specified as X (Easting), Y (Northing), Z(Elevation) and Remark (Caption) format into Drawing
with Text Entities having Caption as in 4th Column where as insertion Point of such texts are considered by
referring to 1st, 2nd and 3rd Column of the input data.
Free Lisp - Export Easting(X), Northing(Y)
And Elevation(Z)
This free lisp is useful while working with Land Survey Drawings. Survey Data from Total Station is
imported as drawings. Normally total station instrument manufacturers provide solution to convert total
station data into the drawing. Similarly there will be required to convert data in drawing as total station
data mainly the point co-ordinates X (Easting), Y (Northing) and Z (Elevation) along with the caption of
Text. Using this Free lisp it is possible to export data into Comma Separated Value (CSV) File.

Das könnte Ihnen auch gefallen