Saturday, 18 May 2024
Saturday, 14 January 2023
Batch Run Lisp Routines on multiple files to update preview images
Using the “Autodesk Batch Save Utility” that comes as a separate program with Civil3d you can set up a lisp routine thru a script file to be run on multiple files when they are opened resave. We have done this to resave and update a lot of old files in our block library to refresh the drawing preview images, so you can roughly see what is in the file in the preview pane of wind0ws explorer.
To do this :-
1. Go Edit and update the script file.
2. Add the path of the location you want the files to be resaved.
3. Press Start
Thursday, 26 August 2021
Drawing Purge - Civil3d Styles Batch Purge
Sunday, 21 June 2020
Map3d Dialog Boxes not showing in Civil3d
For some reason the Map3d Dialog boxes have not been showing in my Civil3d this article provided the fix
the search paths for the ade.dcl for the 2016 version of software I am running were a bit different.
C:\Program Files\Autodesk\AutoCAD 2016\Map\Support\en-US
C:\Program Files\Autodesk\AutoCAD 2016\Map\bin\FDO.
Need the dialog to help with this question in the forums
Saturday, 13 June 2020
Adding SHP file Linework from Civil3d to Open Street Map (OSM)
1. In Civil 3d prepare your linework and then type “Mapexport” to start the process to export a shp file of your data. Create a folder to save the shp file information to and give the shp file data a name.
2. If exporting just line select lines and manually select the objects you want.
3. Go to the options tab and set the co-ordinate system to convert to WGS84 i.e LL84 as this is open of the co-ordinate systems that the Pot Latch 2 editor for Open Street Map can import.
4. Go to the folder the shp files were exported to and zip all the files into the open zip file.
5. Open a browser that supports flash and go to the Open Street Map webpage and log in. Once logged in go to the edit menu and select edit with PotLatch 2
6. Once Potlatch 2 opens go to the Background menu and select the Vector File button
7. In the load vector file dialog choose shapefile browse to the zip file created above and the linework of the shpfile should be imported.
8. With the linework as a background to bring into Open Street Map click on the line work while holding the Alt key and then press the save button to push up to the Open Map Server.
Monday, 30 March 2020
Connecting Surface Pro to Computer as extra Screen and Input Device
The current Covid-19 lock down in New Zealand has everyone working from home where they can. In order to hand markup pdf’s I thought I would connect my original Surface Pro to my PC as an Input Device and third screen. I googled how to do it and decided to write up the process with a few additional picture for future reference and to help anyone else who maybe trying to do it.
1. Make sure Windows 10 is installed on both the PC and the Surface Pro.
Press Win+P to bring up the connection centre on the PC
3. Choose “Connect to a wireless display”
4. Hopefully you will see the name of the Surface Pro in the list of Devices
5. If not then we have to change some settings on the Surface Pro to allow projecting onto its screen. Type in settings and then goto “Projecting to this PC” turn on its availability and make sure it is plugged into a power source.
6. Go back to the connection centre and refresh hopefully you can see the name of the Surface Pro and be able to connect to it.
7. Allowing input make sure you check the allowing input box or notification bubble that will come up on your PC to allow the pen and touch screen input from the Surface Pro to work on your PC.
8. if the above has not worked for you here are more Troubleshooting tips from the Microsoft website.
Monday, 9 December 2019
Using Civil3d and SAGA GIS to create .las file for TGC Designer tools
This workflow has come about due to the potential loss of our community golf training facilities and the need to present options for the relocation of the facilities to a new piece of land.
Initially I mapped out a rough concept for a new course by hand on an aerial photo and then draw it up in CAD using Autodesk Civil3d.
Then I cam across TGC-Designer-Tools that allows you to import surface and design information from Open Street Map into the game “The Golf Club 2019” which has designer functions to model up a golf course.
One of the limitations of the TDC-Designer-Tools at this stage is that you can only import .las files of lidar for the elevation data.
There is however a lot of surface elevation data that is freely available on the internet in other formats. Normally in a post processed format from the original lidar data. In order to use this data in a course or surface data from Civil3d it has to be converted into a .las file format some how.
Fortunately there is an open source GIS program “SAGA GIS” that has just the toolsets you need to import surface data in various formats and convert it into a .las file that can be imported into TGC-Designer using TGC-Designer-Tools as a basis for your design.
What follows is the workflow in progress I have developed to take a design surface from Civil3d and convert it into a .las file for import into TGC-Designer.
1. Download and install SAGA GIS2. From Civil3d export a DEM file of the design ground surface you want to make into a .las file.
3. Dragged the DEM file into SAGA GIS.
4. Using the PointCloud from Grid Points created a point cloud.
http://www.saga-gis.org/saga_tool_doc/2.2.3/pointcloud_tools_2.html
5. View the point cloud data and added a field “Class” for the classification and added 2 for "Ground" for the value of the class
http://www.saga-gis.org/saga_tool_doc/2.2.7/pointcloud_tools_6.html
6. Used the Export .las file to export out the .las file.
7. Imported the the .las into TGC designer tools following this tutorial.
https://chadrockey.github.io/TGC-Designer-Tools/TUTORIAL
Helpful Tutorial on Saga GIS
https://www.youtube.com/watch?v=wAUtojgDsTA&list=PLQlQ0PBGc1s9HBXI-YhVRxDu5cEjB7l_D
Monday, 11 November 2019
MapInsert
Reminder remember to self mapinsert command has double i’s “mapiinsert” and is the best way to put tiff’s in dwgs to xref into other drawings.
Friday, 18 October 2019
Google Style Search for Dwg files
No matter how organised your filing and cad standards are there will always be time spent searching for information that has been detailed before and not added to the system or showing new staff where information is located. In this vain I typed google style search engine for dwg’s in google about a month do so ago I came across a program calling Drawing Searcher by Docupoint http://www.docupoint.com/
I downloaded the trail and installed and was impressed at the speed of the indexing and searching. The price was very reasonable as well I thought. Once set up on your server you just can direct users to go to an internal webpage and they can search all the documents quickly on all company servers and archives for what ever they are after.
Autodesk Storm and Sanitary Playlist on Youtube
Here is a link to a playlist of videos I have found useful over the years on SSA
https://www.youtube.com/playlist?list=PLRJtzWYfXIz-sM3FOTH_b8WTcbcQy9eA8
Civil3d Transparent Surface prints Tinn Lines
Getting Open Live Writer Picture Posts Working
To get open live writer working again and posting with pictures refer to this blog
http://www.thanislim.com/2019/03/how-to-fix-open-live-writer-error-400.html
you may get a error 403 as well. Just delete your link to Blogger and setup again.
Copy PDF text to Word keeping Line Spacing
Note to self for some reason when I copy and paste from a pdf or chrome to word I lose all the line spaces in the pdf’s text. If however I open the pdf with Microsoft Edge the line spacing remains after the copy and paste in word.
This method has not been working lately for me maybe due to the pdf being published differently i think. A method that works with these pdfs is to upload the document to google drive and then go open as google doc and then copy and paste the text from the google doc into excel.
Vehicle tracking ‘’atra201_dbx failed to load’’ error
Friday, 4 October 2019
Converting Large SSA model from Rational to SCS TR 55 Hydrological Method
Here is a workflow to change a large model from one Hydrological method to another. You may want to do this for a number of reasons. But SSA has very limited tools for bulk updating of data, given below are some work arounds to speed up the updating of data.
1. In SSA Change the Hydrological Method
a. Go to Input-> Project options. Change the hydrological method from Rational to SCS to Tr 55.
b. This will change the settings available under each subbasin, allowing a Curve Number (CN) to be entered.
2. Update the Subbasin Curve Numbers (CN)
Now you have to update the CN numbers for each Subbasin Unfortunately SSA does not provide a method to do this in bulk that I know of. To enter the curve number quickly to a large amount of sub basins you change use the SSA export to GIS tool and then edit the subbasin shp file data in Map 3D and reimport the subbasins.
To do this.
In SSA
a. Go to file export GIS export.
b. Choose file locations.
c. Select the sub basins only.
d. Select all properties.
e. Click export.
In Civil3d
a. In Civil 3D / Map3D type “mapwspace”.
b. Choose data connect. Show grounds to the shape files in connect.
c. Select everything in the drawing an Checkout all the information for editing.
d. Turn on the table of object data.
e. All the sub basin objects again.
f. Select to check all the updated objects into the shape on again.
g. Close the updated file.
Returning to SSA
a. Delete the existing sub basins by using the Polygon Selection tool. Draw a polyline around all the subbasins right click, and select done. To close the polygon.
b. Now do a group delete go to the edit menu with selection Polygon still showing and select “group delete” second from the bottom on the menu.
c. Choose to delete subbasins only.
Import Updated Subbasins from Shp file.
a. Go to file import GIS import.
b. Browns to the updated shp files of the sub basins and choose import.
c. The sub basins will import with the new CN values you assigned. To the right object data fields.
3. Update the Time of Concentration
a. You may have noticed that the time of concentration has been updated or set to zero for all your Sub-basins to fix this do a group edit.
b. Use the Polygon selection tool again to select all Sub-basins.
c. Go to edit group edit third from the bottom.
d. Choose sub basins time of concentration replace with say 10 minutes.
4. Assign Rain Gauges to Subbasins
Now to get SCS TR-55 method to run you have to assign Rain Gauges to each Sub-Basin. Again there is no command to do this in bulk in SSA. You can use the following work round if you like:-
a. Create a Rain Gauge.
b. Copy the Rain Gauges name
c. Export your SSA file to a swmm file.
d. Open the swmm file in notepad.
e. Search for the Sub Basin Section in the text file.
f. Do a find and replace on the * with the sub basin name copied above.
g. Save the updated file swmm .inp file.
Return to SSA
a. Go file import browse to the updated swmm file in and import.
You should now have a file with subbasins assigned rain gauges and should be able to run an analysis.
Sunday, 29 September 2019
3D polylines from Civil3d pipe network for machine guidance
Most contractors like to get 3d lines of Civil3d pipe networks for machine control but there is no command built in Civil3d to do this. This post in the forums gives an easy work around solution that uses script files.
a bit more help on script files can be found in this post
https://thecadgeek.com/blog/creating-script-files-with-excel/
A couple of things that were not that clear in the forum comments when I tried the work around were that:-
1. You need to delete the “line,” i.e line with the , and replace with the word line with a space in front to represent the enter key being pressed in front of the line command “ line”.
2. That all you need between both sets of co-ordinates is a space so the double ,, in the csv file can be replaced.
Also you need to set osmode to o and have the .scr file in a location with a short folder path as the run script command is old and use to short paths and will fail to load the file if a long path.
Sunday, 5 May 2019
Using Desktop Divider App to add regions to multiple monitors for Dialog Boxes
Found this helpful program the other day to divide your screens into regions so you can have windows dialog boxes re size quickly and placed at specific areas on you screens.
Here is a link to the website
https://www.actualtools.com/multiplemonitors/features/multi_monitor_desktop_divider/
and a quick video on how to set the program up to divide up you monitors
Monday, 22 April 2019
Fixing and Redirecting Data shortcuts
Here is a link to a great video by Jeff Bartell on how to fix various issues that can come up with Data shortcuts.
https://www.youtube.com/watch?v=T7drQbOtIpk&feature=youtu.be
