Share

Samples for Dynamo for Autodesk Civil 3D

Learn about the samples installed with Dynamo for Autodesk Civil 3D.

Dynamo for Autodesk Civil 3D provides several sample graphs that automate workflows in Civil 3D. The following Dynamo graphs and supporting files are provided to learn and understand how Dynamo automates workflows for efficiency. They are installed in the following folders by default:

  • Dynamo Graphs. C:\ProgramData\Autodesk\C3D < product year >\Dynamo\Samples\en-US
  • Drawings and associated files. C:\ProgramData\Autodesk\C3D < product year >\Dynamo\Samples\Data
  • API Dynamo Samples and files. C:\ProgramData\Autodesk\C3D < product year >\Dynamo\API Samples
Sample graph name Description
AutoCAD_AddPropertySetByDefinition.dyn Attaches property sets to block references and updates the property values.
AutoCAD_BufferAroundObject.dyn Creates an offset buffer hatch around polylines and determines if any block references are within the buffer.
AutoCAD_RunScriptCommandToChangeLayers.dyn Changes the layers of multiple objects. Can be run from the AutoCAD command line.
AutoCAD_SetBlockElevationByAttribute.dyn Sets the elevation of block references based on the value of an attribute.
Python_CreatePropertySetDefinitionFromJSON.dyn Creates property set definitions from a JSON file using a Python script.
Python_DumpPropertySetDefinitionsToJSON.dyn Exports property set definitions to a JSON file using a Python script.
Python_DumpPropertySetValuesToCSV.dyn Exports property set values to a CSV file using a Python script.
Python_UpdatePropertySetValuesFromCSV.dyn Updates existing property set values from a CSV file using a Python script.
Civil3D_AddAnnotationAlongAlignment.dyn Add annotations along an alignment at stations defined in an external file.
Civil3D_AddTextAndCircleAlongCorridorFeatureLine.dyn Annotates specific points in corridor sections with the elevation of the point and a circle marker.
Civil3D_BuildingPadFeatureLines.dyn Sets the elevations of feature line PI points from a CSV file.
Civil3D_CorridorCounterfortWall.dyn Creates counterfort retaining wall elements at regular spacing along both sides of a corridor.
Civil3D_CreateCorridor.dyn Creates a corridor model with a single baseline and sets its targets.
Civil3D_CreateSurfaceFromCSV.dyn Creates a TIN surface from point data in a CSV file.
Civil3D_DaylightSlopePattern.dyn Draws a slope pattern derived from feature lines along the daylight area of a corridor.
Civil3D_DrapeLineworkOnSurface.dyn Creates 3D polylines from 2D linework by draping on a surface.
Civil3D_ExportCorridorFeatureLines.dyn Exports corridor feature line data to a CSV file.
Civil3D_FenceFromFeatureLine.dyn Creates a 3D fence from a feature line.
Civil3D_InletsAtProfileLowPoints.dyn Creates inlet structures at profile low points and adds them to profile views.
Civil3D_MultiLayerSolids.dyn Creates multiple 3D solids with different thicknesses from a TIN surface.
Civil3D_ReadAndWriteSubassemblyParameters.dyn Reads subassembly parameters from a corridor, exports subassembly parameters to a CSV file, and changes the parameters of applied subassemblies.
Civil3D_SplitCorridorSolid.dyn Splits corridor solids into segments of a defined length.
Civil3D_ViewportsAlongAlignment.dyn Creates viewports along an alignment with configurable size and spacing.
About Dynamo Player Displays a message with information about Dynamo Player.
Calculate Total Length of Selected Lines.dyn Calculates the total length of selected linework objects.
Create Multiple Offset Curves.dyn Creates multiple offset curves from a selected object.
Hatch Areas Table Creates a summary table with the areas of all hatches in model space.
Label Blocks with Multileaders Creates a multileader with the name of a block for each of its instances.
Rotate Structures Along Alignment Sets the rotation of pipe network structures to match the direction of an alignment.
Update Layout Names to Uppercase.dyn Updates all layout names in the current document UPPERCASE.
Update Style for Multiple Objects.dyn Updates the style for all civil objects of a selected type.

Was this information helpful?