OffsetAssemblyCopySubassembly(ObjectId, Point) Method |
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.8.0.292
Syntaxpublic ObjectId CopySubassembly(
ObjectId subassemblyIdFrom,
Point pointHookTo
)
Public Function CopySubassembly (
subassemblyIdFrom As ObjectId,
pointHookTo As Point
) As ObjectId
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
ObjectId
The ObjectId of the newly created subassembly.
ExceptionsException | Condition |
---|
[!:System.ArgumentException] |
Thrown when:
- The specified ObjectId to be copied is not a subassembly id, from another data base or not in an assembly.
- The specified point is not a point of subassembly in the offset assembly.
|
See Also