Share

Assembly.InsertSubassemblyAfter Method

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



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

Syntax

C#

public void InsertSubassemblyAfter(
	ObjectId subassemblyId,
	Point pointHookTo
)

VB

Public Sub InsertSubassemblyAfter ( 
	subassemblyId As ObjectId,
	pointHookTo As Point
)

C++

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 assembly.

Remarks

This method also can be used to insert a subassembly after the subassembly to which no subassembly is hooked.

See Also

Reference

Was this information helpful?