Professional Documents
Culture Documents
Visual Basic
Visual Basic
Upload Log in
Search
312
Legal Disclaimer 2
Autodesk may make statements regarding planned or future development efforts for our
existing or new products and services in this document. These statements are not intended
to be a promise or guarantee of future delivery of products, services or features but merely
reflect our current plans, which may change. Purchasing decisions should not be made
.based upon reliance on these statements
Agenda New API in Civil 3D 2008 (Beta) Overview of Civil 3D API Points 3
Surfaces
Parcels
Alignments
Profiles
Sections
Survey
Piping
!New
Before any coding begins, this ActiveX programming interface requires references to
:automation type libraries as follows
:If referencing Roadway objects, then additional references must be added as follows
VB users can get the AeccApplication object through an instance of the AutoCAD.Application
:object
AeccPoint Object in Civil 3D encapsulates a COGO point object, with associated information
.such as elevation, marker display styles, etc
.To create a new point with the given location use Add() method of AeccPoints Collection
oPoint.Elevation = 100
To import points into Civil 3D from ASCII (text) file or a Microsoft Access database (.mdb)
.file, use the ImportPoints() method
getCivilObjects
options.ExpandCoordinateData = True
End Sub
.Note -1. This method will fail if you don't specify a supported FileFormatName
Note -2. When you add points using the ImportPoints method, it is possible that the point
Numbers will conflict with those that already exist in the drawing. In such cases, the user is
given
an option to renumber the point numbers from the file, or to cancel the operation which will
result
with a Visual Basic error. An application that uses ImportPoints should take this into
.account
oImportOptions.PointDuplicateResolution = aeccPointDuplicateOverwrite
The second parameter of the ImportPoints and ExportPoints methods is a string that
describes how the point values are stored in the file. The following table lists some
commonly available file formats. Custom formats can be created by using the Point File
.Format dialog box
oPtGroup.QueryBuilder.IncludeNumbers = oPoint3.Number
You can also use wildcards. The following would select all points with a ‘ name beginning '
."with "pol
"*oPtGroup.QueryBuilder.IncludeNames = "pol
"oPtGroup.QueryBuilder.ExcludeElevations = ">300
And include those points with identification numbers 100 through 200 '
Points can be placed into a point group by using the QueryBuilder, which is a mechanism for
selecting from among all the points in the document. The AeccPointGroup.QueryBuilder
property is an object of type AeccPointGroupQueryBuilder, and contains many different
.properties that allow including or excluding points based on a specific criteria
Surfaces 11
Surfaces are basic building blocks in Autodesk Civil 3D. A surface is a three-dimensional
geometric representation of the surface of an area of land, or, in the case of volume
surfaces, is a difference or composite between two surface areas. Points or contours are
usually a primary part of the original surface information and are supplemented with
breaklines and boundaries. Breaklines are constraint lines, such as retaining walls, stream
.banks and beds, ridge lines, curbs, and other abrupt changes in the surface
Surfaces 12
.AddTinSurface() method creates a new TIN surface using the specified creation data
"oTinSurfaceData.Name = "adsk_EG
oTinSurface.DefinitionProperties.UseAddPoint = True
)oTinSurface.PointFiles.Add (sPointFile
oTinSurface.DefinitionProperties.ExcludeElevationsLessThan = True
oTinSurface.DefinitionProperties.LowerElevation = 100
oTinSurface.Rebuild
End If
End Sub
We can create an empty TIN surfaces by adding it to the document’s collection of surfaces
through the AeccSurfaces.AddTinSurface method. This method requires preparing an object
of type AeccTinCreationData. It is important to specify every property of the
.AeccTinCreationData object to avoid errors
Using AeccSurfaces:: ImportXML() Method we can add a LandXML surface data file to create
.a new Surface (AeccSurface) in Civil 3D
"sFileName = “D:\My_Temp\EG.xml
End If
A surface saved as a LandXML file can be loaded using the AeccSurfaces.ImportXML method.
The file also describes the kind of surface that will be created, so you do not need to know
beforehand. After the surface has been loaded, you can examine the AeccSurface.Type
.property and assign the generic surface reference to a more specific type
)"oTinSurface.DEMFiles.Add("D:\Temp_Test\file1.dem
oTinS.Rebuild
Any number of DEM files can be added to existing grid and TIN surfaces. When a DEM file is
added to the AeccGridSurface.DEMFiles or AeccTinSurface.DEMFiles collection, its
information is converted to an evenly spaced lattice of triangles which is added to the
.surface
Surfaces 15
.Use AeccTinVolumeSurface to perform a volume calculation i.e. cut & fill quantities
"oTinVolSurfData.Name = "adsk_TinVol
CutVol = oTinVolSurface.Statistics.CutVolume
FillVol = oTinVolSurface.Statistics.FillVolume
NetVol = oTinVolSurface.Statistics.NetVolume
We can create a 3dPolyline between two selected points on the surface along with a
LWPolyline. Viewing them together in an Object Viewer will show the actual surface profile
between the selected points. Use the SampleElevations function to get the point array
.between two selected points on the surface
End If
For a given StartPoint and EndPoint, returns an array of doubles consisting of points
.(northing, easting, elevation) derived from the surface along the line
Parcels 17
AeccParcel objects in Autodesk Civil 3D are typically used to represent real estate parcels,
such as lots in a subdivision. Parcel objects can also represent other features with closed
.boundaries, such as bodies of water and soil regions
Sites 18
All sites in a document are held in the AeccDocument.Sites collection, an object of type
.AeccSites. The AeccSites.Add method will create a new empty site with the specified name
.Site objects are used as containers for - parcels, alignments, gradings, and feature lines etc
Examples of sites include soil maps, watersheds, or subdivisions. Sites can geographically
overlay each other - For example, a soils map and a subdivision with roads and lots can
.overlay each other, but remain independent of each other
Parcels 19
To create a Parcel, we need to access an existing AeccSite object and next start creating
AeccParcelSegment objects for each side of the parcel boundary. Use properties of
AeccParcelSegment objects like AddLine, AddCurve, etc to define the physical outline of the
.parcel
While a site contains a collection of parcels, this collection had no Add method. Instead,
parcels are automatically generated from the parcel segments added to the
AeccSite.ParcelSegments collection. A parcel segment is a 2-dimensional line, curve, or
AutoCAD entity. Once a closed structure can be formed from the segments in the site, a
parcel is automatically formed. Each additional parcel segment that forms new closed
structures will create additional parcels. This may affect the shape of existing parcels - if an
existing parcel is bisected by a new segment, the existing parcel is reduced in size and a new
.parcel is formed
Parcels - Settings 20
AeccSite site class has many essential properties which allows Set and Get these settings like
.- NextAutoCounterParcel , NextManualCounterParcel, NextAutoCounterParcelLine etc
Next
)Set oSite = g_oAeccDoc.Sites.Add(sSiteName
oSite.NextAutoCounterParcel = 20
oSite.NextManualCounterParcel = 20
oSite.NextAutoCounterParcelCurve = 20
oSite.NextAutoCounterParcelLine = 20
AeccSite site class has many essential properties which allows Set and Get these settings like
.- NextAutoCounterParcel , NextManualCounterParcel, NextAutoCounterParcelLine etc
AeccParcelStatistics Object encapsulates statistical data about the parcel, such as area and
.perimeter
If oSite.Parcels.Count = 0 Then
Exit Sub
Else
End If
AeccParcelStatistics Object encapsulates statistical data about the parcel, such as area and
.perimeter
Alignments 22
Alignment objects can represent centerlines, lanes, shoulders, right-of ways, or construction
baselines. Creating and defining the horizontal alignment is one of the first steps in roadway,
railroad, or site design. You can draw the alignment geometry as a polyline and create the
named alignment from that geometry, or create an alignment object using the Alignment
Layout Tools. You can also make edits to alignments using grips, or the commands on the
Alignment Layout Tools toolbar, while automatically maintaining tangency between the
.alignment components
You create alignments as a combination of lines, curves, and spirals that are viewed as one
.object
Alignments 23
We create alignments as a combination of lines, curves, and spirals that are viewed as one
object. Alignments can be stand-alone objects or the parent object of profiles, profile views,
and cross sections. If we edit an alignment, the changes are automatically reflected in any
.related objects
...Other methods
)(AddFreeCurve1
)(AddFloatingCurve1
)(AddFixedSpiral1
Alignments are usually created in existing sites. Each AeccSite object has its own collection
of alignments, held in an AeccAlignments object in the AeccSite.Alignments property. There
is also a collection of alignmnets that are not associated with a site in the
.AeccDocument.AlignmentsSiteless property – we shall talk about it shortly
An alignment is made up of a series of entities, which are individual lines, curves, and spirals
that make up the path of an alignment. A collection of entities is held in the
AeccAlignment.Entities collection. This collection has a wide array of methods for creating
.new entities
End Sub
.Add an offset alignment 10.0 units to the left of the original '
oAlignment.Offset -10.0
Alignments can also be created based on the layout of existing alignments. The
AeccAlignment.Offset method will create a new alignment with a constant offset and add it
.to the same parent site as the original alignment
The new alignment will have the same name (followed by a number in parenthesis) and the
same style as the original, but it will not inherit any station labels, station equations, or
.design speeds from the original alignment
End If
A station is a point along an alignment at certain distance from the start of the alignment. By
default the station at the start point of an alignment is 0 and increases contiguously through
its length. This can be changed by using station equations. A station equation is an object of
type AeccStationEquation which contains a location along the alignment, a new station
number basis, and a flag describing whether station values should increase or decrease from
that location on. A collection of these station equations is contained in the
.AeccAlignment.StationEquations property
Civil 3D Sample dwg file \Drawings\Align-3.dwg used to test the code sample'
oDesignSpeed.Value = 40
"oDesignSpeed.Comment = "Straightaway
oDesignSpeed.Value = 60
oDesignSpeed.Value = 45
"oDesignSpeed.Comment = "Curves start here
ZoomExtents
End If
– Civil 3D Sample dwg file \Drawings\Align-3.dwg used to test the code sample'
You can assign design speeds along the length of an alignment to aid in the future design of
a roadway based on the alignment. The collection of speeds along an alignment are
contained in the AeccAlignment.DesignSpeeds property. Each item in the collection is an
object of type AeccDesignSpeed, which contains a raw station value, a speed to be used
from that station on until the next design speed specified or the end of the alignment, and
.an optional string comment
Alignments can now be created outside of sites. The AeccDocument object contains a new
.property called AlignmentsSiteless which contains a collection of alignments
!New
If Alignments are placed on a site, they will interact with other objects on the site in two
: ways
If an alignment exists on a site with parcels, the alignment will subdivide any parcels it
.crosses over
If one or more alignments on a site form a closed region, a parcel will be created from the
.region
If you do not want an alignment to interact with other objects use this new object -
.AlignmentsSiteless while creating an Alignment
.Let us try to understand what is a Siteless Alignment. Explain the above slide
Profiles 30
There are two distinct Civil 3D entities when using Profiles, the Profile itself and the Profile
View. The Profile is the actual section cut through a surface or the proposed design profile
and has it's associated style and label style. The Profile View is the data surrounding the
display of the profile line - grids, axes, labels and desired band styles, which contain data on
.any side of the grid, horizontal / vertical geometry data etc
Exit Sub
End If
oProfile.Style.LineDisplayStyle2d.color = acRed
oProfile.Style.PVIPointDisplayStyle2d.color = acGreen
End If
oPVIs.Add , , aeccTangent
oPVIs.Add , , aeccTangent
oPVIs.Add , , aeccTangent
oPVIs.Add , , aeccTangent
AeccProfilePVIs Object -> For profiles, it is the collection of points where two tangent lines
.)meet (Points of Vertical Intersection
Sections 34
Typically, sections are cut across horizontal (plan) alignments at a specified station interval
using specified swath widths. These sections are then plotted, individually for a station, or as
.a group for a range of stations
A section is a cross section of one or more surfaces along a sample line. A series of sections
.can be used to analyze the changes in a surface along a path
= dStationID
dLeftSwathLenghth = 30#
End If
Sample lines are line segments placed along an alignment, usually perpendicular to the
alignment path and at regular intervals. Sample lines represent the location and orientation
.of surface cross sections that can be studied through section views
Sample lines are created in groups. All sample line groups for an alignment are held in the
.AeccAlignment.SampleLineGroups collection
Set section view band style set for the section view'
End If
A section view is a graph of a single sample line’s sections. Each sample line contains a
collection of section views in its AeccSampleLine.SectionViews property. To create a new
section view, use the AeccSectionViews.Add method, which takes as parameters the name
of the new section view, the layer to draw to, the location, the style of the view, and an
optional data band set. Each section view is automatically constructed to display the
sections at that sample line in the center of an appropriately sized graph. As each sample
line may have different lengths and represent different surface altitudes, each section view
.may be different in size or in what units are displayed along each graph axis
A corridor model builds on and uses various Autodesk Civil 3D objects and data, including
subassemblies, assemblies, alignments, surfaces, and profiles. Corridor objects are created a
baseline (alignments) by placing a 2D section (assembly) at incremental locations and by
creating matching slopes that reach a surface model at each incremental location
A corridor represents a path, such as a road, trail, railroad, or airport runway. The geometry
of a corridor is defined by a horizontal alignment and a profile. Together, these form the
baseline - the centerline of the 3D path of the corridor. Along the length of the baselines are
a series of assemblies which define the cross-sectional shape of the alignment. Common
points in each assembly are connected to form feature lines. Together the assemblies and
feature lines form the 3D shape of a corridor. A corridor also has one or more surfaces which
can be compared against an existing ground surface to determine the amount of cut or fill
.required
You can develop Visual Basic for Applications (VBA) scripts to define custom subassemblies
that provide specific behavior. The actions that occur when a subassembly is used in an
assembly, and when subassemblies are processed during corridor creation, are specified
through VBA scripts. The Autodesk Civil 3D COM API includes objects, methods, and
properties specifically designed to provide an interface to assemblies and corridor models
.for subassembly VBA scripts
Each subassembly should have a separate module in the VBA library, where the module
name matches the subassembly name. For example, the subassembly “adskRailType01” is
.”executed by the subroutines in a module that is also called “adskRailType01
There are several standard subroutines that must be implemented for each subassembly
within its module. These subroutines are described below for a sample subassembly called
.adskRailType01
>Catalog< .1
>/"}ItemID idValue="{410D0B43-19B3-402F-AB41-05A6E174AA3F< .2
>Properties< .3
>Images< .5
>Images/< .7
>AccessRight>0</AccessRight< .8
Description>This catalog contains Subassembly tools for corridor modeling with Imperial < .9
>units.</Description
You can create an Autodesk tool catalog to organize groups of customized subassemblies
.and make them available to AutoCAD Civil 3D users
Autodesk tool catalogs are defined using xml-formatted files with an .atc (Autodesk Tool
Catalog) extension. You also need to create a catalog registry file since catalogs must be
registered in the Windows registry. Some items within the .atc and registry files must
.)contain unique identifiers known as GUIDs (Global Unique Identifiers
AeccBaseline.AddStation
AeccBaseline.DeleteStation
AeccCorridors.Add
AeccCorridor.AddBaseline
!New
Function to set up the Civil 3D Survey application, document and database object '
"sAppName = "AeccXUiSurvey.AeccSurveyApplication
GetCivilObjects = False
Exit Function
End If
End Function
Applications that perform survey operations require appropriate versions of the base objects
representing the application and document. The AeccSurveyApplication object is identical to
the AeccApplication it is inherited from except that its
AeccSurveyApplication.ActiveDocument property returns an object of type
AeccSurveyDocument instead of AeccDocument. The AeccSurveyDocument object contains
collections of survey related items, such as projects and equipment databases in addition to
.all of the methods and properties of AeccDocument
When using survey root objects, be sure to reference the “Autodesk Civil Engineering Survey
5.0 Object Library” (AeccXSurvey.tlb) and “Autodesk Civil Engineering UI Survey 5.0 Object
.Library” (AeccXUISurvey.tlb) libraries
If oSurveyProjs.Count = 0 Then
Else
If oNetworks.Count = 0 Then
A project is the high-level construct that contains collections of networks and figures, and
provides access to survey points. The collection of all projects in a document are held in the
-
.Aeccsurveydocument.property
Once created, a project cannot be removed from this collection. When a new project is
.created, a unique guid identifying the project is generated
.Draw a line 30 meters long at 10 degrees from the major axis '
oFigure.AddLineByAzimuthDistance , 30
A collection of all figures in the survey database are stored in the AeccSurveyProject.Figures
.property. New figures are made using the collection’s Create() method
Each line added to a figure is drawn from the endpoint of the previous line or arc. The new
line can be drawn to a particular point location, for a distance along an absolute azimuth, or
.for a distance along an azimuth relative to the direction of the previous line
AddLineByPoint adds a line to the figure to the specified point location. An optional
parameter can specify a survey point to reference so that whenever it changes the figure
.vertex will change as well
AddLineByAzimuthdistance adds a line to the figure of the specified length and of the
.specified angle from the survey project’s major axis
Adding lines and arcs to a figure changes the survey database but does not automatically
change the drawing. After adding elements to the figure use
AeccSurveyFigure.AddToDrawing method to make them visible and editable through the
.user interface
oFig.Save
oFig.AddToDrawing
ThisDrawing.Application.ZoomExtents
Pipe Network 49
A pipe network object manages a collection of pipe objects and structure objects that are
.associated with each other to represent a pipe system
Typically, the pipes and structures are connected to each other, forming a single pipe run or
pipe network. The pipe and structure objects in a pipe network are typically associated with
an alignment, and/or a surface(s), which provide them with station offset and elevation
.data
The pipe network object is used as the container object to associate pipes and structures
that are part of the same pipe run or pipe network. A pipe network typically contains pipe
.objects and structure objects
Pipe 50
A pipe object is a drawing shape that represents straight or curved pipes used in utility
networks, such as sewer and irrigation systems. In a drawing, the three-dimensional pipe
shape is defined by: 1) the two-dimensional Part Shape (circular, elliptical, egg-shaped, or
rectangular) of the pipe part that is selected from the part catalog; and 2) by specifying a
linear path (for straight piped) or a curved path (for curved piped). Object names for pipes
are not displayed in the Prospector tree. They are, however, displayed in the Prospector list
.view when you click Pipes under a pipe network in the Prospector tree
Structure 51
A structure object is a drawing shape that is used to represent items, such as manholes,
catch basins, and headwalls, used in utility networks. Structure shapes are inherently more
complex than pipe shapes. In a drawing, the three-dimensional structure shape is defined by
the definition of the structure part that is selected from the part catalog. Like pipes, object
names for structures are not displayed in the Prospector tree. They are, however, displayed
in the Prospector list view when you click Structures under a pipe network in the Prospector
.tree
Set AeccPipeApp =
)"ThisDrawing.Application.GetInterfaceObject("AeccXUiPipe.AeccPipeApplication
Applications that access pipe networks require special versions of the base objects
representing the application and document. The AeccPipeApplication object is identical to
the AeccApplication it is inherited from except that its AeccPipeApplication.ActiveDocument
property returns an object of type AeccPipeDocument instead of AeccDocument. The
AeccPipeDocument object contains collections of pipe related items, such as pipe networks,
pipe styles, and interference checks in addition to all of the methods and properties of
.AeccDocument
When using pipe root objects, be sure to reference the “Autodesk Civil Engineering Pipe 5.0
Object Library” (AeccXPipe.tlb) and “Autodesk Civil Engineering UI Pipe 5.0 Object Library”
.(AeccXUIPipe.tlb) libraries
Create Pipe Network ' set the reference alignment and surface 53
To create Network, you should get the networks through AeccPipeDocument firstly, then
use add method to create it or use Item method to return it by inputting the name
End If
oNetwork.ReferenceAlignment = oAlign
oNetwork.ReferenceSurface = oSurface
A pipe network is a set of interconnected or related parts. The collection of all pipe networks
are held in the AeccPipeDocument.PipeNetworks property. A pipe network, an object of
type AeccPipeNetwork, contains the collection of pipes and the collection of structures
which make up the network. AeccPipeNetwork also contains the method
AeccPipeNetwork.FindShortestNetworkPath for determining the path between two network
.parts
To create Network, you should get the networks through AeccPipeDocument firstly, then
use add method to create it or use Item method to return it by inputting the name
After we get or create the network object, we can create pipe or structure object, before we
do this we should return the PartFamilyGuid and PartSizeFilter to prepare for the creation.
:Just like the following code
sPipeGuid = oPartFamily.GUID
Exit For
End If
Next
Pipe objects represent the conduits of the pipe network. Pipes are created using the pipe
network’s AeccPipeNetwork.Pipes collection. This collection has methods for creating either
straight or curved pipes. Both methods require you to specify a particular part family (using
the GUID of a family) and a particular part size filter object as well as the starting and ending
points of the pipe. The order of the start and end points may have meaning in describing
.flow direction
Structures represent physical objects such as manholes, catch basins, and headwalls.
Logically, structures are used as connections between pipes at pipe endpoints. In cases
where two pipes connect directly, an AeccStructure object not representing any physical
object is still created to serve as the joint. Any number of pipes can connect with a structure.
Structures are represented by objects of type AeccStructure, which are created by using the
.Add method of the Surfaces collection of AeccPipeNetwork
This slide shows code snippet to 'Add a new structure to the network:' , 'Add a new Pipe to
':the network
Go through the current drawing to print the main properties of the pipe or structure object
:information
)(Sub outputPipeInfo
ThisDrawing.Utility.Prompt (vbCrLf & "Start point:(" & oPipe.StartPoint.X & "," &
)")" & oPipe.StartPoint.Y & "," & oPipe.StartPoint.Z
ThisDrawing.Utility.Prompt (vbCrLf & "End point:(" & oPipe.EndPoint.X & "," &
)")" & oPipe.EndPoint.Y & "," & oPipe.EndPoint.Z
Dim dSlope As Double
End If
Next
End Sub
This slide shows code snippet to extract the Pipe & Structure properties which could be used
.to a report generation
AeccPipeNetworkLabelStyles
AeccPipeLabelStyles
AeccStructureLabelStyles
!New
A C++ API used to enhance / supplant existing graphics for customized display
.A C++ API used to enhance / supplant existing graphics for customized display
)AeccCustomDraw.setAlignmentDraw(AlignmentCallbackFunction
During object draw, the callback function is called with an interface pointer for the object as
well as an anonymous block
////
Return true, if you want Civil 3D to draw the block, false otherwise
Using the object you calculate the graphics to draw an add them to the anonymous block
)(instead of Modelspace
--- Principle
During object draw, the callback function is called with an interface pointer for the object as
- well as an anonymous block
pAnonymousBlock: Pointer to the anonymous block containing custom graphics that you //
.want drawn with the alignment
}
Return true, if you want Civil 3D to draw the block, false otherwise
Using the object you calculate the graphics to draw an add them to the anonymous block
)(instead of Modelspace
- Procedure
Build an ARX-application that links with the AeccCustomDrawNN.lib library (NN is the Civil
)3D module version number
When the AcRx::kInitAppMsg message is received, register one or more draw callbacks using
.the appropriate method(s) on the AeccCustomDraw object
When one of your application's callbacks is called during the draw of a Civil 3D object, you
can add data to be drawn with the object by using the various Add methods on the
IAcadObject interface for the anonymous block that is passed to the callback
Your callback will also receive an interface pointer for the object that is currently being
drawn. Use the read-only methods on the received IAeccXXX interface to read data about
the object to help in your draw. Do NOT attempt to write to the IAeccXXX interface
Finally, have your callback return true if you want Civil 3D to draw the contents of the
anonymous block and false if you don't
NET Subassemblies. 60
!New
The default subassemblies included with Civil 3D 2008 are now created using .NET
.framework
The default subassemblies included with Civil 3D 2008 are now created using .NET
.framework
NET Subassemblies. 61
!New
.To maintain backward compatibility, VBA subassemblies are also supported in Civil 3D 2008
.To maintain backward compatibility, VBA subassemblies are also supported in Civil 3D 2008
When you plan to design Custom Subassemblies, there are certain steps you will have to
.....follow which include - Naming Custom Subassemblies, Attachment and Insertion
Most subassembly components have a single point of attachment and extend in one
direction or the other from that point. However, there are some exceptions to this general
.rule
Determine which of the geometric dimensions, behavior, and methodology will be hard-
.coded into the subassembly, and which will be controlled by user-defined input parameters
Custom Subassembly in a Help file. The same help file can be displayed
.From a Tool Palette - Right-click a subassembly in a tool palette, then click Help
.From a Tool Catalog - Right-click a subassembly in a tool catalog, then click Help
From the Subassembly Properties dialog box Parameters tab - Right-click a subassembly in
.the Prospector tree, then click Properties Parameters tab Subassembly Help
)You can use any type of document file (.dwf, .doc, .pdf, .txt, .chm, .hlp
to create the subassembly help file. For more information, see Creating
.Customized Help in the AutoCAD Developer Help
The help file content and style should be similar to that in the AutoCAD Civil 3D Corridor
.Modeling subassembly help
Refer to Help file topic 'Creating Subassembly Help Files' which discusses the sections that
should be included, as a minimum, in subassembly help files. This information is required so
.that users understand the subassembly behavior and intended use
There are three important aspect we need to understand when we talk about the structure
.of a subassembly OR a custom subassembly
!New
.)Descriptions of these overrideable Methods are listed in this table (refer to Help file
You can also use the two support files CodeSpecific.vb and Utility.vb in your
.subassembly
.information filled
,For example, to report a “parameter not found” error to the Civil event viewer
CodeSpecific.vb provides the CodeType and AllCodes structures and the global variable Code
.- an instance of an AllCodes structure with all code information filled
Utility.vb provides a series of shared helper functions for error handling, computing
subassembly geometry, attaching code strings, and other tasks. For example, to report a
:“parameter not found” error to the Civil event viewer, use the following line
!New
Imports System.Math
Imports Autodesk.AutoCAD.DatabaseServices
Imports Autodesk.Civil.Corridor
Imports Autodesk.Civil
Imports Autodesk.Civil.Alignment
Imports Autodesk.Civil.Profile
= Imports DBTransactionManager
Autodesk.AutoCAD.DatabaseServices.TransactionManager
API\C3DstockSubAssemblies
Copy the compiled subassembly .dll library to its destination directory. By default, libraries
.are located in C:\Program Files\Autodesk Civil 3D 2008\Data\Models
Copy the tool catalog .atc files to its destination directory. The tool catalog files are normally
located in the C:\Documents and Settings\All Users\Application Data\Autodesk\C3D
.2007\enu\Tool Catalogs directory
Copy optional files such as the image file representing the subassemblies or the help file to
.their destination directory
Copy the catalog cover page .html file to its destination. Usually this is the same location as
the .atc file, although it can be any directory as long as the .atc file has the correct relative
.path information
Register the tool catalog using a registry (.reg) file. This .reg file must have the correct paths
.)to the .atc file and the catalog image file from steps 2) and 3
Civil 3D site
Thank You 71
Similar presentations
GeoPak Ver Update New Criteria Enhancements since last year. Using Backslope Override
)and the Backslope Constraint Line(BCL
Chapter 3 Advanced Wall Features. Objectives Create and modify a wall style Change the
.style of a wall Control the display properties of wall components
Chapter 4 Space Planning and Mass Modeling. Objectives Create and modify 2D Extrusion
.and Freeform spaces using the SpaceGenerate and SpaceAdd tools Divide
Chapter 5 Creating and Editing Drawing Views. After completing this chapter, you will be
.able to – Understand drawing options – Create and edit drawing
Presented By: Chuck Lawson, PE Paving the Way for Roadway Designer in GEOPAK V8 i
)(SELECTseries 1
The main tools and functions of the system can be accessed via this side bar Allometric
.equations editor can be accessed under utilities, and user
Autodesk CI4073: Wholly Sheets Batman! Plotting in AutoCAD® Civil 3D Seth Cohen 2011 ©
.CAD Management Resources Inc. CAD Applications Specialist Autodesk
Chapter 5: Introduction To Form Builder. 2 Forms Why Do We Use Form Builder? Why 1
!?Don’t We Use SQL Only
.Copyright - Planchard 2012 SolidWorks Basic Concepts Stephen H. Simmons TDR 200
Chapter 5 Creating and Editing Drawing Views. After completing this chapter, you will be
.able to – Understand drawing options – Create and edit drawing
Autodesk 1 Autodesk Civil 3D – WW Education AutoCAD Civil 3D 2008 “How Do I…?” 2005 ©
.Sanjay Asnani, PE
Autodesk Navigating Through the Corridor using AutoCAD® Civil 3D®.NET API 2011 ©
.Augusto Goncalves Senior Developer Consultant at Autodesk
?Autodesk Confidential Information November 2010 What’s New in the Inventor 2012 API 1
Automating Tasks with Visual Basic. Introduction When can’t find a readymade macro
.action that does the job you want, you can use Visual Basic code
Lesson No:9 MS-Word Tools, Mail Merge and working with Tables CHBT-01 Basic Micro
.process & Computer Operation
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and
.explore common elements Use the Ribbon Work with files Use
PROGRAMMING IN VISUAL BASIC.NET VISUAL BASIC BUILDING BLOCKS Bilal Munir Mughal 1
.Chapter-5
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and
.explore common elements Use the Ribbon Work with files Use
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic
.6.0 and Visual Basic.NET are the latter’s support for true object-oriented
Chapter 8 iComponents and Parameters. After completing this chapter, you will be able to
.perform the following: –Create iMates –Change the display of
Chapter 5 Creating and Editing Drawing Views. After completing this chapter, you will be
.able to perform the following: –Create base and projected drawing
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway
.Coalition Member
Chapter 5 Creating and Editing Drawing Views. After completing this chapter, you will be
.able to perform the following: –Understand drawing options –Create
th Tuesday – CAD Training Call-in Info: (865) , PIN: Topic – InRoads XM: Updates Getting 4
.updated/new styles and preferences into an
Chapter 13: AutoCAD DesignCenter. After completing this Chapter, you will be able to use
.the following: Overview of DesignCenter Container, Content Type
Chapter 11: Block References and Attributes. After completing this Chapter, you will be able
.to use the following features: Create and insert block references
Bentley Systems, Incorporated Moving to Civil V8i Select Series 3 Robert Garrett, 2012 ©
.Bentley Systems Inc. Product Manager
Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer 3
.Environment
.By Paul Richard and Jim Fitzgerald Chapter 18 – Drawing Management Tools and Utilities
Word Create a basic TOC. Course contents Overview: table of contents basics Lesson 1:
.About tables of contents Lesson 2: Format your table of contents
Computer – Aided Design Terminology You must have a generic understanding of commands
.and techniques which are used in a number of packages (YOU CANNOT
Chapter 6: Creating Oracle Data Block Forms. 2 Forms Application with a graphical user 1
,interface that looks like a paper form Used to insert, update
Similar presentations
Working in the Forms Developer Environment
Welcome to E-Prime E-Prime refers to the Experimenter’s Prime (best) development studio
.for the creation of computerized behavioral research. E-Prime is
Exploring the Power of EPDM Tasks Working with and Developing Tasks in SolidWorks
Enterprise PDM (EPDM) By: Marc Young xLM Solutions
About project
SlidePlayer
Terms of Service
Feedback
Privacy Policy
Feedback
Search