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