OffsetAssemblyInsertSubassemblyAfter Method

Inserts an unassigned subassembly after a subassembly in the offset assembly and hooks to the specified point.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public void InsertSubassemblyAfter(
	ObjectId subassemblyId,
	Point pointHookTo
)

Parameters

subassemblyId  ObjectId
The ObjectId of the source subassembly to be added.
pointHookTo  Point
The point to be hooked to.
Exceptions
ExceptionCondition
[!:System.ArgumentException] Thrown when:
  • The specified ObjectId to be inserted is not an unassigned subassembly id, or from another data base.
  • The specified point is not a point of the subassembly in the offset assembly.
Remarks
This method also can be used to insert a subassembly after the subassembly to which no subassembly is hooked.
See Also