Mirrors a subassembly to the assembly and hooks to the specified point of a subassembly.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public ObjectId MirrorSubassembly(
	ObjectId subassemblyIdFrom,
	Point pointHookTo
)
Visual Basic
Public Function MirrorSubassembly ( _
	subassemblyIdFrom As ObjectId, _
	pointHookTo As Point _
) As ObjectId
Visual C++
public:
ObjectId MirrorSubassembly(
	ObjectId subassemblyIdFrom, 
	Point^ pointHookTo
)

Parameters

subassemblyIdFrom
Type: ObjectId
The ObjectId of the source subassembly to be mirrored.
pointHookTo
Type: Autodesk.Civil.DatabaseServices..::..Point
The point to be hooked to.

Return Value

The ObjectId of the newly created subassembly.

Exceptions

ExceptionCondition
[!:System.ArgumentException] Thrown when:
  • The specified ObjectId to be mirrored is not a subassembly id, from another data base or not in an assembly.
  • The specified point is not a point of the subassembly in the assembly.

See Also