28 June 2010

We're moving!!

There may be a small interruption to Support emails this week as we're relocating the office from Edinburgh to Wiltshire. Obviously we'll try to maintain our normal levels of support as much as possible, but please bear with us during the move.

From the 1st July 2010 our new contact details are:

Wish Software Limited,
Hartham Park,
Corsham,
Wiltshire,
England,
United Kingdom,
SN13 0RP.
Telephone numbers +44 (0)1249 700714/5/6

Mobile numbers and email addresses remain the same.

21 June 2010

AutoChart version 2010.00.02 is now available for download

We are pleased to announce that the latest AutoChart version 2010.00.02 is now available for download from the Wish Software Support Page:
http://www.wishsoftware.com/AutoChartSupport.aspx
Access to the download page requires a User Name and Password, so please contact your company's AutoChart Administrator in the first instance to obtain the required login information.
Version 2010.00.02 contains a number of new commands, modifications and bug fixes and the new install is required for use with AutoCAD 2011.

Please note that AutoChart version 2010.00.02 will be the last version of AutoChart to support AutoCAD 2000 - 2006. All future versions will be compatible with AutoCAD 2007 and above only.

A list of new features is shown below and full details of these can be found within the AutoChart Help File. 

I'll also be discussing some of the major changes and new commands in forthcoming posts on this blog, so if there is anything in the above list that you are particularly interested in then please let me know.


7 June 2010

Listing the coordinates of Polygons/Closed polylines in AutoCAD MAP

In my last post, I discussed the process involved in exporting a listing of polygon positions through ArcGIS. So how could you export the same information using AutoCAD MAP?

Again, it's a fairly simple operation, the main trick being how to easily get the centre points of the polygons or closed polyline entities and this involves using the AutoCAD MAP Create Centroids command.

So, the first step is obviously to have your source data that you want to export the positions from. This could be an existing set of entities (with or without object data) or you can use the MAP->Import command to bring in a shp file of polygon objects and their associated object data. When you import the data in this way, you can also choose to convert all of the polygon entities to closed polylines.

Once the data is in AutoCAD, you can then use the Create Centroids command on either selected entities or on all closed objects within the drawing. This will create a point entity at the centre of each polygon that also contains the associated object data. Once the centroids have been created, save and close the drawing and start up a new drawing in which to run a Report Query in order to output the point data coordinates to a text file.

Select the MAP->Define query command and use the Drawings button to attach the drawing created above. Under the Query type, click the Location button and set the Boundary Type to All. Then click the Property button, select the Object Type radio button, make sure the Operator is set as '=' and click the Values button to choose the POINT object type. This will ensure that only the point objects representing the centres of the polygons will be included in the output.

Back in the Define Query dialog, set the Query Mode to Report and click the Options button to access the Report Options dialog. Click the Expression button, expand the Object Data folder to select the required Object Data field and click OK to return to the Report Options Dialog and click the Add button to add the expression to the Report Template list. Repeat the above steps for any other object data fields you want included in the listing. To include the Eastings and Northings in the Listing, again use the Expression button, but this time expand the 'Properties' folder and select X1. Press OK and then use the Add button to include it in the template. This gives the Eastings of the point objects so repeat the operation to select Y1 to add the Northings to the Listing.

Once the Report Template is set up as required, use the Browse button to define the output name and location for the listing and press OK to return to the main Define Query Dialog.
Finally, click the Execute Query button to generate the report. The data will be output as a comma delimited file that can be opened in Excel.

The entire process is illustrated in the video below: