Imports an Assembly object from an atc file specified by its itemId.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public ObjectId ImportAssembly( string assemblyName, string atcFilePath, string itemId, Point3d location )
Visual Basic
Public Function ImportAssembly ( _ assemblyName As String, _ atcFilePath As String, _ itemId As String, _ location As Point3d _ ) As ObjectId
Visual C++
public: ObjectId ImportAssembly( String^ assemblyName, String^ atcFilePath, String^ itemId, Point3d location )
Parameters
- assemblyName
- Type: System.String
Name of the imported assembly object.
- atcFilePath
- Type: System.String
File path of the atc file.
- itemId
- Type: System.String
The itemId of the Assembly in atc file. It should not include the brackets.
- location
- Type: Point3d
Location of the imported Assembly.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Thrown when:
|