This tutorial covers some of the GeoTools Block
and Conversion tools
used for representing Lots, marking there centroid and converting points to
1. Open the drawing named lesson3.dwg
which is located in your GeoTools Tutorials folder. This folder is
located in the folder where you have installed GeoTools.
2. You should see a drawing (see Image 3-1) of a small layout of roads and lots
3.The first thing we will learn here is how to
mark Centroid points of lots.
Marking Centroid point
1.Click on menu GeoTools => Build =>
Create centroid marks inside closed
polylines or type GT_CreateCentroid at the command prompt.
2. This will pop-up a dialog box as shown below in (Image3-7). Choose the options
as shown in Image 3-7 and click on OK button
3. Now you will be pop the standard selection dialog
box as shown below in (Image 4-3A)
4. Click on Scan selected objects
and select all the lots in the drawing and then click on Apply to
mark the Centroid points inside the lots as shown below in (Image 3-8)
Note: In the above example for creating
Centroid marks we have used AutoCAD Point object from the create
centroid dialog box shown in Image 3-7 but you can also use the other options
like Running number text and Fixed text string for
marking the centroid with number or a given string.
After learning how to mark centroid points in
the lots now we will see how to label the lots with lot names this can be done
in two ways
a) Automatically by using command GT_P2BLKSHP
, b) Manually by using
a) Naming the Lots by automatically
inserting the block at selected point objects
1. The drawing consists of block by name Block_layout
which is assigned with Attribute Lot_Name we will use this for
naming the Lots.
2. For naming the Lots automatically click on menu GeoTools => Conversion =>
Convert Points/Text/Circles to Block/Shape or
type GT_P2BlkShp at the command prompt.
3. This will pop-up a dialog box as show below in (Image 3-9) choose the options
as shown in Image 3-9
4. Click on the button Blocks for
selecting the block. This will pop-up the dialog box as shown below in (Image
5. Select the block by name LOT and click on OK button.
This will pop-up the standard selection dialog box as shown below in (image
6. Click on the button Scan selected objects and select
the point object marked in the lots except the last two lots. Then click on
button Apply on the standard selection dialog box.
7. This will pop-up the Output Control dialog box as shown below in (Image 3-11)
choose the options as shown in image 3-11 and click on OK button.
8. This will insert the block BLOCK_LAYOUT
along with the attribute ---- in the lots as shown below in (Image 3-12)
9. Now we will double click on the attributes -----
for naming the lots. Type the names as shown below in (Image 3-13)
After learning how to label the lots by Automatically inserting the blocks at
marked points by using GT_P2BLKSHP command now we see how to label the lots
manually by using GT_BlockIns command.
b) Naming the Lots by manually inserting
1. So first we will make the settings for
inserting the blocks for doing so Click on menu GeoTools => Settings
and set the X and Y scale factor for blocks to 1.00.
And the Rotation angle to 0.00 as shown below in (Image 3-5).
2. Now we will use GT_BlockIns command for inserting the blocks
which cut shorts the number of keystrokes required for a typical
block insertion. Using the GeoTools defaults for scale factors and rotation
angle. For doing so click on menu GeoTools=> Blocks =>
block insert or type GT_BlockIns at the command prompt.
3. This will pop-up the Express Block Insertion dialog box as
shown below in (Image3-6). Listing the blocks available in the current drawing.
Select the block by name Lot,
check the box Use Express
Insert settings and click on Insert
4. After clicking on Insert button you will be prompted to Pick insertion
point select the point object in any one of the lots which are not named by
setting the Osnap setting to Node. Next you will be prompted to Enter
the Lot name enter Andre Miller and press Enter Key.
5. Repeat the steps 5, 6 and 7 for naming the last lot. Name the last lot as Mary
6. The drawing with lot names done should look as show below in (Image 3-14).
Now if you see the last two lots which you named are having the block in
different layer as compared to the other blocks which are placed in the lots
So for changing the layer of this two blocks we will use command GT_Match
which is used to match the properties like Color/Layer etc. From
object to another.
Changing the layer of Blocks
1. Click on menu GeoTools => Miscellaneous =>
Match Properties or type
GT_Match at the command prompt
2. This will prompt a dialog box as shown below in (Image 3-15). choose the
options as shown the image 3-15.
Note: Select Multiple under Selection for selecting more
than one object.
3. Click on OK button then you will get the Standard selection
dialog box as shown below in (Image 4-3C)
4. Click on Scan selected objects
button and select the two blocks which you want to transfer in Lot
layer and then press Enter key. This will bring back the Standard selection
dialog box as shown in above image 4-3C.
5. Now click on Apply button this will prompt you to select
the destination object for property match. So select any one of the
blocks from Lot layer this will transfer the two blocks in Lot
layer. As shown below in (Image 3-16).