MikeyWatkins Posted July 4, 2011 Posted July 4, 2011 I have recently imported data from a Total Station surveying package. There are 800 points and the package imports these as blocks, which is all Fab and Groovy, except that each block has the same name, as you would expect. What I need to do is rename each block individually, that is, block 1 will be named block 1, next one, named block 2 etc all the way to 800. Is there a lisp that can rename all the blocks in this way?. I could do them individually but obviously life is too short. Quote
Organic Posted July 4, 2011 Posted July 4, 2011 Why would you want to rename each block? Does each block (i.e. point/object) not have a point number/other identifier encoded into/attached to it? Are you importing these straight into AutoCad or into a survey package (if so, which one)? Quote
MikeyWatkins Posted July 4, 2011 Author Posted July 4, 2011 What i need is to be able to use the EATTEXT command to extract the X and Y co-ords and put them into a sheet elsewhere but will that will only work if they are individually named. I did try to use the function but although the command counted the number of instances of the block, it would not give me the info I need for each block. Can you think of another way I could get the info for each of the 800 points to paste into a spreadsheet, it would be gratefully received. thanks heaps Quote
MikeyWatkins Posted July 4, 2011 Author Posted July 4, 2011 What i need is to extract the X and Y co-ords and put them into a sheet elsewhere but will that will only work if they are individually named. Can you think of another way I could get the info for each of the 800 points to paste into a spreadsheet, it would be gratefully received. thanks heaps (I am using AutoCAD at the mo') Quote
eldon Posted July 4, 2011 Posted July 4, 2011 Personally, I would start at the other end, and see if the Total Station would give a text output of the data. Quote
MikeyWatkins Posted July 4, 2011 Author Posted July 4, 2011 Unfortunately it needs to be in AutoCAD so that the "real world" co-ords can be used, (the GEOsite software is very limited in this) I did think of using the field book data and copying that but the blocks/points really need to be brought into a drawing for it to be correct. Quote
MikeyWatkins Posted July 4, 2011 Author Posted July 4, 2011 AH HAH...I've done it, the EATTEXT function worked after all, (after a bit of fiddling) it didn't like an altered UCS, but once sorted it worked fine Thanks all, its good to bounce things about Cheers Quote
eldon Posted July 4, 2011 Posted July 4, 2011 This from GeoSite web site Communicator For the site engineer, who needs to be able to efficiently upload and download data to their Nikon/Trimble instrument. Capable of reading DXF/DWG and CSV files from an external source and uploading a selected data set to the instrument. Following a completed survey, data can be downloaded for export as a CSV co-ordinate listing or simple DWG/DXF file. You can get a text data file. Quote
MikeyWatkins Posted July 4, 2011 Author Posted July 4, 2011 Thanks for the help, I'll keep this info for next time. cheers Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.