Copies a subassembly to the offset assembly and hooks to the specified point of a subassembly.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public ObjectId CopySubassembly( ObjectId subassemblyIdFrom, Point pointHookTo )
Visual Basic
Public Function CopySubassembly ( _ subassemblyIdFrom As ObjectId, _ pointHookTo As Point _ ) As ObjectId
Visual C++
public: ObjectId CopySubassembly( ObjectId subassemblyIdFrom, Point^ pointHookTo )
Parameters
- subassemblyIdFrom
- Type: ObjectId
The ObjectId of the source subassembly to be copied.
- pointHookTo
- Type: Autodesk.Civil.DatabaseServices.Point
The point to be hooked to.
Return Value
The ObjectId of the newly created subassembly.Exceptions
Exception | Condition |
---|---|
[!:System.ArgumentException] |
Thrown when:
|