Imports an Assembly object from a database with the name of source assembly.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public ObjectId ImportAssembly( string assemblyName, Database sourceDatabase, string sourceAssemblyName, Point3d location )
VB
Public Function ImportAssembly ( assemblyName As String, sourceDatabase As Database, sourceAssemblyName As String, location As Point3d ) As ObjectId
C++
public: ObjectId ImportAssembly( String^ assemblyName, Database^ sourceDatabase, String^ sourceAssemblyName, Point3d location )
Parameters
- assemblyName String
- Name of the imported assembly object.
- sourceDatabase Database
- The source database.
- sourceAssemblyName String
- The source assembly name.
- location Point3d
- Location of the imported Assembly.
Return Value
ObjectIdReturns an ObjectId of Assembly object.
Exceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|