AssemblyCollectionAdd(String, AssemblyType, Point3d) Method |
Adds an Assembly object to the AssemblyCollection.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic ObjectId Add(
string assemblyName,
AssemblyType type,
Point3d location
)
Public Function Add (
assemblyName As String,
type As AssemblyType,
location As Point3d
) As ObjectId
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
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when assemblyName is invalid.
|
See Also