Imports a stock Subassembly object with its class name.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.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
Exceptions
Exception | Condition |
---|
[!:System.ArgumentException] |
Thrown when:
- The subassemblyName is invalid or an Subassembly with the name is already existing.
- The className is empty.
|
See Also