Chapter 16
Advanced Workflows

The Autodesk® AutoCAD® Civil 3D® program is unique in that, with a few exceptions, the data you create is stored in the DWG file. Using data shortcuts will allow you to divide the work among your co-workers and keep your drawing size down. Using data shortcuts will also enable you to keep your existing surface in your topographic survey file and reference it into your design files.

In this chapter you will also look at LandXML as a tool to share data. Using this file format, you can transfer “intelligent” data without a DWG file.

In this chapter, you will learn to:

  • Create a data shortcut folder.
  • Create data shortcuts.
  • Export to earlier releases of AutoCAD.
  • Export to LandXML.

Data Shortcuts

image
A data shortcut is a link between drawings that allows specific types of Civil 3D data to be shared. The shortcut itself does not contain data, but it is a pointer, directing Civil 3D to read information from a common pool of data. A data shortcut is created in the source drawing, and a data reference is the manifestation of the data in a recipient drawing.

There are many situations in which you need data or information to link between drawings. Connections between drawings can be in the form of external references (XRefs), data references, or a combination of the two. These two options are similar but not the same. Table 16.1 compares them.

Table 16.1 XRef vs. data reference

External reference (XRef) Data reference
For most objects, an XRef is a graphic-only representation of objects created in another drawing. A data reference is an information/graphic-only link to Civil 3D data created in another DWG file.
Any objects (base AutoCAD or Civil 3D) can be displayed in XRefs. Only specific types of Civil 3D data can be used as data references.
Visibility of objects is controlled by original drawing styles and layers. Visibility of data is controlled by host drawing styles and layers.
With the exception of Catchment and Intersection objects, you can use the Civil 3D Add Labels commands on items in an XRef. All other objects (e.g., Surfaces, Alignments, Pipes, Profile Views, etc.) can be labeled through an XRef. To use Civil 3D object data in design (i.e., using a surface to create an existing ground profile or using an alignment as a corridor baseline), the object must be data referenced.
A drawing containing a Civil 3D corridor can be XRef'ed into a host drawing. Sample lines can pull corridor data from the XRef. A data reference to an alignment in conjunction with an XRef to the corridor enables sample lines to be created in a separate drawing.

A feature introduced in Civil 3D 2014 brought another important exception to the general rule that external references are “graphics only.” Users now have the ability to use figures, lines, polylines, and feature lines as corridor targets through an external reference.

As noted, only Civil 3D objects can be used with data shortcuts. Not all object types are available through shortcuts. The following objects are available for use through data shortcuts:

  • Alignments
  • Surfaces
  • Profiles
  • Pipe networks
  • Pressure networks
  • View frame groups

Getting Started

When you first create a data shortcut project, you have the option of using a project template. A project template is simply a set of folders, subfolders, and files created to help you keep your file store organized.

In the following exercise, you will create folders for use when creating a data shortcut project:

  1. Open Windows Explorer and navigate to C:Civil 3D Project Templates.
  2. Create a new folder titled MasteringCivil3D.
  3. Inside MasteringCivil3D, create subfolders called Design, Documents, Sheets, and Survey, as shown in Figure 16.1.
    Image described by caption and surrounding text.

    Figure 16.1 Folder structure and standard project files should be included in the project template.

  4. Locate the file 1601_Project Checklist.doc from this chapter's files that you downloaded from www.sybex.com/go/masteringcivil3d2016.
  5. Place the file in the Documents folder you created in step 3.
  6. Locate the file 1601_SheetSetTemplate.dst from within this chapter's files.
  7. Place the file in the Sheets folder you created in step 3.

This directory structure will appear when a data shortcut project is created. A Documents folder is included as an example of other folders not related to Civil 3D that you might need in your project. The 1601_Project Checklist.docx and 1601_SheetSetTemplate.dst files will be copied automatically to each project you create from this template.

A completed version of this set of folders is in the dataset for your reference and is called 1601_MasteringC3D_FINISHED.

Setting a Working Folder and Data Shortcut Folder

You can think of the working folder as a project drive. The working folder can contain a number of projects, each with a data shortcut folder where the shortcut files reside.

In this exercise, you'll set the working folder and create a new project:

  1. Create a new blank drawing using the template of your choice.

    You won't save this file, but you do need to have a file open to see the Prospector tab of Toolspace. You need to complete the previous exercise before beginning this one.

  2. From the Manage tab 1 Data Shortcuts panel, click Set Working Folder to display the Browse For Folder dialog, as shown in Figure 16.2.
    Screenshot of Browse for Folder dialog with cursor pointing the expanded Mastering folder node. Behind it is a snippet image of the Manage tab with another cursor pointing the Set Working Folder button.

    Figure 16.2 Creating a new working folder.

  3. In the Browse For Folder dialog, on Local Disk (C:), browse to the Mastering folder you created for your course files.
  4. With the Mastering folder highlighted (as shown in Figure 16.2), click OK.
  5. From the Manage tab 1 Data Shortcuts panel, click New Shortcuts Folder to display the New Data Shortcut Folder dialog, shown in Figure 16.3.
    Screenshot of the Manage tab section with the New Shortcuts Folder selected on the Data Shortcuts panel. A New Data Shortcut Folder dialog box is displayed at the right side highlighting Mastering Civil 3D.

    Figure 16.3 Creating a new shortcut folder.

  6. In the New Data Shortcut Folder dialog, type _North River Crossing for the Name field and click the Use Project Template check box.
  7. Select the MasteringCivil3D2016 folder from the list, as shown in Figure 16.3, and click OK to dismiss the dialog.

    Notice that the Data Shortcuts branch in Prospector now reflects the path of the project you just created, as shown in Figure 16.4.

    Image described by caption and surrounding text.

    Figure 16.4 The Data Shortcuts area listed in Prospector.

If you open Windows Explorer and navigate to C:Mastering\_North River Crossing, you'll see the folders from the MasteringCivil3D project template plus a special folder named _Shortcuts, as shown in Figure 16.5. This folder is created for the data shortcut XML files. When a data shortcut is defined, an XML file containing the path, drawing name, and originating object name is placed in this folder.

Snippet image of a tree in Windows Explorer presenting folder in Local Disk (C:) with arrows labeling the Working Folder, Data Shortcut Folder, and Location where Civil 3D places data shortcut XML files.

Figure 16.5 Your new project shown in Windows Explorer. Mastering is the working folder; _North River Crossing is the data shortcut folder.

In business, your working folder and data shortcuts folder should be on a network drive. If you have an established workflow for creating project folders and don't really need to use the Civil 3D project template, you can do the following:

  1. Manually create a folder named _Shortcuts in your preferred location in your project folder structure.

    This folder must be at least two levels deep in your directory structure.
    image

  2. On the Manage tab 1 Data Shortcuts panel, click Set Working Folder and select a folder two levels above the _Shortcuts folder.
    image
  3. On the Manage tab 1 Data Shortcuts panel, click Set Shortcuts Folder and select the folder that is displayed in the Set Data Shortcut Folder dialog, as shown in Figure 16.6.
    Screenshot of the Set Data Shortcut Folder dialog box with a highlighted folder name: _North River Crossing.

    Figure 16.6 Select the folder that contains your manually created _Shortcuts folder in the Set Data Shortcut Folder dialog.

    This dialog will display only folders that contain a _Shortcuts subfolder.

Creating Data Shortcuts

With a shortcut folder in place, it's time to use it. In this exercise, you'll publish data shortcuts for the alignments and layout profiles in your project:

  1. Open the 1602_ExistingSurface.dwg (1602_ExistingSurface_METRIC.dwg) file, which you can download from this book's web page.

    This drawing contains points and an existing ground surface. You need to have completed the previous exercise before continuing.

  2. From the Application menu, click Save As, and save a copy of this drawing to C:Mastering\_North River CrossingSurvey.
    image
  3. From the Manage tab 1 Data Shortcuts panel, click Create Data Shortcuts.

    Because the drawing was previously associated to another project, you are presented with a Create Data Shortcuts – Current Project dialog notifying you of this. To continue, you must associate this drawing to the _North River Crossing project.

  4. Click Close to dismiss the dialog.
  5. Right-click the Data Shortcuts branch of the Prospector and click Associate Project To Current Drawing.
  6. Click OK to accept the defaults in the Associate Project To Current Drawing dialog.
  7. Again, from the Manage tab 1 Data Shortcuts panel, click Create Data Shortcuts.
  8. In the Create Data Shortcuts dialog, place a check mark next to Existing Surface, as shown in Figure 16.7, and click OK.
    Screenshot of the Create Data Shortcuts displaying three columns: Object, Status, and Description. Existing Surface on object is highlighted with status: To be added. Th e OK button is highlighted below.

    Figure 16.7 Adding surface data to data shortcuts.

  9. Save and close the current drawing file.
  10. Open the 1602_Alignments-Profiles.dwg (1602_Alignments-Profiles_METRIC.dwg) file from your class data.

    This file contains five alignments that you will add to the data shortcut project.

  11. From the Application menu, click Save As, and save a copy of this file to C:Mastering\_North River CrossingDesign.
  12. Repeat steps 5 and 6 to reassociate the drawing to the _North River Crossing project.
  13. From the Manage tab 1 Data Shortcuts panel, click Create Data Shortcuts.
  14. In the Create Data Shortcuts dialog, place a check mark next to the Alignments collection, which will select all the alignments and profiles if any exist (as shown in Figure 16.8), and click OK.
Screenshot of Create Data Shortcuts dialog with check marks in all check boxes under Alignments node.

Figure 16.8 Adding alignment data to the pool of data shortcuts.

You should now have surfaces and alignments available for use in the data shortcuts list in Prospector, as shown in Figure 16.9. Notice in Figure 16.9 how highlighting the data shortcut in the list reveals the source location at the bottom of Toolspace.

Screenshot of the list of 3D data shortcuts with Existing Surface selected and a Source File Name and Location at the bottom.

Figure 16.9 List of Civil 3D data shortcuts available to the current project.

Keep 1602_Alignments-Profiles.dwg (1602_Alignments-Profiles_METRIC.dwg) open for the next exercise.

Creating a Data Reference

Now that you've created the shortcut files to act as pointers back to the original drawing, you'll use them in other drawings. In this section, you will create and use data references.

image
Data references are made using the Data Shortcuts branch within Prospector. In this exercise, you'll create a reference to the surface you previously shared to the project.

You need to have completed the previous exercises to continue.

  1. Keep working in 1602_Alignments-Profiles.dwg (1602_Alignments-Profiles_METRIC.dwg).
  2. In Toolspace, expand the Prospector 1 Data Shortcuts 1 Surfaces collection, right-click Existing Surface, and select Create Reference, as shown in Figure 16.10.
    Snippet of similar image in figure 16.9 but with a right-click menu presenting Create Reference and a Create Surface Reference dialog listing Information properties and values.

    Figure 16.10 The Create Surface Reference dialog.

  3. In the Create Surface Reference dialog, leave all surface options at their defaults and click OK. Zoom extents to view the surface.
  4. Save the current drawing and keep it open for the next exercise.

    You should now see the surface in the drawing. At first glance, it does not look different from other surfaces you've worked with within Civil 3D. If you examine the Surfaces branch of Prospector, however, you'll see that there is no Definition collection (as shown in Figure 16.11). You cannot edit a surface or any other object that is data referenced. If a change needs to be made to Existing Surface, you would need to open the drawing file where it was originally created.

    Snippet image of a data tree for the folder 1602_ Alignments-Profiles with a surface displayed at the right side of the image.

    Figure 16.11 You can see and use the surface, but you cannot add to or edit the surface definition.

    Any changes to the surface will be communicated through the data shortcut to the drawings where it is referenced. If the drawing is open when a data-referenced source file has been changed, a bubble message will pop up to inform the user that the item must be synchronized to view the most up-to-date information. If a recipient drawing is closed at the time the change takes place, all data references will automatically be synchronized as the file opens.

    In the next part of the exercise, you will use the skills you learned in Chapter 7, “Profiles and Profile Views,” to create an existing ground profile and a design profile. After you have all the information, you will use skills from Chapter 9, “Basic Corridors,” to put the information together. You need to have completed the previous exercises to continue.

  5. Keep working in 1602_Alignments-Profiles.dwg (1602_Alignments-Profiles_METRIC.dwg).
  6. Select the ROAD A alignment.
    image
  7. In the Alignment contextual tab 1 Launch Pad panel, click Surface Profile.
  8. In the Create Profile From Surface dialog, do the following:
    1. Click Add.
    2. Click Draw In Profile View.
  9. In the Create Profile View dialog, click Create Profile View, and click to place the profile view anywhere in the drawing to the right of the surface.
    image
  10. Select the profile view. From the Profile View contextual tab 1 Launch Pad panel, click Profile Creation Tools.
  11. In the Create Profile – Draw New dialog, name the new profile FG-ROAD A.
  12. Set Profile Style to Design Profile and click OK.
    image
  13. From the Profile Layout Tools, click Insert PVIs Tabular.
  14. Enter the data for your unit system, as shown in Figure 16.12; then click OK.
    Image described by caption.

    Figure 16.12 Profile data Imperial (left) and Metric (right).

    You can close the Profile Layout Tools toolbar when finished.

  15. Save the drawing.
    image
  16. From the Manage tab 1 Data Shortcuts panel, click Create Data Shortcuts.
  17. Place a check mark next to Profiles, as shown in Figure 16.13, and click OK.
    Screenshot of the Create Data Shortcuts presenting check marks in check boxes for Profiles, Existing Surface-ROAD A, and FG-ROAD A.

    Figure 16.13 Adding additional drawing data to the data shortcut project.

    The alignments that you added earlier are listed but are grayed out. Once you add an item to the Data Shortcut list, you do not need to add it again. Only new data will be added to the list of data shortcuts. Shown in gray will be the list of items that are already published as data shortcuts. If you find the list of already published items distracting, you can hide all of the published items by clicking the Hide Already Published Objects check box at the bottom of the dialog.

  18. Save and close 1602_Alignments-Profiles.dwg (1602_Alignments-Profiles_METRIC.dwg).
  19. From your class files, open 1603_Corridor.dwg (1603_Corridor_Metric.dwg).
  20. From the Application menu, click Save As, and save the drawing to C:Mastering\_North River CrossingDesign.
  21. From the Prospector tab of Toolspace, expand the Data Shortcuts branch and then expand Surfaces.
  22. Right-click Existing Surface and click Create Reference.
  23. In the Create Surface Reference dialog, leave all default settings and click OK.
  24. From the Prospector tab of the toolbar, expand the Data Shortcuts branch and then expand Alignments 1 Centerline Alignments 1 ROAD A 1 Profiles.
  25. Right-click FG-ROAD A and select Create Reference, as shown in Figure 16.14.
    Screenshot of a right-click menu of FG-ROAD A, which is highlighted in data tree.

    Figure 16.14 Creating a data reference to a profile will automatically create a data reference for its alignment.

  26. In the Create Profile Reference dialog, change Profile Style to Design Profile and click OK.

    If you zoom extents in the drawing, you should see the alignment and existing surface.

    The profile data is referenced but is not currently visible. If you wanted to, you could create a profile view. However, you do not need the profile to be visible to create a corridor.

  27. From the Home tab 1 Create Design panel, click Corridor. In the Create Corridor dialog, do the following:
    1. Name the corridor ROAD A.
    2. Verify that the alignment is set to ROAD A.
    3. Verify that the profile is set to FG-ROAD A.
    4. Set the assembly to Basic Assembly.
    5. Set Target Surface to Existing Surface.
    6. Clear the check box for Set Baseline And Region Parameters.
    7. Click OK.
    8. Close the Panorama before proceeding.
  28. After the corridor builds successfully, save and close the drawing; you will come back to it later.

Updating References

When you need to make a change, you can use the tools in the Data Shortcut menu to jump back to that file, make the changes, and refresh the reference.

  1. If it is not open from the exercise in “Creating Cross-Section Sheets in Their Own Drawing,” open the file 1604_Sections.dwg.

    Ideally, you saved it to C:Mastering\_North River CrossingSheets.

  2. Keep this drawing open and also open the file 1603_Corridor.dwg.
  3. In Prospector, expand Data Shortcuts 1 Surfaces.
  4. Right-click Existing Surface and select Open Source Drawing, as shown in Figure 16.15.
    Screenshot of a right-click menu with for Existing Surface option with Open Source Drawing command highlighted.

    Figure 16.15 Open Source Drawing is a fast way to jump to the drawing you want.

    At this point, you should have three drawings open (1602_ExistingSurface, 1603_Corridor, and 1604_Sections; or, 1602_ExistingSurface_METRIC, 1603_Corridor_METRIC, and 1604_Sections_METRIC if metric). You can use the tabs across the top of the screen to switch drawings. You can also use the Quick View Drawings button at the bottom of the AutoCAD window to switch between open drawings.

    The 1602_ExistingSurface.dwg (1602_ExistingSurface_METRIC.dwg) file should be active and ready to make updates. Remember that the surface is read-only in all other project files; this is the only drawing in which changes can be made to the surface.

    In this drawing, you will add polyline contours to the surface definition. The change to the surface will affect all drawings where the surface is used as a data reference. The dynamic communication between drawings shows the power of the Data Shortcut tool.

  5. Select the surface in the drawing window.
    image
  6. On the contextual ribbon 1 Modify panel 1 Add Data tool, select Contours.
    1. In the Add Contour Data dialog, under Description, enter Mound and click OK.
    2. In the drawing window, select the green polyline contours with a crossing selection box.
    3. Press Enter when finished.
  7. Save and close 1602_ExistingSurface.dwg (or 1602_ExistingSurface_METRIC.dwg).
  8. Switch drawings so that 1603_Corridor.dwg (1603_Corridor_METRIC.dwg) is the active drawing.

    Shortly after bringing this drawing to the forefront, you should see an alert symbol appear on the external reference icon on the status bar indicating that data shortcut definitions may have changed, as shown in Figure 16.16.

    Snippet image of a toolbar with an arrow pointing the Message notification icon.

    Figure 16.16 Civil 3D will send the user a message when a data-referenced object has changed.

  9. Right-click and click Synchronize.
    image

    In some situations, you see a warning symbol in the Prospector. In that case, you can always synchronize directly from the right-click menu of the referenced object, as shown in Figure 16.17.

    Screenshot of the right-click menu of Existing Surface with Synchronize command highlighted.

    Figure 16.17 Synchronizing from the object's right-click menu.

    You may receive a message in Panorama indicating that the item was synchronized.

  10. Dismiss this message by clicking the green check box.

    The surface that changed is used as a target in the corridor; therefore, the corridor needs to be rebuilt.

  11. Expand Prospector 1 Corridors, right-click the ROAD A corridor and select Rebuild.
  12. Save and close 1603_Corridor.dwg (1603_Corridor_METRIC.dwg).
  13. Switch to 1604_Sections.dwg if it is not already current.
    image

    This time, you will receive a message that your external reference file has changed, as shown in Figure 16.18. If you accidentally dismiss this message without updating, a warning symbol will remain in the tray area at the bottom of your screen. You can always right-click to reload the reference from this icon.

    Image described by surrounding text.

    Figure 16.18 Reload the external reference to ensure your cross sections reflect the design update.

  14. Zoom to the section view at station 16+00 (0+300 if metric) and take a look at the section line representing Existing Surface.
  15. Click Reload 1603_Corridor or 1603_Corridor_METRIC if metric in the External References dialog.

    Your sections should now reflect all the design changes. If you receive a message regarding unreconciled layers, click the X to dismiss it.

  16. Save and close all drawings.

You can find a completed version of the project folder with updates with this chapter's dataset. The folder is called _North River Crossing.

Fixing Broken References and Drawing Associations

A broken reference is fairly easy to fix, but you will not be able to continue working in your design until broken references are resolved.

Actions that will cause broken references include the following:

  • Renaming a source file
  • Moving a source file
  • Missing a source file
  • Renaming project folders

In the following exercise, you will associate drawings that have been renamed to a project that has been renamed and fix the broken data references that you find. You do not need to have completed the previous exercises to continue.

  1. Using Windows Explorer, locate the folder called _Broken Reference.

    This is part of the download for this chapter at the book's web page.

  2. Copy this folder and its contents to C:Mastering.
  3. Open the 1605_Corridors.dwg file, located in C:Mastering\_Broken ReferenceDesign.

    This file contains a number of references pointing to files that have been renamed. Panorama may appear with the messages regarding the problems that it found.

  4. If it's open, close the Panorama window by clicking the green check mark.
  5. On the Manage tab 1 Data Shortcuts panel, click Set Working Folder:
    1. Set the working folder to C:Mastering. Even if this is already the current working folder, the data shortcuts list will update by selecting the folder again.
    2. Click OK to close.
  6. On the Manage tab 1 Data Shortcuts panel, click Set Shortcuts Folder:
    1. Select _Broken Reference.
    2. Click OK to close.
  7. In Prospector, locate the Data Shortcuts branch and expand Surfaces.

    Because the Shortcuts project folder was renamed, the shortcuts in the project need repairing.

  8. Under the Data Shortcuts branch in the Prospector, right-click Existing Surface and click Repair Broken Shortcut.
  9. In the Choose The File Containing The Referenced Object dialog, browse to the 1605_ExistingSurface.dwg file in the C:Mastering\_Broken ReferenceSurvey folder and click Open.
  10. In Prospector, expand Data Shortcuts branch 1 Alignments 1 Centerline Alignments.
  11. For ROAD A, right-click and click Repair Broken Shortcut.
  12. In the Choose The File Containing The Referenced Object dialog, browse to the 1605_Alignments-Profiles.dwg file in the C:Mastering\_Broken ReferenceDesign folder and click Open.
  13. In the Additional Broken Shortcuts dialog, click Repair All Broken Shortcuts.
  14. Back up in the drawing collection in Prospector, expand Alignments 1 Centerline Alignments. You will see that next to ROAD A is a warning chevron.
  15. Right-click ROAD A and select Repair Broken References, as shown in Figure 16.19.
    Screenshot of the right-click menu of ROAD A Centerline Alignment with cursor pointing the Repair Broken References command.

    Figure 16.19 Choosing Repair Broken References.

    After fixing the first broken reference, if more broken references exist, you will be prompted to fix them in the Additional Broken References dialog, shown in Figure 16.20.

    Screenshot of the Additional Broken References prompt with an option Repair All Broken References.

    Figure 16.20 The Additional Broken References message.

  16. Click Repair All Broken References.
  17. Close the current drawing. You may save it, but you will not need it for additional exercises.

The ability to repair broken links helps make file management a bit easier, but there will be times when you need to completely change the path of a shortcut to point to the correct file. To do so, you must use the Data Shortcuts Editor.

The Data Shortcuts Editor

A Civil 3D drawing stores links to the information it uses in its database. The Data Shortcuts Editor is used to update or change the file to which a shortcut points. You may want to do this when preparing a deliverable.

In the following exercise, you'll copy the current chapter project to another folder and update the data shortcut paths with the Data Shortcuts Editor (the procedure is the same for both metric and Imperial units):

  1. Using Windows Explorer, locate the folder called _Deliverable.

    This is part of the download for this chapter at the book's web page.

  2. Copy this folder and its contents to C:Mastering, as shown in Figure 16.21.
    Snippet image of the data tree for Computer presenting the folder _Deliverable under Mastering folder.

    Figure 16.21 Simulating a new project phase by copying the example project to a new folder.

    Next, you will open the Data Shortcuts Editor to correct the file paths in the _Deliverable version.
    image

  3. In Windows, choose Start 1 All Programs 1 Autodesk 1 Autodesk AutoCAD Civil 3D 2016 – English and click the Data Shortcuts Editor to load it.
  4. Select File 1 Open Data Shortcuts Folder to display the Browse For Folder dialog.
  5. Browse to C:Mastering and, with the _Deliverable folder highlighted, click OK.

    Your Data Shortcuts Editor should resemble Figure 16.22.

    Screenshot of the Data Shortcuts Editor - c:mastering\_deliverable window with a highlighted shortcut: AeccDbSurfaceTin. 8 Shortcuts are displayed on the box.

    Figure 16.22 Inside the Data Shortcuts Editor.

    Several things need to be changed before the new phase of the project can begin. Some of the data references are looking for the incorrect file.

    Notice that the Path column of the table still refers to the old path. To make a clean break from the old project to move forward into the Submitted version, you need to change all these.

  6. Click to set your cursor into the Path field for Existing Surface.
    image
  7. Choose Find And Replace.

    Unfortunately, there is no browse option here, but you can use the basic Windows Copy and Paste tools to make this a little easier.

  8. Delete Survey from the Find field and then copy the path to the clipboard.
  9. Paste the path into the Replace With field.
  10. In the Replace With field, replace the text _Another Project with _Deliverable, as shown in Figure 16.23.
    Screenshot of Replace tab of Find and Replace dialog presenting Find and Replace With file locations.

    Figure 16.23 Updating the paths to the new project.

  11. Click Replace All.

    Your data shortcut paths are now correct (as shown in Figure 16.24) and ready for more action. Click Cancel to close the Find And Replace tool.

    Snippet image of a table with two columns listing eight object names and their paths.

    Figure 16.24 Updated paths.

  12. Click Cancel to close the dialog.
  13. Click the Save icon to commit your changes.
  14. You can now close the Data Shortcuts Editor and return to Civil 3D.

Sharing Data with a Non–Civil 3D World

Not everybody uses Civil 3D 2016, so you need to know how to convert your drawing files and extract your design data for those people who are using previous versions of AutoCAD or different land development software.

Delivering DWG Formats

Files created in Civil 3D 2016 are backward compatible to Civil 3D 2014. Currently, these are the only two versions that will work together without losing significant amounts of data. Even though Civil 3D 2014 was said to be backward compatible with Civil 3D 2013, it is not advisable to use them together.

The Save As command can be misleading for Civil 3D users. Keep in mind that the Save As command works only on AutoCAD objects such as lines, arcs, and circles—not Civil 3D objects. To save to a version of Civil 3D 2012 or prior, you will need to use the Application menu 1 Export 1 Export Civil 3D Drawing. This is a new command in Civil 3D 2016. The result will be exploded Civil 3D objects.

In the following exercise, you will export a Civil 3D 2016 corridor model to an AutoCAD 2010 file format:

  1. Open C:Mastering\_North River CrossingDesign1603_Corridor.DWG.

    For this exercise, you need to have completed the _Deliverable data shortcut project earlier in the chapter.

  2. From the Application menu, click Export 1 Export Civil 3D Drawing.
  3. In the Export AutoCAD Civil 3D Drawing dialog, click the Export Settings button.
    1. Under DWG File Version, select 2010 from drop-down menu.
    2. Click OK to close.

    Note the settings for the treatment of external references.

  4. Under Files To Export, click Selected Drawings In Source Folder and select the check box next to Include Drawings In Subfolders.
  5. On the right side of the dialog under Source Folder, click the ellipsis button next to the field.
    1. In the Browse For Folder dialog, select the _Deliverable folder.
    2. Click OK to close the dialog.
  6. Under Destination Folder, click the ellipsis button next to the field.
    1. In the Browse For Folder dialog, select the _Deliverable folder.
    2. Click the Make New Folder button at the bottom of the dialog.
    3. For the new folder name, type 2010 DWG Files.
    4. Click OK to close the dialog.
  7. Uncheck the check box next to Include Sheets. Leaving it filled will export the layouts as separate drawing files.

    The Export AutoCAD Civil 3D Drawing dialog should look like Figure 16.25.

    Screenshot of Export AutoCAD Civil 3D Drawing dialog. Export file type is set to AutoCAD DWG, External DWG References to Bind and Insert, and Files to Export to Selected Drawings in Source Folder.

    Figure 16.25 Export AutoCAD Civil 3D Drawing dialog, a new feature in Civil 3D 2016.

  8. Click Export.

    The export may take a few minutes.

  9. When the Export Status dialog reads 4 Of 4 Files Exported, click OK to close even though the green progress bar is still animated.
  10. Click Cancel to close the Export AutoCAD Civil 3D Drawing dialog.
  11. Open C:Mastering\_Deliverable2010 DWG FilessurveyACAD-1602_ExistingSurface-Model.dwg (ACAD-1602_ExistingSurface_METRIC.dwg if metric).

    As the file opens, the command line will echo Opening An AutoCAD 2010/LT 2010 Format File.

  12. Click a contour.

    This export command will explode all objects to AutoCAD entities. The contour is now a polyline and has taken on the layer assigned to it through the style once assigned to it. It also forces color, linestyle, lineweight, and any properties overrides in the styles to the resulting entities.

  13. Press Esc to deselect the contour.
  14. Close the drawing without saving. You don't want to upgrade the file format.
  15. Close all the drawings.

Compare the content of your 2010 DWG Files folder with the contents of the 2010 DWG Files_FINISHED folder, which can be downloaded from the book's website.

Using LandXML

LandXML is not specific to Civil 3D. It is a file format that allows users to share data in a nonproprietary format. You can use LandXML to archive projects and to send information to non–Civil 3D users or users of Civil 3D using 2012 or earlier.

A drop-down in the Import LandXML dialog lets you select the version of LandXML. This is a result of that consortium. The latest, as of this writing, is the 1.2 schema. Most CAD programs have methods of importing and exporting LandXML files, and this is one way to tackle that barrier.

Alas, the need to send data to older versions of Civil 3D is not always avoidable. In the following exercise, you will step through an example of what needs to happen to force Civil 3D to previous versions:

  1. Open 1606_LandXML-OUT.dwg (1606_LandXML-OUT_METRIC.dwg), which can be found at this book's web page.
    image
  2. From the Output tab 1 Export panel, select Export To LandXML.

    The Export To LandXML dialog, shown in Figure 16.26, opens.

    Screenshot of Export to LandXML dialog presenting data tree of Point Groups, Surfaces, and Alignments. Each component has a check mark in each check box.

    Figure 16.26 The Export To LandXML dialog.

  3. Click OK.
  4. In the Export To LandXML dialog, browse to the same folder as the source drawing.
  5. Keep the default name (the dialog will pick up the name of the drawing you are exporting from) and click Save.

    You now have as much Civil 3D as possible packed up into the LandXML file. This file contains the following:

    • Alignments
    • Point groups and points
    • Surfaces
    • Profiles
    • Pipe data

    If you are ever sent a LandXML file, you will need to import the contents into a file created from your Civil 3D template.

  6. Create a new drawing using the template of your choice.
  7. On the Insert tab 1 Import panel, click LandXML.
  8. In the Import LandXML dialog, browse for and select the XML file you created in steps 4 and 5; click Open.

    Figure 16.27 shows the Import LandXML dialog.

    Screenshot of Import to LandXML dialog. Alignments Site is set to None and Parcels Site to Site 1. A data tree below has check marks in each check boxes for listed parameters.

    Figure 16.27 Importing LandXML data.

  9. Click OK.
  10. Dismiss Panorama if it's open.
  11. Browse Prospector for the data that was imported.

    At this point you could change styles and apply label styles to certain objects.

  12. Save and close the drawing.

You can find completed versions of the resulting file after LandXML import with this book's dataset. Compare your work with 1606_LandXML-IN_FINISHED.dwg or 1606_LandXML-IN_METRIC_FINISHED.dwg.

The Bottom Line

  1. Create a data shortcut folder. The ability to load design information into a project environment is an important part of creating an efficient team. The main design elements of the project are available to the data shortcut mechanism via the working folder and data shortcut folder.
    1. Master It Using the MasterIt1601.dwg (MasterIt1601_METRIC.dwg) drawing, create a new data shortcut folder called MasterIt. Use the _Sample Project project template.
  2. Create data shortcuts. To allow sharing of the data, shortcuts must be made before the information can be used in other drawings.
    1. Master It Continue working in the drawing from the previous “Master It” exercise. Save the drawing to the Source Drawings folder in the Master Data Shortcuts project you created in the previous exercise. Create data shortcuts to all the available data in the MasterIt1601.dwg (MasterIt1601_METRIC.dwg) file.
  3. Export to earlier releases of AutoCAD. Being able to export to earlier base AutoCAD versions is sometimes necessary.
    1. Master It Using MasterIt1601.dwg (MasterIt1601_METRIC.dwg), export the Civil 3D file so it can be used by a user working in base AutoCAD 2010.
  4. Export to LandXML. Being able to work with outside clients or even other departments within your firm that do not have Civil 3D is an important part of collaboration.
    1. Master It Using MasterIt1601.dwg (MasterIt1601_METRIC.dwg), create a LandXML file with all of the exportable information.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.80.45