- Type CUI at the command line.
- Press the new command button
- Create a new Toolbar
- Type in the following format of the vba macro to get it to load and run, notice that the folder separators go in the wrong direction: ^C^C-vbarun;"C:/Documents and Settings/user/My Documents/Autodesk/PipeNetworkQuantity-0.1.dvb!ExcelExportLengthCount.ExportToExcelLengthCount";
- Add an icon and drag the command from the lower left area up to the new toolbar
A place to put reminders on how to do things or commands that I will use rarely, but are useful to know.
Ad
Saturday, June 30, 2007
Adding a VBA Macro To a Toolbar
Thursday, June 28, 2007
Pipe Networks Style Overrides
Just put the check mark in the box and select the style you want it to be. In 2007 you need to have the style already created, in 2008 the ability to create or copy and edit a style from the command is there.
Wednesday, June 27, 2007
Mapcheck Report in 2008
I told my coworker I was going to post on something else, but I found this new feature too cool to pass up and solves the problem he was having exporting a mapcheck report for multiple parcels. This post is mainly borrowed from the tutorials document on the Autodesk website.
Exercise 3: Exporting Parcel Data
In this exercise, you will generate a mapcheck report for the parcels in the residential road at the top right of the drawing.
In AutoCAD Civil 3D you can export inverse or mapcheck reports for either a single parcel, a series of parcels, or all parcels in a site.
For more information, see the AutoCAD Civil 3D Help topic Exporting a Parcel Inverse or Mapcheck Report.
To export parcel data
On the Toolspace Prospector tab, expand Sites ➤ Site 1 ➤ Parcels.
In the list view below the Prospector tree, click the heading of the Number column to sort the parcels by number.
- Select parcels that you need a report for. You can use any of the standard windows methods to select and deselect the parcels.
In the list view, right-click and select Export Analysis.
- In the Export Parcel Analysis dialog box, specify the following settings:
- Destination File: Place it in a place and with a name you can remember the tutorial uses a txt file like this: ExportAnalysis.txt
- Analysis Type: Mapcheck Analysis
- Destination File: Place it in a place and with a name you can remember the tutorial uses a txt file like this: ExportAnalysis.txt
- Click OK.
The ExportAnalysis.txt file automatically opens in the text editor associated with AutoCAD Civil 3D and is saved in the location you specified in step 5.
No more copying and pasting for each parcel or exporting into another program to get the reports, unless of course you need it in another format.
Tuesday, June 26, 2007
Sewer Lateral Layout
- First create a dynamic block or use the one found here.
- Add the label to a line and curve label, I have created a sample at the same location in step 1.
- Add the label at the locations along the alignment where you want the laterals to go.
- Flip any labels to the other side of the line or have two styles on for left and one for right.
- Make any adjustments you need to make.
- Explode the line and curve labels twice.
- If you are using Civil 3D you will need to save, close and reopen the drawing. Civil 3D 2007 crashes when you try to move a grip of the dynamic block. Civil 3D 2008 tends to like this a little more.
- Move the grips to the property line or whatever location the lateral needs to go to.
There may be other unforeseen problems, but should save step in rotating each sewer lateral block.
Monday, June 25, 2007
Combining Pipe Networks
When you do this make sure the pipes and structures have different names or change them after you do the import. Having pipes or structures of the same name will cause problems in the drawing.