Share

AssemblyCollection.Add(String, AssemblyType, Point3d) Method

Adds an Assembly object to the AssemblyCollection.



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

Syntax

C#

public ObjectId Add(
	string assemblyName,
	AssemblyType type,
	Point3d location
)

VB

Public Function Add ( 
	assemblyName As String,
	type As AssemblyType,
	location As Point3d
) As ObjectId

C++

public:
ObjectId Add(
	String^ assemblyName, 
	AssemblyType type, 
	Point3d location
)

Parameters

assemblyName  String
Name of the Assembly to be created.
type  AssemblyType
AssemblyType of the Assembly to be created.
location  Point3d
Location of the created Assembly.

Return Value

ObjectId

Exceptions

ExceptionCondition
ArgumentException Thrown when assemblyName is invalid.

See Also

Reference

Was this information helpful?