Imports a Subassembly object from an atc file specified by its itemId.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public ObjectId ImportSubassembly( string subassemblyName, string atcFilePath, string itemId, Point3d location )
Visual Basic
Public Function ImportSubassembly ( _ subassemblyName As String, _ atcFilePath As String, _ itemId As String, _ location As Point3d _ ) As ObjectId
Visual C++
public: ObjectId ImportSubassembly( String^ subassemblyName, String^ atcFilePath, String^ itemId, Point3d location )
Parameters
- subassemblyName
- Type: System.String
Subassembly Name used to create subassembly.
- atcFilePath
- Type: System.String
File path of the atc file.
- itemId
- Type: System.String
The itemId of the Subassembly in atc file. It should not include the brackets.
- location
- Type: Point3d
The location of the new created subassembly.
Exceptions
Exception | Condition |
---|---|
[!:System.ArgumentException] |
Thrown when:
|