Imports a stock Subassembly object with its class name.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public ObjectId ImportStockSubassembly( string subassemblyName, string className, Point3d location )
Visual Basic
Public Function ImportStockSubassembly ( _ subassemblyName As String, _ className As String, _ location As Point3d _ ) As ObjectId
Visual C++
public: ObjectId ImportStockSubassembly( String^ subassemblyName, String^ className, Point3d location )
Parameters
- subassemblyName
- Type: System.String
Subassembly Name used to create subassembly.
- className
- Type: System.String
Class name of the subassembly.
- location
- Type: Point3d
The location of the new created subassembly.
Remarks
It will import the corresponding subassembly according to the drawing unit settings.
Exceptions
Exception | Condition |
---|---|
[!:System.ArgumentException] |
Thrown when:
|