Beruflich Dokumente
Kultur Dokumente
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. 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
Lisp comes handy for improving drawing presentation. For more lisp programs which help better
presentation of drawing in short time, you may also refer
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.
In this Excel Sheet, you can do traverse Correction, considering Co-ordinates as Input for any open
traverse.
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.
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.
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.
Use Mark Chainage Lisp to Mark Chainages in Road, Railway and Irrigation Projects.
Sl.No Options Description Example
5 Chainage text Distance How far the Chainage Caption be aware from Section Line 1
click Ok button and Select the Alignment Line (L Section Line): (Select the LS Line)
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.
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
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.
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.
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.
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
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.
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
BENEFITS:
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
2. LINE TYPE
LINE TYPE 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
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.
ZD: Zoom to display the generated portion of the drawing with a view
4
box
5. MISCELLANEOUS
MISCELLANEOUS MACROS
6. LAYER
LAYER MACROS
5 OFF: Switch OFF all the Layers except the current Layer
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.
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.
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
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.