Adds an Assembly object to the AssemblyCollection.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public ObjectId Add(
	string assemblyName,
	AssemblyType type,
	Point3d location
)
Visual Basic
Public Function Add ( _
	assemblyName As String, _
	type As AssemblyType, _
	location As Point3d _
) As ObjectId
Visual C++
public:
ObjectId Add(
	String^ assemblyName, 
	AssemblyType type, 
	Point3d location
)

Parameters

assemblyName
Type: System..::..String
Name of the Assembly to be created.
type
Type: Autodesk.Civil.DatabaseServices..::..AssemblyType
AssemblyType of the Assembly to be created.
location
Type: Point3d
Location of the created Assembly.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when assemblyName is invalid.

See Also